#💬 hschu_hschuʹs Feedback
1 messages · Page 1 of 1 (latest)
Absolute chad for posting code
Would be cool if you turn this to a physics based system
local lookVector = CFrame.Angles(0,math.rad(v),0).LookVector
local pos = (CFrame.lookAt(Vector3.zero,lookVector) * CFrame.new(0,0,r*1000)).Position
--1 day = 86400 sec
local angle = CFrame.Angles(math.rad(4.722),math.rad(13.895), math.rad(-1.526)) * CFrame.Angles(0,math.rad(script:GetAttribute("timePasted")%86400/86400*360),0)
local cf = angle + pos
workspace.Earth:PivotTo(cf)
end
game:GetService("RunService").Heartbeat:Connect(movePartContinuously)
Now