Hi, the wiki states that when a state is disabled the humanoid should not be able to enter that state, however even after disabling these states it still enters certain ones; FallingDown
for example is a common one. I just want my humanoids to be able to walk around, nothing more is needed however even with these disabled it still manages to trip over a lot of stuff and enter disabled states.
Here is the code being used:
local hum = self.Model.Humanoid
print("Starting State:",hum:GetState())
hum.StateChanged:Connect(function(state)
print(state)
end)
hum:SetStateEnabled(Enum.HumanoidStateType.Jumping, false)
hum:SetStateEnabled(Enum.HumanoidStateType.Swimming, false)
hum:SetStateEnabled(Enum.HumanoidStateType.Climbing, false)
hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
hum:SetStateEnabled(Enum.HumanoidStateType.Flying, false)
hum:SetStateEnabled(Enum.HumanoidStateType.Seated, false)
hum:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
hum:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics, false)
hum:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding, false)
hum:SetStateEnabled(Enum.HumanoidStateType.Freefall, false)
hum:SetStateEnabled(Enum.HumanoidStateType.GettingUp, false)
hum:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
hum:SetStateEnabled(Enum.HumanoidStateType.Landed, false)
Is there some missing documentation about which states can be set on the wiki?