Remastered ragdoll module (R6 and R15 supported)

Hello reader,
Ever wanted to make easy ragdoll that look somewhat smooth and is easy to set up and make? Well look no further!
This topic will teach you on how to use my newly designed ragdoll module.

R15 kinda weird, working on a fix

Showcase
R15

Fall from height
Slope
Very long slope

R6

Slope 1
Fall from height
Longer slope

Get the module here

For dudes who saw my other module

If u saw my other post about my other module script and are wondering: Its like almost the same, what did you even do/change?
Well, the module is easier to customize and read, updating it will also be easier.

API functions etc

module.new() making new class
class:Ragdoll() ragdoll
class:Unragdoll() unragdoll the caracter

What do i put in the module.new()?
Well you put the following things:

argument 1, the character you would like to ragdoll
argument 2 (optional), the amount of seconds the ragdoll will last.
argument 3 (also optional), if you want to replace the constraints with ropes


TUTORIAL
We first need to rig the character of the player you want to ragdoll, doing that is easy. All you got to do is:
local mod = require(game.ReplicatedStorage.RagdollModule)
local riggedCharacter = mod.new(Character, amount of sec, ropes?? (boolean) )
and ur done rigging the character. Now you can call for example :Ragdoll(), it would look something like this: riggedCharacter:Ragdoll()

Ragdoll on part hit example script
local part = script.Parent
local deb = false

local mod = require(game.ReplicatedStorage.RagdollModule)

part.Touched:Connect(function(hit)
	local p = hit.Parent:FindFirstChildWhichIsA("Humanoid")
	if p and p.Health > 0 then
		if not deb then
			deb = true
			local c = mod.new(hit.Parent, 2, false)
			c:Timed()
			task.wait(3)
			deb = false
		end
	end
end)

I hope my module will be used. Thanks for reading, wish you a nice day further.

3 Likes

Does the Second argument can go infinite? (amount of seconds it lasts)

1 Like

Also, the link is dead. Reuploading it would be better.

1 Like

assuming it uses task.wait or task.delay, iirc, it would just yield infinitely. if thats true, definitely don’t make it infinite

1 Like

if u make it timed, yes. would you? Maybe

Why wouldent you? because char:Ragdoll() is easier

Sorry for late replies, roblox absolutely love banning me

2 Likes

telling which link is dead would be nice, the links work for me

2 Likes

I got termed but I can still reply?

1 Like

Roblox terminations do not effect devforum status.

Okay bro, should I re-upload the module on a different account or should I let this module boil in the deepest pits of the void?

why did you get terminated and yes dont continue posting on this post make it a community asset not a tutorial