Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I fix this error with changing the gui color?

this script is inside a textlabel

script.Parent.TextColor3 = Color3.new("Really red")

how to fix it? it errors

1 answer

✓ Accepted answer

What you tried to do is replace BrickColor in BrickColor.new("Really red") with Color3 because it probably returned an error when you tried to do TextColor3 = BrickColor.new("Really red") What you need to do is:

script.Parent.TextColor3 = Color3.fromRGB(255,0,0)

or

script.Parent.TextColor3 = BrickColor.new("Really red").Color

To convert it to color3. If this helped you, feel free to like and accept this answer!

1 comment

0

that worked, ty!

This discussion is preserved as it was. New answers, comments, and votes are closed.