Hey, I’m wondering if anyone knows which humanoid states are generally safe to disable.
Initially, I thought that this issue was a result of welding errors, based on the video. This was a very fair assumption to make given the spinning icon. However, even after removing the spinning object, this issue still seems to happen randomly, although without the spinning. There is an increased chance if the character makes contact with a collideable object that is smaller than the player’s character.
Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, false)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed, false)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall, false)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, false)
Eventually, I discovered that this script was the culprit. After disabling this script, the issue has been completely resolved.
My question is the following if anyone is familiar with humanoid states: which one of these can cause issues like the one shown in the video, and why?
For context, my intention was to disable any state types that didn’t seem to be needed.