Using ReplaceBodyPartR15 function On RootPart causes character to bug

I’m using the ReplaceBodyPartR15 function to replace the rootpart of my character. When the humanoidrootpart gets replaced, my character doesn’t work correctly.

Things that happen:
My camera focuses in on the new rootpart.
The new rootpart is parented to my character
I can’t move or jump but can rotate the rootpart around with lock switch.
The new rootpart is on the ground, it can fall over easily like a normal part and doesn’t get up like a normal humanoid root, changing hipheight doesn’t affect it the elevation of the part. Setting the character’s primary part to the new rootpart or adding the root joint back doesn’t doesn’t fix it.

This is everything that has ran. I have no other scripts on the place i’m using to test this.

code:
workspace.Sharky_Protogen.Humanoid:ReplaceBodyPartR15(Enum.BodyPartR15.RootPart,workspace.HumanoidRootPart)

I’ve been looking for solutions for a while and couldn’t find any. Not sure if it’s a bug or i’m just missing something.

1 Like