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)
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
This is in a local script?
no