MinutesAfterNight = 0
while true do
wait(0.1)
MinutesAfterNight = MinutesAfterNight + 1
game.Lighting:MinutesAfterMidnight = MinutesAfterNight
end
It's supposed to set the time to midnight, wait .1 seconds, and then change it 1 minute ahead, and repeat
The script is in serverscriptstorage. No other scripts interfere with it.

1 comment
It's game.Lighting:SetMinutesAfterMidnight, you forgot the "Set"