I looked on the wiki, there was an article on "Loops", but I couldn't get it to work. Anyways, here is the script I tried:
for i = 1, math.huge do
game.Workspace.Part1.BrickColor = "Bright red"
wait(1)
game.Workspace.Part2.BrickColor = "Bright red"
game.Workspace.Part1.BrickColor = "Black"
wait(1)
game.Workspace.Part3.BrickColor = "Bright red"
game.Workspace.Part2.BrickColor = "Black"
wait()
break
end
