How to make this kind of text

I saw this game has a custom health bar which has the left part of the text in white and the right in grey? How did they do this since you cannot multi color

image

It might be two separate text sections.

1 Like

Probably that game used RichText

screenshot

local TextLabel = script.Parent

TextLabel.Text = [[<font color="rgb(248, 248, 248)">200</font>]] .. [[<font color="rgb(159, 161, 172)">|200</font>]]
1 Like

You can multi-color using UI gradient, actually.

thank you i have just figured it out! if you can please check this out i have been struggling with this for months