How to change HP value?

How to change HP value? (i'm need, when player killing another player him healing himself for 100 hp).

You can change the hitPoints value of the player object to increase or decrease their health.

Player Object Documentation