Here is my script:
while true do local BrickColo = BrickColor.Random() script.Parent.BrickColor = BrickColo wait(1) end
It worked perfectly but then after a few days it just started crashing my game!
Hold on... This script seems to be causing this. When I disable the script up there it still crashes and it blames it on another script... But when I disable this script:
while script.Parent.Value.Value == 1 do if script.Parent.ValueA.Value < 5 then wait(2) local ne = script.Parent.ClonePaer:Clone() ne.Parent = script.Parent.Modela ne.Anchored = false ne.Position = script.Parent.Position script.Parent.ValueA.Value = script.Parent.ValueA.Value + 1 end end
It all works perfectly.
while wait(1) do script.Parent.BrickColor = BrickColor:Random() end
:)