Hello Developers! I am currently having a problem on @lagnis7859 ragdoll module. I have tested his test experience and everything is working at that test exprerience and when I tried to test it and implement the script to my place it does not work as expected.
REFERENCE LINK:
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 …
MY PLACE RAGDOLL:
HIS PLACE RAGDOLL:
MY SCRIPT(png):
SCRIPT
if enemyhumaanoid.RigType == Enum.HumanoidRigType.R15 and game.Players:GetPlayerFromCharacter(enemycharacter) then
enemyhumaanoid.WalkSpeed = 0; enemyhumaanoid.JumpHeight = 0; enemyhumaanoid.JumpPower = 0;
local ragdollmodule = require(game.ServerScriptService.Module)
ragdollmodule.Joints(enemycharacter)
task.wait()
ragdollmodule.Ragdoll(enemycharacter, true)
myeventsfolder.TaserEvent:FireClient(game.Players:GetPlayerFromCharacter(enemycharacter), true)
task.wait(23)
ragdollmodule.Ragdoll(enemycharacter, false)
myeventsfolder.TaserEvent:FireClient(game.Players:GetPlayerFromCharacter(enemycharacter), false)
enemyhumaanoid.WalkSpeed = 16; enemyhumaanoid.JumpHeight = 7.2; enemyhumaanoid.JumpPower = 50;
elseif enemyhumaanoid.RigType == Enum.HumanoidRigType.R6 and game.Players:GetPlayerFromCharacter(enemycharacter) then
isragdoll.Value = true
myeventsfolder.TaserEvent:FireClient(game.Players:GetPlayerFromCharacter(enemycharacter), true)
task.wait(23)
isragdoll.Value = false
myeventsfolder.TaserEvent:FireClient(game.Players:GetPlayerFromCharacter(enemycharacter), false)
end
4 Likes
Bovious
(Bovious)
March 19, 2024, 11:17pm
#2
Change hip height to 0 and if you haven’t already, set evaluate state machine to false on the humanoid.
What do you mean by evaluate state machine?
Bovious
(Bovious)
March 19, 2024, 11:52pm
#4
Humanoid.EvaluateStateMachine = false
Basically it’s responsible for making the humanoid’s states functional (running, walking, jumping etc). When I used it with my ragdoll’s I noticed it looked cleaner and cleared up ragdoll bugs on npcs.
I set the hip hight to 0, and now it is moving without the player walking. Any ways to fix that?
Bovious
(Bovious)
March 20, 2024, 12:05am
#6
Try setting evaluate state machine to false if you haven’t already, that fixed my issues when I made my own ragdoll module.
How to preven the player from colliding with the baseplate?
Bovious
(Bovious)
March 20, 2024, 12:12am
#8
Loop through the character, set limbs’ can collide properties to true.
What you mean by limbs is every part inside of the character right?
Bovious
(Bovious)
March 20, 2024, 1:58am
#10
Yes, I mean the right arm, left arm etc
Another question, how can I stop the ballsocketconstaraint from aggresively twitching?
Bovious
(Bovious)
March 21, 2024, 10:32am
#12
Try setting twist limits enabled to true, and limits enabled to true as well. There are also more specific properties you could tweak for more control over your ragdoll, below is the page where you can find that information.
BallSocketConstraint | Documentation - Roblox Creator Hub
May i advertise my own ragdoll module script?
link
It takes care of that for you
I am currently using R15, the module works but it doesnt fix the twitching. Why is that?
(nevermind fixed it)
system
(system)
Closed
April 5, 2024, 6:48am
#15
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.