Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local minutesAfterMidnight = 6 * 60 --Change the six to any number up to 24
- while wait() do --Infinite loop
- game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight)--sets time of day to value of minutesAfterMidnight
- minutesAfterMidnight = minutesAfterMidnight + 1 -- Adds 1 to minutesAfterMidnight
- wait(1) --Change the speed of the day/night cycle
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement