How would I stop character's movement while in ragdoll?

I programmed a ragdoll module, what it does, is it disables every M6DS (Not breaking joints) in the character, then create socket balls as usual. It works perfectly as intended when the humanoid and the character is unmovable, dies, but when it didn’t, the humanoid still decides to have movement on while not having any motor6ds enabled.

I’ve tried changing humanoid state types.

When alive: https://gyazo.com/609c7ddbd69bac8812dff4ce641c1551

When dead: https://gyazo.com/93b8af0a62164e39906ba117b610bb68

I’m trying to achieve the same effect it did when the humanoid is dead but I have no idea why it’s not doing so.

1 Like

When a person dies it breaks all the joints, After you create socket balls try breaking all the motor6ds

1 Like

I did disable all the motor6ds so when I were to unragdoll, it would be easier, wouldn’t disabling work?

1 Like

Are you setting a state on it’s Humanoid? Try disabling a few Humanoid states and enable FallingDown.

@PostVivic Break joints did the same work.

@uhi_o https://gyazo.com/aadb694b25974a636b317021449f2f19 Still the same effect. (I will try disabling every other things)

Edit: Tried other things such as, gettingup, running, still don’t work.

The Physics humanoid state should probably be what you are after.

Hey man! I did try that. It still does the same thing. I’m gonna assume it’s a welding problem and I’m looking into it.

Oh I forgot about one critical thing, you must change the humanoid state on a LocalScript AFAIK. Last time I tried changing it on the server it was having the same problem, probably some NetworkOwnership issues I guess. Try doing it on the client, it fixes humanoid states for me every time.

The network was set to be owned by the player.

Also the issue wasn’t caused by welding. When the character dies, humanoid root part some what also gets unanchored.

This hasn’t been solved. I’m still trying to get some support.

Probably too late but:

Why don’t you just make the humanoid’s walk speed to 0
And make the humanoid sit = true

Hi, the error you find is exactly what I’m trying to achieve, can you send me the “not working” script please?