Player's HumanoidRootPart Position bug

Idk what script or what makes the players Humanoid Root Part weird is just that when I play for a bit and I wanna teleport to my friend it teleports me completely somewhere else. If anyone knows any fixes or suggestions please let me know, Ty.

Are you using CFrame instead of position? HumanoidRootPart.CFrame = OtherHumanoidRootPart.CFrame

1 Like

How are you doing it because I would do


I mean I use the cframe for a finishing move (position both players on the ground) does that effect the position or cframe ?

What do you mean with a finishing move? Just set the CFrame of the player HumanoidRootPart equal to the CFrame of the second player HumanoidRootPart.
Maybe add a Vector3 function so the player won’t glitch in the other player’s character.

By finishing move is that I mean let’s say a enemy was down, you can kill him with a finishing move animation.

Positioning Script:
local primaryPart = player.Character.HumanoidRootPart
local params =
params.FilterDescendantsInstances = {primaryPart.Parent,Enemy}
params.FilterType = Enum.RaycastFilterType.Blacklist
local ray = workspace:Raycast(primaryPart.Position,, -10, 0), params)
if ray and ray.Position then
primaryPart.Position = ray.Position +,3,0)

Enemy.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame *,-0.55,-0.55)

Does this look good? Idk if its this that causes the player’s humanoid root part position to bug.

You have to show us your code, otherwise we don’t know how you are trying to do it.

EDIT, sorry, you just posted the code.
Why are you using a Raycast when you only need to know the player’s Position and the enemies Position?

the first part is to put both players on the ground (raycasting) then positioning them perfectly for the animation.

thats the only piece of code that messes with the positions

But if you have both Positions why do you need to know the spot on the ground? The X and Z Position values will do the exact same thing.

cuz i anchor the root part and make sure they not floating while the finishing move in playing