local function N()local N=0 while true do wait(.016666666666667)N+=(2*math.pi)/1200 earth.Position=sun.Position+Vector3.new(math.cos(N),0,math.sin(N))*distance end end

local function orbitEarth()
    local angle = 0
    while true do
        wait(1/60)
        angle += (2*math.pi)/1200 -- 20 seconds to complete a circle
        earth.Position = sun.Position + Vector3.new(math.cos(angle), 0, math.sin(angle)) * distance
    end
end


