Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = owner
- light = game.Lighting
- function night()
- light.ClockTime = "0"
- light.OutdoorAmbient = Color3.new(0, 0, 0)
- light.Brightness = 0
- light.ColorShift_Bottom = Color3.new(0, 0, 0)
- light.ColorShift_Top = Color3.new(0, 0, 0)
- end
- function day()
- light.ClockTime = "17"
- light.FogEnd = 100000000000
- light.FogStart = 0
- light.FogColor = Color3.new(0, 0, 0)
- light.OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
- light.Brightness = 1
- end
- plr.Chatted:connect(function(msg)
- if msg == "/time set night" then
- night()
- end
- if msg == "/time set day" then
- day()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement