im making a script wich is a Day/Night that makes the Sun and the Moon spin around the Workspace, but... i don't see it working, what is going wrong here?
local PlanetSpin = game.Lighting.GeographicLatitude
while true do
PlanetSpin.new = "+1"
end
if PlanetSpin == 360 then
local PlanetSpin = 0
end

2 comments
You didn't putted the PlanetSpin Variable, but anyways, its really useful, Thanks!
And instead of using => i used == . So, doing that, it works