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

Time updates locally instead of globally?

So, I have this day night cycle script, but for each player, the time is different. How would I make this script update for everybody?

minutesAfterMidnight = 0
while true do
	minutesAfterMidnight = minutesAfterMidnight + 0.125
	game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight)
	wait(.25)
end

--Each minute in game is two seconds in real life, resulting in 48 minute days.

1 answer

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