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

Script that makes a brick transition color not working?

I am trying to make is so that a brick switches between two colours but it's not working

brick = script.Parent
while true do
brick.BrickColor = BrickColor("Bright Orange")
wait(0.5)
brick.BrickColor = BrickColor("Neon Orange")
end

i would also appreciate it if someone could tell me how to make it fade between the colors instead of switching

2 comments

0

also if you want to make it fade you have to have a RGB Script thing i dont know yet

1 answer

✓ Accepted answer

Use

brick = script.parent
while true do
brick.brickcolor = brickcolor.new("Bright Orange")
wait(0.5)
brick.brickcolor = brickcolor.new("Neon Orange")
end

to change it to a specifi color use .new

2 comments

0

you need to add another wait after line 5

0

ok thank you

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