I dont know the player AP triggers, might kinda be like this
if (playerap=<40)
hurt -100
~end~
Hurt -100 will basically heal you 100 hearts, but it will only go up to your fullhearts.
__________________
R.I.P. 1999-2004 Graalian Year
The World Renown Nobody, Guy.