on rightclick with enderpearl: set {_a} to player health wait 2 ticks set player's health to {_a}