Im new to scripting and am wanting to create a script that changes colors after 0.5 seconds. But the one I made seemed not to work? Can someone please tell me what I did wrong here?
local CB = script.Parent
CB.Color = BrickColor.Red()
wait(0.5)
CB.Color = BrickColor.Blue()
wait(0.5)
CB.Color = BrickColor.Green()
wait(0.5)
Thanks In advance

3 comments
Change CB.Color to CB.BrickColor
and change BrickColor. to BrickColor.new("Color here")
^ it can also be BrickColor.Red() too, just those are the default colors, by using the parenthesis, you get a wider range of colors.