Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How Do I make a Day/Night script?

How do i make a Day and Night script????

2 answers

Use this, the wait() defines how long each second lasts.

local L = game.Lighting

while true do
game.Lighting:setMinutesAfterMidnight(game.Lighting:getMinutesAfterMidnight()+1)
wait(0.1)
end

This discussion is preserved as it was. New answers, comments, and votes are closed.