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 script where it changes the time?

I am thinking something like

while true do game.Workspace.Lighting.TimeOfDay = (01:34) end

Like adding more times to it I mean from those times

2 answers

You can continually add time by doing this:

while true do
wait(1)
game.Lighting:SetMinutesAfterMidnight(game.Lighting:GetMinutesAfterMidnight + 1)
end

Here you go

while true do game.Workspace.Lighting.TimeOfDay = (01:34) end------change (01:34) to the time u want

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