Here my script
while true do script.Parent.BrickColor = BrickColor.new(0, 255, 0) wait(2) script.Parent.BrickColor = BrickColor.new(255, 0, 0) end
wait
call after it, so it instantly went to line 2 and made it seem like it didn't change. The fix is to add a call to the wait
function after line 4.while true do script.Parent.BrickColor = BrickColor.new(0, 255, 0) wait(2) script.Parent.BrickColor = BrickColor.new(255, 0, 0) wait(2) end