script.Parent.Position = Vector3.new(0.2, 0, 0) wait() -- or wait(0.01) doesn't matter script.Parent.Position = Vector3.new(0, 0, 0)
How do u move unions properly ? this should move it forward and back to the SAME position. How u do it ? cuz for me it just goes somewhere where i can't see anymore
Use CFrame, would explain more but on tablet. So.. script.Parent.CFrame = CFrame.new(POSITION HERE)
When using position like this you move it to a certain set of co-ordinates in your place. To move it forward or backward, use CFrame like this:
script.Parent.CFrame = script.Parent.CFrame + Vector3.new(0.2,0,0) wait() script.Parent.CFrame = script.Parent.CFrame - Vector3.new(0.2,0,0)