Hi, I am making a teleport script but the HumanoidRootPart is now teleporting the player. Only the HumanoidRootPart is teleporting. For more reference, have a look at this video: https://youtu.be/PqBQdVBNaSw
COMMUNITY QUESTION
HumanoidRootPart not teleporting the player or is this a bug?
1 answer
You are setting only the position value of the HumanoidRootPart and not the entire model use SetPrimaryPartCFrame instead:
PlayerName:SetPrimaryPartCFrame(CFrame.new(x,y,z))
or
PlayerName:SetPrimaryPartCFrame(CFrame.new(PartName.Position))
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Please post your code, since we can't do much without it.
Best way to teleport a player is to set the CFrame of their HumanoidRootPart, otherwise it will break joints and not tp whole player. Player.Character.HumanoidRootPart.CFrame = CFrame.new(0,0,0,0) or player.Character.HumanoidRootPart.CFrame = SpawnPart.CFrame (SpawnPart being a part you want them tped to)