everything looks fine but it wont work

script.Parent.MouseButton1Click:Connect(function()
game.Lighting.Ambient = Color3.new("1,0,0")
wait(3)
game.Lighting.Ambient = Color3.new("0,0,0")
end)

2 comments

0

This is in a local script?

0

no