Super-Nostalgia-Zone/Server/Scripts/Time.server.lua

11 lines
274 B
Lua

local Lighting = game:GetService("Lighting")
local ServerStorage = game:GetService("ServerStorage")
local loadTime = ServerStorage:FindFirstChild("LoadTime")
if loadTime and loadTime.Value then
while wait() do
Lighting:SetMinutesAfterMidnight((tick()*5)%1440)
end
end