--good flashing

script.Parent.Color = randval1 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval3 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval1 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval3 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval1 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval3 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval2 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval4 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval2 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval4 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval2 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval4 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval5 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval6 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval5 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval6 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval5 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
script.Parent.Color = randval6 --Color3.new(math.random(), math.random(), math.random()) 
wait(0.5)
mode1()
end

function mode2()