From 1e0d9e47354704fea2589a5b59151658ec06843a Mon Sep 17 00:00:00 2001 From: Ruanito <138895465+Ruanitoo@users.noreply.github.com> Date: Tue, 28 Jan 2025 03:38:57 -0300 Subject: [PATCH 1/3] Update Humanoid.yaml Updates the ChangeState method description, in order to let the users know that It only works on the NetworkOwner of the character side (If the NetworkOwner is a player, It must be done using a localscript owned by that player. If it's server, must be done in a server script --- content/en-us/reference/engine/classes/Humanoid.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/en-us/reference/engine/classes/Humanoid.yaml b/content/en-us/reference/engine/classes/Humanoid.yaml index 6d2733970..d2cccdb5e 100644 --- a/content/en-us/reference/engine/classes/Humanoid.yaml +++ b/content/en-us/reference/engine/classes/Humanoid.yaml @@ -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.Character`. You can use this function in a `Class.Script`, but the NetworkOwner + of the `Class.Chatacter` must be the Server. + See also `Class.Humanoid:SetStateEnabled()` to enable or disable a particular state, and `Class.Humanoid:GetState()` to get the current humanoid state. From c10cf54b31997f92259633fa6a094a5e00c9767d Mon Sep 17 00:00:00 2001 From: Ruanito <138895465+Ruanitoo@users.noreply.github.com> Date: Tue, 28 Jan 2025 03:45:27 -0300 Subject: [PATCH 2/3] Update Humanoid.yaml (FIX) Updates the ChangeState method description, in order to let the users know that It only works on the NetworkOwner of the character side (If the NetworkOwner is a player, It must be done using a localscript owned by that player. If it's server, must be done in a server script --- content/en-us/reference/engine/classes/Humanoid.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en-us/reference/engine/classes/Humanoid.yaml b/content/en-us/reference/engine/classes/Humanoid.yaml index d2cccdb5e..c307f649b 100644 --- a/content/en-us/reference/engine/classes/Humanoid.yaml +++ b/content/en-us/reference/engine/classes/Humanoid.yaml @@ -1441,7 +1441,7 @@ methods: 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.Character`. You can use this function in a `Class.Script`, but the NetworkOwner - of the `Class.Chatacter` must be the Server. + of the `Class.Character` must be the Server. See also `Class.Humanoid:SetStateEnabled()` to enable or disable a particular state, and `Class.Humanoid:GetState()` to get the current From e92aad1240ba4b11bbaa8ae45dff4186c624a1bb Mon Sep 17 00:00:00 2001 From: Ruanito <138895465+Ruanitoo@users.noreply.github.com> Date: Tue, 28 Jan 2025 03:49:14 -0300 Subject: [PATCH 3/3] Update Humanoid.yaml (ALL FIXED) Updates the ChangeState method description, in order to let the users know that It only works on the NetworkOwner of the character side (If the NetworkOwner is a player, It must be done using a localscript owned by that player. If it's server, must be done in a server script --- content/en-us/reference/engine/classes/Humanoid.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en-us/reference/engine/classes/Humanoid.yaml b/content/en-us/reference/engine/classes/Humanoid.yaml index c307f649b..908bfb69a 100644 --- a/content/en-us/reference/engine/classes/Humanoid.yaml +++ b/content/en-us/reference/engine/classes/Humanoid.yaml @@ -1440,8 +1440,8 @@ methods: 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.Character`. You can use this function in a `Class.Script`, but the NetworkOwner - of the `Class.Character` must be the Server. + `Class.Player.Character`. You can use this function in a `Class.Script`, but the NetworkOwner + of the `Class.Player.Character` must be the Server. See also `Class.Humanoid:SetStateEnabled()` to enable or disable a particular state, and `Class.Humanoid:GetState()` to get the current