if IsButtonBeingPressed(10,0) then
PedSetActionNode(gPlayer, INSERT BLOCKING ACTION NODE HERE)
elseif IsButtonBeingPressed(6,0) then
ExecuteActionNode(gPlayer, INSERT ATTACK #1 HERE)
elseif IsButtonBeingPressed(9,0) then
ExecuteActionNode(gPlayer, INSERT GRAPPLE MOVE HERE)
end
I don't know the nodes, but there is a template you can fill in if you obtain the action nodes. Not 100% sure it will work but hopefully it will.