for example :
repeat
PedSetActionTree(l_1_7, "/Global/J_Grappler_A", "Act/J_Grappler.act")
wait(10000)
PedSetActionTree(l_1_7, "/Global/J_Melee_A", "Act/J_Melee.act")
wait(10000)
PedSetActionTree(l_1_7, "/Global/J_Striker_A", "Act/J_Striker_A.act")
wait(10000)
PedSetActionTree(l_1_7, "/Global/J_Mascot", "Act/J_Mascot.act")
until
PedGetHealth(l_1_7, 300)
like this?