How to disable HumanoidState.Ragdoll

Every time I fall from a high distance and hit anything at an angle it ragdolls/flings the player, and I’m quite sure its the Humanoid.Ragdoll state or whatever. How can I disable this?

SOLVED: Is it Possible to Disable Character "Ragdolling" - #11 by Red_stickman1

1 Like

You can detect when the humanoid state changes with Humanoind.OnStateChanged or something close to that then just check if the state is ragdoll and if it is then set the state to be falling/ walking with Humanoid:SetState()

I tried Humanoid:SetState(“Landed”) but its not working, how do I phrase it?

hum.StateChanged:Connect(function(old, new)
if new == Enum.HumanoidStateType.Ragdoll then
hum:SetState(“Landed”)
end
end)

it would be an HumanoidStateTypeEnum so Enum.HumanoidStateType.Walking or Enum.HumanoidStateType.Falling

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.