Ragdolls breaking NPC's character

  1. What do you want to achieve?

I want to make it so that my NPC does not break after being ragdolled and unragdolled.

  1. What is the issue?

After I ragdoll and unragdoll an NPC, it stays frozen in a pose until it is ragdolled and unragdolled again. The HumanoidRootPart of the NPC also seems to have been detached from the body. The network owner of the NPC is the server.

image

  1. What solutions have you tried so far?

I have tried setting PlatformStand to true and then false again and looked through devforum to find people with similar issues with no success. I also tried commenting and uncommenting parts of my code to isolate the issue.

ANY help would be appreciated.