How to Make a Day and Night Cycle in Roblox Studio

Опубликовано: 19 Май 2026
на канале: ArtexScripts
279
9

📷 In this video, I'm going to show you how to Make a Day and Night Cycle in Roblox Studio! A basic system script that'll change the time from day to night!

📜 Script:

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

RunService.Heartbeat:Connect(function()

local CurrentTime = Lighting.ClockTime
local TimeInterval = 0.001
local ChangeTime = CurrentTime + TimeInterval

Lighting.ClockTime = ChangeTime
end)

🔗 Links:
  / discord  

👍 If you enjoyed this video, make sure to leave a like, comment and subscribe down below!