How To Make A Day/Night Cycle!

there are many ways to create a daylight cycle, here is one

local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")

RunService.Heartbeat:Connect(function()
   Lighting.ClockTime += 0.1
   task.wait(1)
end)

read this part in “About the Community Tutorials category”

4 Likes