-- Smooth Day/Night Cycle by Cosmos_RMX_ -- Put this script in Workspace local Lighting = game:GetService("Lighting") local fullDayLength = 180 -- you can change the time (3 minutes) local timeChangePerSecond = 24 / fullDayLength -- Set initial time Lighting.ClockTime = 6 -- start at 6 AM while true do -- Add smooth time change Lighting.ClockTime = Lighting.ClockTime + (timeChangePerSecond * wait(1/30)) -- Reset if beyond 24 if Lighting.ClockTime >= 24 then Lighting.ClockTime = 0 end -- Optional: adjust brightness & atmosphere if Lighting.ClockTime >= 6 and Lighting.ClockTime < 18 then Lighting.Brightness = 2 -- Day Lighting.OutdoorAmbient = Color3.fromRGB(200, 200, 200) else Lighting.Brightness = 0.5 -- Night Lighting.OutdoorAmbient = Color3.fromRGB(80, 80, 120) end end