Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to tween a player's position?

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

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

2 comments

0

Where do I put that in a script?

0

server script yeah

This discussion is preserved as it was. New answers, comments, and votes are closed.