This script is inside the ColorCorrection but its doesn't work. No error nothing. Yes the ColorCorrection is inside the lightning. Why is this not working?

wait(2)
script.Parent.Enabled = true
while true do
	script.Parent.TintColor = Color3.new(255/255, 0/255, 4/255)
	wait(0.2)
	script.Parent.TintColor = Color3.new(80/255, 106/255, 255/255)
	wait(0.2)
end

3 comments

0

Take out the .. replace them with .

0

No no sorry I forgot to delete them. I thats not the problem

0

And scripts don't work in lighting. put the script in SeverScriptService