Issues with PlatformStanding/Ragdolling

I have been trying to make a ragdoll system when someone is hit by something, but I have had some issues when transitioning from ragdoll to standing.

Whenever the character ragdolls and then gets up, depending on the direction the character can flop like a fish before getting up. I’ve tracked this down to the PlatformStand property, and I want to achieve a seamless transition that works almost 100% of the time, but this “flopping” issue is stopping me at the moment.

I’ve tried using both the client and the server, and I can’t seem to find a reliable method of preventing this from happening. Any help?

If you need me too, I can provide a video or a gif showing what I mean.

You’ll need to disable two of the Humanoid’s states by creating a localscript inside the character with something like this.

local Humanoid = script.Parent:WaitForChild("Humanoid")

Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
``
2 Likes

Do I disable those when I want the character to stop ragdolling?

you can keep them disabled before you even ragdoll. (it can help prevent character’s tripping over) or you can disable it before.

any way should work

2 Likes

Just tested it out, and it works really well now. Thank you!

1 Like