Hello, I’ve been trying to use rich text with a script, similar to this:
textLabel.Text = "This is sample code with <font color=rgb(255, 255, 255)> an example </font> of what I'm trying to do."
wait(1)
textLabel.Text = "You get the point, <font color=rgb(0, 19, 129)> of this </font>"
Problem is, it doesn’t show up with the text being the color I want to, it completely ignores it and the text label instead is something like “This is sample code with <font color=rgb…” and keeps in all the symbols. What’s the syntax, if any, of changing text with features from rich text using a script?
This doesn’t work for me. It results in an error, “attempt to call a nil value.” I’m assuming it’s resulted by rgb(255, 255, 255) not being in some type of grouping or quotes.