📜  roblox 获取人形状态 - Lua 代码示例

📅  最后修改于: 2022-03-11 14:54:55.748000             🧑  作者: Mango

代码示例1
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)