Make multicolor gui strings


I want to know how to make text in UI multicolored
an example would be where in the introduction of flicker where it says:

how would I do something like that, any help would be greatly appreaciated!

thanks in advance, biz.


You should use rich text,


for me rich text is broken, i did it all but after 100 iterations it still comes up with errors


Hmm, I have barely used rich text, so this is out of my league.

1 Like

The text format of richtext used in this text is:
In this game there is a <font color="rgb(0, 255, 0)"> good </font> and <font color="rgb(255, 0, 0)"> bad </font> side.

Result: image

You can use <font color="rgb(0, 255, 0)"> Colored Text Here </font> to make a specific text colored. Make sure you have set RichText value to true.

1 Like

it says ‘Unknown global ’rgb’

1 Like

It’s not a script line. Put it in the TextLabel/TextButton’s text. Not as a script.

1 Like

Well you can just seperate the good text and change it to green and the bad text to red

And it is not recommended to use RichText since it doesn’t work when you don’t play it in roblox studio

It does work on Roblox Studio. When I added the following text in text label, i could see the result right away.

It does work on Roblox Studio but not in roblox