How do I use rich text inside a script?

			local textVar = Char.Name.." ".."Has".." "..killMessage[math.random(1, #killMessage)].." "..EnemyChar.Name

1 Like

Do it like you would do using the properties window, aka

TextLabel.Text = "<b> Bold! </b>"

but make sure to enable the RichText property first

4 Likes

image

like this?

1 Like

Yes, that should work just fine if RichText is enabled on the TextLabel

1 Like

start with <tag> then put text inside of it and then end with </tag>

1 Like