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

Noted the method doesn't replicate through the server-client boundary #837

Merged
merged 3 commits into from
Sep 24, 2024
Merged
Changes from all 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
16 changes: 7 additions & 9 deletions content/en-us/reference/engine/classes/Humanoid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1925,15 +1925,13 @@ methods:
`Class.Humanoid`.
description: |
This function sets whether a given `Enum.HumanoidStateType` is enabled for
the `Class.Humanoid`.
the `Class.Humanoid`. When a particular `Enum.HumanoidStateType` is
disabled, the `Class.Humanoid` can never enter that state. This is true
regardless if the attempt to change state is made using
`Class.Humanoid:ChangeState()` or Roblox internal `Class.Humanoid` code.

The humanoid state describes the activity the `Class.Humanoid` is
currently doing.

When a particular `Enum.HumanoidStateType` is disabled, the
`Class.Humanoid` can never enter that state. This is true regardless if
the attempt to change state is made using `Class.Humanoid:ChangeState()`
or Roblox internal `Class.Humanoid` code.
Note that using `SetStateEnabled()` on the server does not replicate the
change to the client, nor vice-versa.
code_samples:
- jump-cooldown
parameters:
Expand All @@ -1946,7 +1944,7 @@ methods:
type: bool
default:
summary: |
_True_ if this state is to be enabled, _false_ if it is to be
`true` if `state` is to be enabled, `false` if `state` is to be
disabled.
returns:
- type: void
Expand Down
Loading