a = game.Workspace.test.PointLight wait(4) a.Color = Color3.new(1, 0, 0) wait(2) a.Color = Color3.new(1, .156, 0) wait(2) a.Color = Color3.new(1,1,0) wait(2) a.Color = Color3.new(.34,1,0) wait(2) a.Color = Color3.new(0,.12,1) wait(2) a.Color = Color3.new(1,0,1)
thanks, -bb1
while true do --code end
This will make your code loop an infinite amount of times. For more information, go here: http://wiki.roblox.com/index.php?title=Loops#While
The coding would look like this:
while true do a = game.Workspace.test.PointLight wait(4) a.Color = Color3.new(1, 0, 0) wait(2) a.Color = Color3.new(1, .156, 0) wait(2) a.Color = Color3.new(1,1,0) wait(2) a.Color = Color3.new(.34,1,0) wait(2) a.Color = Color3.new(0,.12,1) wait(2) a.Color = Color3.new(1,0,1) end