Hello! I’ve found that many people are struggling with making ragdoll scripts. I did too a few months ago but now I have found the correct way to ragdoll, it’s smooth and easy. Today, I’ll be open sourcing my ragdoll script. It’s very compact I hope you’ll like it.
I’ll update regularly
Features:
Works for R15 and R6 both.
Computer support - Press F to toggle ragdoll and C to toggle first person.
Mobile Support - Doll button to toggle ragdoll and FP button to toggle FP.
Console Support - R1 for ragdoll and L1 for FP.
Death ragdoll by default.
Velocity checks - If a player exceeds a certain velocity, they will ragdoll. (Now server sided)
Server Script (ServerScriptService) - Does velocity checks. If a player exceeds a certain velocity, it ragdolls him.
Module Script (ServerScriptService) - Contains function for ragdolling and making joints.
Input Script (StarterGui) - Changes humanoid states and disables animations on client events. Contains controls for different devices which you can change.
Ragdoll Script (StarterPlayerScripts) - Makes changes to players humanoid whenever it resets/joins. Ragdolls on death.
To ragdoll NPCs - Just call Ragdoll.Joints(NPC character) to make joints for it, then call Bot function. It’s ragdoll function just for bots.
I’ll add a testing place soon. So you can test yourself before getting the model! Test hereRagdoll Concept! All gamepasses made free so you can test properly.
Yeah, that’s because the character rotates when you’re in FP or Shift lock. It’s fixable I think.
That is because the script instances ballsocketconstraints for every motor6d available, that can be improved by limiting BSCs to joints we want to look dislocated. I’ll add these in next update soon!
Wow I was just looking for an r15 ragdoll script a day ago. It’s like my wishes were heard and got answered. Anyway I’m definitely going to try this out
Improved the concept! Doesn’t include waist joint now.
Before:
Now:
Makes ragdolls look more realistic as the waist joint shouldn’t be affected. Once again, thanks for using my module! It means a lot. Module has been updated. But you’ll need to update it manually in your games.
I’ve looked over your code and I have few things I think would be helpful for the community;
Create R6 Ragdoll Capability
Create a way that it can be triggered from another script, such as touch and so on. (i.e; with a variable requiring the module; they could do variablename.RagdollActive())
Create a Ragdoll Creating Tutorial; this would make it so anyone can create their own ragdolls, know what they need to do to some degree and create their own versions.
Yeah, Input script controls player input from multiple devices as well as changes humanoid states and disable animations on ragdoll. So, it’s a requirement.
Same reason! It happened after you deleted Input script, right? Note: If you took the module in past, please re download it because a lot of improvements were made recently.
In this video, I show an NPC being ragdolled. Currently, the function will unragdoll npc after 10 seconds which you can modify according to your needs. It will throw error when you unragdoll npc when it’s destroyed or inexistent.