I'm making a coin turn in a circle around and around. Whats wrong in here?
local i = 0 repeat wait() script.Parent.CFrame = CFrame.new(script.Parent.CFrame.p),CFrame.Angles(script.Parent.CFrame.lookVector+Vector3.new(0,0,0.1)) until i==10
You don't need such a complicated script. Just use BodyPosition and BodyAngularVelocity and you can make it float and spin in midair without any scripts.