I need this script so it will keep changing colors for infinity and don't have to keep clicking on the button.
function Clicked()
brick = game.Workspace
--Color part
brick.SurfacePart.Lights.LightPart1.BrickColor = BrickColor.random()
brick.SurfacePart.Lights.LightPart2.BrickColor = BrickColor.random()
brick.SurfacePart.Lights.LightPart3.BrickColor = BrickColor.random()
brick.SurfacePart.Lights.LightPart4.BrickColor = BrickColor.random()
wait(0.5)
brick.SurfacePart.Lights.LightPart1.PointLight.Color = Color3.random()
brick.SurfacePart.Lights.LightPart2.PointLight.Color = Color3.random()
brick.SurfacePart.Lights.LightPart3.PointLight.Color = Color3.random()
brick.SurfacePart.Lights.LightPart4.PointLight.Color = Color3.random()
end
script.Parent.MouseButton1Down:connect(Clicked)

7 comments
Wrong. Doesn't work
Wait LOL I MISPLACED MY END XD
Lel.
Just put the end Over the until
Like this? "end var==10"
No Like after the line that Until is in
Er, Its not repeating the random colors, You click on it and it changes colors only one time then breaks.