Weird physics with my detain tool

These weird physics happen when I use my detain tool on any character. The script gets the mouse’s target, sends it through a RemoteEvent to a server script, which then creates a part in front of the character to the person who is detaining, and it is welded 3 studs in front of the HumanoidRootPart. Next, it gets the HumanoidRootPart of the person who is to be detained, and it welds his HumanoidRootPart to the part infront of the player detaining.

Thats as basic as I could put it, I’m not so great at wording things.

Here is a vid clip:

See how your character sinks into the floor? I’ve already tried making the body parts Massless and turn off CanCollide, it makes no difference.

1 Like

Hello, this happens because you forgot to set Humanoid.PlatformStand to true.
If you will try to use your detain on actual player, then player would have ability to walk around welded with you.