Hello everyone, Soner here, I’m trying to make a “Carry Ragdolled People System” for my game but I don’t know how to.
Explanation:
So there will be 2 players, one of them goes ragdoll and other one can carry him by pressing “E” on keyboard.
When will he go ragdoll?;
So player have 100 health, and when it goes below 10, Character Ragdolls.
What type of carry system?;
Player2 will go ragdoll and when the other one comes close, a billboard gui will appear and It will say “E”
When Player1 Press E, The ragdolled player will teleport to waist of Player1, or weld itself I don’t know how this works.
To detect the player’s character going ragdoll you may want to use Humanoid.StateChanged (here’s a list of the HumanoidStateTypes HumanoidStateType | Documentation - Roblox Creator Hub. For your case, you’ll want to use ‘Ragdoll’).
When it goes ragdoll, maybe create a folder into the ragdoll player named “Ragdoll”, and while that is in there, if a player goes nearby (you can use magnitude for that) then the GUI will appear, and by pressing a key (UserInputService.InputBegin() , in this case the key will be E), then create a weld between the ragdoll and the carry player. You’ll have to find out by yourself how to exactly do it tho, I just give you some suggestions on how you can do it.