Hi, I wrote some code and it is supposed to move the sun and its for a game where i want an interactive day night cycle, but instead, the sun stays in place in the sky. Here's the code:
dayTime = 300
interval = 24 / dayTime
while wait(1) do
game.Lighting.ClockTime += interval
end

3 comments
Thank you, the sun now moves.
No problem
Happy to help