How do you make a ragdoll melee?

Hello everyone. This is my first post so please tell me if I did anything wrong. :slight_smile:

  1. What do you want to achieve?

When a player hits another player with a tool it will make them ragdoll for a certain amount of time. Then they will get up. I would also like it to play an animation but the animation is optional.

  1. What is the issue?

I have no idea how to do this since I am a bit of a noobie at scripting.

  1. What solutions have you tried so far?

I’ve tried looking at other posts, online, and many other places but failed.

You can disable or change all of the joints in a character model.

Characters are still made up of parts connected via motor6 and welds. You may have to swap out the joints temporarily in some cases.

Ive messed around with something similar to this before so I know it is possible.

How would I do this with a tool? Like when someone gets hit with a sword but no damage just ragdoll.

Edit: A example would be from Divine Siter (De Pride Isle Sanitorium). The “stick” the nurses use hit a player with it and then they ragdoll.

That depends on your scripting skills. You’re gonna make them not to deal any damage and whenever someone touched the sword, you make them rag doll.

The way how I make them rag doll is replacing those Motor6Ds to Ball In Socket Constraints.

Well make the sword trigger it on contact, swords are just tools after all, they only do anything if you script them, same goes for the basic sword models.