I’ve made a ragdoll that is compatible with both R6 and R15. It’s server side though, so that’s the only issue with it, other than that it’s pretty good in my opinion.
Ragdoll in action!
There’s also settings so you can edit things like:
-Ragdoll stay time
-Tool stay time
-Knockback force
-Flyback time
Oh yeah, there’s also knockback on limbs, meaning that you can apply knockback to specific limbs, you don’t need to though, since the ragdoll will handle knockback for you by default.
To get custom knockback to work, you need to:
1/ Go to where your weapons deal damage
2/ Add this line of code:
local lastLimbHit = humanoid.Parent:FindFirstChild("LastLimbHit")
if lastLimbHit then
lastLimbHit.Value = hitPart.Name
end
local lookVector = humanoid.Parent:FindFirstChild("LookVector")
if lookVector then
lookVector.Value = just the direction that you want the ragdoll to fly
end
Notes
- This ragdoll only mainly supports the blocky type of avatars (unless you change the rig), so i recommend you use a script to convert every player to the same type of avatar.
- The ragdoll will appear a long time after the player has already died if the player has high ping (at least for the player with the high ping, but I think that’s an issue with a lot of ragdolls)
Model
This is the model that I’ve put out. It’s free. Just put everything where the models say and it should work fine.
Credits
I would like some credit, either in the description or a credits menu in your game. But it’s not required.
Also credits to UltimateVex for the rig, he made it originally.
Testing place
This is a testing place for the ragdoll. Have fun I guess. Only controls are R to ragdoll and F to reset.
*Edit: This ragdoll has been used by Squid Game! Thank you to @kingerman88 for seeing that this ragdoll is the best one on the dev forums!
Hope this helps you!
(P.S: Sorry if the post isn’t very good, still relatively new to the devfourms)