Brick = game.Workspace.Part
while true do Brick.BrickColor = BrickColor.Red() wait(5) Brick.BrickColor = BrickColor.Gray() end
What I want it to do is to Make the brick red, then gray, then red, then gray, etc. Im not sure if im using the correct type of loop. Is my first time using a loop and I don't really understand the difference between the 3 types.
Must have been syntax errors
local brick = game.Workspace.Part while true do brick.BrickColor = BrickColor.Red(); wait(5) brick.BrickColor = BrickColor.Gray() wait(5) end
http://wiki.roblox.com/index.php?title=Loops