#How do i use a state manager for when to detect the players movement
1 messages · Page 1 of 1 (latest)
local function onMoveDirectionChanged()
if humanoid.MoveDirection ~= Vector3.zero then
return
end
-- ...
end
humanoid:GetPropertyChangedSignal("MoveDirection"):Connect(onMoveDirectionChanged)