Ragdoll Script R15 and R6 [PC, Mobile, Xbox]

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)

Get this model and ungroup according to the names of groups.
Test it yourself in my game Ragdoll Concept!:slight_smile:

Scripts:

  • 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.

105 Likes

Can you show a video on how it works?

3 Likes

Sure, I updated the original topic with gifs.

3 Likes

I’m gonna use the same script just I’ll add a UI.

3 Likes

I’ll add a testing place soon. So you can test yourself before getting the model! Test here Ragdoll Concept! All gamepasses made free so you can test properly.

2 Likes

Best if you just put this in #resources:community-resources since this isn’t a tutorial.

2 Likes

I did that but since I also list out steps I thought it would suit in Tutorials category.

Hi
Thanks for releasing this resource!
Here are some issues I have found from running the test place:

  • Some joints are unrealistically dislocated, especially the knees / elbows:

  • When turning the camera in first-person, your ragdolled character moves around.

3 Likes

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!

1 Like

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

1 Like

I can’t get the model from the link

1 Like

Improved the concept! Doesn’t include waist joint now.
Before:
image
Now:
image
Makes ragdolls look more realistic as the waist joint shouldn’t be affected. Once again, thanks for using my module! It means a lot. :slight_smile:
Module has been updated. But you’ll need to update it manually in your games.

Report bugs in case you find any!

4 Likes

Update! Module has been fixed. Please report any other issues below.
What’s new?

  • Server sided velocity checks instead of client sided.
  • Head is collidable, roblox disables can collide of head by default.
  • Optimised User Input, script is shorter now.
  • Bug fixed and other performance updates.

Fixed now.
You’ll have to take the model again as it will not update itself if you took it earlier.

This is fixed too for shiftlocks… Player can still go first person which can be disabled but it looks nice.

3 Likes

I’ve looked over your code and I have few things I think would be helpful for the community;

  1. Create R6 Ragdoll Capability
  2. 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())
  3. 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.
1 Like

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.

I have added Scripts Info in the original post.

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.

5 Likes