This is in a serverscript in server script service with FE turned on.
minutesAfterMidnight = 1320000 while wait(.5) do minutesAfterMidnight = minutesAfterMidnight + 2 game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight) if game.Lighting.TimeOfDay == "20:00:00" then game.Lighting.Brightness = 0 game.Lighting.Ambient = Color3.new(0,0,0) game.Lighting.FogColor = Color3.new(0,0,0) elseif game.Lighting.TimeOfDay == "8:00:00" then game.Lighting.Brightness = 1 game.Lighting.Ambient = Color3.new(128/255, 128/255, 128/255) -- This part doesn't change the ambiency game.Lighting.FogColor = Color3.new(128/255, 128/255, 128/255) end end