Advertisement
Thefrozen106

MY MORON SCRIPT

Aug 1st, 2016
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. game.Lighting:SetMinutesAfterMidnight(10 * 60)
  2.  
  3.  
  4.  
  5. number = 0
  6. while true do
  7. number = number + 1
  8. print(number)
  9. wait(1)
  10. end
  11.  
  12.  
  13. minutesAfterMidnight = 0
  14. while true do
  15. minutesAfterMidnight = minutesAfterMidnight + 1
  16. game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight)
  17. wait(.1)
  18. end
  19.  
  20.  
  21. lightPart = game.Workspace.LightPart
  22. minutesAfterMidnight = 0
  23. while true do
  24. minutesAfterMidnight = minutesAfterMidnight + 10
  25. game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight)
  26.  
  27. if game.Lighting:GetMinutesAfterMidnight() == 6 * 60 then
  28. lightPart.Material = Enum.Material.Plastic
  29. lightPart.PointLight.Enabled = false
  30. end
  31.  
  32. wait(0.1)
  33. end
  34.  
  35.  
  36.  
  37. lightPart = game.Workspace.LightPart
  38. minutesAfterMidnight = 0
  39.  
  40. while true do
  41. minutesAfterMidnight = minutesAfterMidnight + 10
  42. game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight)
  43. wait(0.1)
  44.  
  45. if game.Lighting:GetMinutesAfterMidnight() == 6 * 60 then -- checks for 6AM
  46. lightPart.Material = Enum.Material.Plastic
  47. lightPart.PointLight.Enabled = false
  48. end
  49. if game.Lighting:GetMinutesAfterMidnight() == 18 * 60 then -- checks for 6PM
  50. lightPart.Material = Enum.Material.Neon
  51. lightPart.PointLight.Enabled = true
  52. end
  53. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement