I'm new to scripting.
How do I make my script repeat and not end?
The script is supposed to change color and stay changing color when touched by the ROBLOXian.
Here the script:
function touch()
script.Parent.BrickColor=BrickColor.Random()
wait(.1)
end
script.Parent.Touched:connect(touch) |