Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to tween a player's position?

Asked by 4 years ago

Im trying to tween a players position, Ive tried stuff like tween the humanoid part with the vector. Ive tried making walkspeed = 0, anchoring the humanoid part, and even making them jump before moving. But when ever I do it ends up all glitchy.
Can anyone help?

1 answer

Log in to vote
0
Answered by 4 years ago

You're tweening it on the server right? You could create a for loop, not a high number if you're going a short distance, or a while loop if the player has a random position to which its moving to.

for i = 0,0
Player.Character:WaitForChild("HumanoidRootPart").CFrame = Vector3.new(0,0,0)
end

remember theres lookVectors as well

0
Where do I put that in a script? itskarma_here 0 — 4y
0
server script yeah TheOfficiaIZai 8 — 4y
Ad

Answer this question