top of page

Questions & Answers

Public·1 member

Please can you help me make a Day/Night Cycle in Roblox Studio?


hello!

Everyone's videos for a day/night cycle in roblox studio isn't working and the one on the website ( https://www.unstopa-hubs.com/rostopi-scripting/How-To-Make-A-Day-Night-Cycle-In-Roblox-Studio ) isn't working. Here's what I'm putting:


local Time = 0.01
local TimeChange = 0.01

while wait(Time) do
game.Lighting.ClockTime = game.Lighting.ClockTime + TimeChange
end

in ServerStorage like it says. If you have an idea that might solve this problem, please comment on this post!

6 Views

I think I have the solution! All of the scripting is correct ✔️, however, the parent of the script is incorrect ❌. You put "ServerStorage" instead of "ServerScriptService", that is what's making the day/night cycle not work. I hope you found this helpful!

bottom of page