Advertisement
HenloMyDude

minecraftceeemaaandblocknightdaychangelol

Aug 13th, 2019
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1.  
  2. plr = owner
  3.  
  4. light = game.Lighting
  5.  
  6. function night()
  7. light.ClockTime = "0"
  8. light.OutdoorAmbient = Color3.new(0, 0, 0)
  9. light.Brightness = 0
  10. light.ColorShift_Bottom = Color3.new(0, 0, 0)
  11. light.ColorShift_Top = Color3.new(0, 0, 0)
  12. end
  13.  
  14. function day()
  15. light.ClockTime = "17"
  16. light.FogEnd = 100000000000
  17. light.FogStart = 0
  18. light.FogColor = Color3.new(0, 0, 0)
  19. light.OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
  20. light.Brightness = 1
  21. end
  22.  
  23. plr.Chatted:connect(function(msg)
  24. if msg == "/time set night" then
  25. night()
  26. end
  27. if msg == "/time set day" then
  28. day()
  29. end
  30. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement