Advertisement
jacksonwidgeon2

time of day script

May 1st, 2017
2,187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. local minutesAfterMidnight = 0
  2. while true do
  3. game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight) -- This line makes it loop the minutesAfterMidnight at the very top.
  4. minutesAfterMidnight = minutesAfterMidnight + 1
  5. wait(0.1)
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement