Okay, I want the day/night cycle to be performed in my game, so here is the script I made.
local.display(skybox) skybox = ("66944469") wait(600) -- 600 seconds = 10 minutes. skybox = ("123072184") while true do local function(repeat) end -- Ends the rotate script. end) -- Ends the Repeat
I honestly tried my best, but I couldn't figure it out. Thank you for your help guys!
It's simpler than you think, my friend!
local x = 0.1 -- The speed while wait(x) do game.Lighting.TimeOfDay = game.Lighting.TimeOfDay .. 1 end
while wait(1.0) do game.Lighting:SetMinutesAfterMidnight(game.Lighting:GetMinutesAfterMidnight()+1); end <-- simple way! Works.
Roblox Wiki made an article on this, reading the rest may help as well