get humanoid state code example
Example: roblox get humanoid state
local plr = game.Players.localPlayer
local character = plr.Character or plr.CharacterAdded:Wait()
local Humanoid = character:WaitForChild("Humanoid")
local State = Humanoid:GetState()
--Humanoid:SetStateEnabled(humanoid state item,bool enabled)
--Humanoid:ChangeState(humanoid state item)