Skelifier
Look for Skelifier in the tool gun menu or Skelify in the context menu to turn most humanoid NPCs or players into a skeleton ragdoll
Make sure you have keep corpses enabled under NPCs in the context menu otherwise the NPC will just fall without turning into a ragdoll