Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Humanoid:ChangeState() description update #1003

Merged
merged 5 commits into from
Jan 28, 2025
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions content/en-us/reference/engine/classes/Humanoid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1438,6 +1438,11 @@ methods:
`Enum.HumanoidStateType.PlatformStanding` will cause the humanoid state
to be automatically set to `Enum.HumanoidStateType.Running`.

Note that in order to set the `Class.Humanoid` state using this function,
you must do it in a `Class.LocalScript` owned by the NetworkOwner of the
`Class.Player.Character`. You can use this function in a `Class.Script`, but the NetworkOwner
of the `Class.Player.Character` must be the Server.

IgnisRBX marked this conversation as resolved.
Show resolved Hide resolved
See also `Class.Humanoid:SetStateEnabled()` to enable or disable a
particular state, and `Class.Humanoid:GetState()` to get the current
humanoid state.
Expand Down
Loading