Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 407 Bytes

stance.md

File metadata and controls

15 lines (13 loc) · 407 Bytes

Stance

Set or check the players stance mode

local playerState = LocalPlayer.state
-- Set Stance
playerState.stance = 0 -- Set Normal Stance
playerState.stance = 1 -- Set Stealth Stance
playerState.stance = 2 -- Set Crouch Stance

-- Check Stance
local isInNormalStance = playerState.stance == 0
local isInStealthStance = playerState.stance == 1
local isInCrouchStance = playerState.stance == 2