Basically what happens is I attach a motor6d to the player’s arm for a tool when they equip a weapon. This allows me to change the cframing of the sword in animationTracks. The problem is when the player is ragdolled they randomly respawn because the sword starts hanging off of the arm, and swinging back and forth.
Could this be because your ragdoll script is assuming that the Motor6d connecting the sword, is one of the characters joints, therefore treating it like a ligament?