So I've been making a new server that includes levels as a statistic. I'm planning to have it display as a prefix in chat. I obviously know how to do that, but I want to put a twist on it:
I want the color of the level in the prefix to be hex codes according to what level is displayed. I've tried using SIN and COS functions to randomize the R G and B values to output a hex, but I had no luck. I was wondering if anyone has a script that does something like this or knows how to make one. It's a little advanced, but I'm hoping someone knows how!
Thanks to everyone in advance!
I want the color of the level in the prefix to be hex codes according to what level is displayed. I've tried using SIN and COS functions to randomize the R G and B values to output a hex, but I had no luck. I was wondering if anyone has a script that does something like this or knows how to make one. It's a little advanced, but I'm hoping someone knows how!
Thanks to everyone in advance!