Reference API Roblox

Engine API

Website

Related

Reference API Roblox

HumanoidStateType

Describes the physics control states within the Humanoid.

Items 17

HistoryNameValueDescription
147FallingDown0

The Humanoid has been tripped, and will attempt to get up in a few moments.

599Ragdoll1

(Deprecated) The Humanoid has been hit by a fast moving object (uncontrolled falling). The Humanoid can recover from this. This state has to be set and unset manually using Humanoid:ChangeState().

599GettingUp2

The Humanoid is getting back on their feet after FallingDown or Ragdoll.

599Jumping3

The Humanoid just jumped. (Check Humanoid.Jump). This state lasts only briefly. This state normally transitions into either Landed, if on the ground, or Freefall, if still in the air.

599Swimming4

The Humanoid is currently swimming in Terrain water.

599Freefall5

The Humanoid is currently freefalling (jumped from a height or fell off a ledge).

599Flying6

When set, the Humanoid won't be animated, as with the Humanoid.PlatformStand property. This state lasts as long as the player flies.

599Landed7

The Humanoid touched the ground after a Freefall. This state lasts only briefly.

599Running8

Currently running while on the ground.

599RunningNoPhysics10

(Deprecated) Currently running and not near other physical objects.

599StrafingNoPhysics11

Not currently used with default Humanoid. Cannot be set with Humanoid:ChangeState().

599Climbing12

The Humanoid is climbing (e.g. up a TrussPart or ladder).

599Seated13

The Humanoid is currently sitting in a Seat or VehicleSeat. Check the Humanoid.Sit property.

599PlatformStanding14

The Humanoid is platformstanding. Check the Humanoid.PlatformStand property.

599Dead15

The Humanoid died. Changing a Humanoid's state to this state will kill it.

147Physics16

The Humanoid doesn't apply any force on its own and will not automatically transition to any other state. This state has to be set and unset manually using Humanoid:ChangeState().

147None18

Unusable placeholder in case an unknown state gets triggered internally.

Description

Identifies, reads and sets the physics control state of a Humanoid. Humanoid:GetState() and Humanoid:ChangeState() methods, as well as the Humanoid.StateChanged event currently use this Enum.

Some states only allow manual setting, and allow a developer to make the Humanoid relinquish control of its character.

When altering the Humanoid of a player, this should be done from a LocalScript ran by that player on their local client. Certain states only work when set by the owner process (client or server). (Dead for example)

History 32

Settings