HumanoidStateType
Identifies the current humanoid movement state.
Access items through Enum.HumanoidStateType.
Behavior
Enum.HumanoidStateType identifies states used by
Humanoid. GetState returns the current state,
ChangeState requests a transition, and SetStateEnabled controls whether a
state is available.
Items
The character has fallen and is not yet getting up.
Identifies the ragdoll character state.
The character is recovering from a fall or ragdoll state.
The character is in the upward phase of a jump.
In water.
The character is falling through the air.
Identifies the flying character state.
The character has contacted the ground after falling.
The character is on the ground, moving or standing.
Identifies running without the ordinary physics movement state.
Identifies strafing without the ordinary physics movement state.
The character is climbing a ladder or truss.
The character is in a Seat.
Normal character movement is suspended.
The character has died after health reached 0.
The character controller is disabled and physics controls the character.
No humanoid state.
FallingDown
The character has fallen and is not yet getting up.
Ragdoll
Identifies the ragdoll character state.
GettingUp
The character is recovering from a fall or ragdoll state.
Jumping
The character is in the upward phase of a jump.
Swimming
In water.
Freefall
The character is falling through the air.
Flying
Identifies the flying character state. A state identifier alone does not implement a flight controller.
Landed
The character has contacted the ground after falling. This state is transient; observe StateChanged to detect it.
Running
The character is on the ground, moving or standing.
RunningNoPhysics
Identifies running without the ordinary physics movement state.
StrafingNoPhysics
Identifies strafing without the ordinary physics movement state.
Climbing
The character is climbing a ladder or truss.
Seated
The character is in a Seat. Movement input is directed to the seat.
PlatformStanding
Normal character movement is suspended.
Dead
The character has died after health reached 0.
Physics
The character controller is disabled and physics controls the character.
None
No humanoid state.
Example
print(Enum.HumanoidStateType.Running)