I want to make a part change colors randomly every 0.6 seconds. My code is not working and I don't know what is causing the script to fail. I'm new to scripting, I'm trying to learn. Please take a look at my code below.
`~~~~~~~~~~~~~~~~~ Disco = script.Parent
function randomColor() Disco.BrickColor:Random() wait(0.6) Disco.BrickColor:Random() wait(0.6) end
while true do randomColor() end
`

1 comment
Thank you! Worked perfectly! :)