Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a script where it changes the time?

Asked by 10 years ago

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

Log in to vote
1
Answered by
Sublimus 992 Moderation Voter
10 years ago

You can continually add time by doing this:

while true do
wait(1)
game.Lighting:SetMinutesAfterMidnight(game.Lighting:GetMinutesAfterMidnight + 1)
end
Ad
Log in to vote
-2
Answered by 10 years ago

Here you go

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

Answer this question