I'm trying to make a time script in the Lighting service that makes 1 minute of in-game time pass every 3 real-time seconds. For whatever reason, the TimeOfDay isn't changing at all, and the output isn't giving me any errors. I can't find any reason why this wouldn't work for me. Here's the script:
while wait(3) do
script.Parent:SetMinutesAfterMidnight(script.Parent:GetMinutesAfterMidnight() + 1)
end

4 comments
Where is this script located?
Lighting
Move it to ServerScriptService, then replace "script.Parent" with "game.Lighting"
Wow, I actually wasn't expecting that to work. Thanx Red. I'd accept that as an answer.