I want to check player’s humanoid states such as check when they jumped and if they jumped they will not be able to use skill.
2 Likes
These may help you -
https://developer.roblox.com/en-us/api-reference/function/Instance/GetPropertyChangedSignal
https://developer.roblox.com/en-us/api-reference/enum/HumanoidStateType
https://developer.roblox.com/en-us/api-reference/function/Humanoid/GetState
2 Likes
There’s an RBXScriptSignal object (event) specifically for jumping.
humanoid.Jumping:Connect(function(isJumping)
if isJumping then
--Code here.
else
--Other code here.
end
end)
https://developer.roblox.com/en-us/api-reference/event/Humanoid/Jumping
1 Like