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

[SOLVED] How to code a color changing brick script?

Figured how to fix it i was missing the "Color"...

local Blue = script.Parent

while true do
Blue.Color = Color3.fromRGB(255, 0, 0)
wait(1)
Blue.Color = Color3.fromRGB(234, 255, 0)
wait(1)
Blue.Color = Color3.fromRGB(0, 16, 176)
wait(1)
end

2 answers

✓ Accepted answer

Change "script.Parent" on your variable to "script.Parent.Color" I know someone already answered this, but it's faster than doing Blue.Color.

1 comment

0

Are you sure?

You have to change the Color property of Blue, not Blue itself.

Blue.Color = Color3.fromRGB()

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