im trying 2 make it so that when a npc dies on my server, depending on the hitpoints of the npc, the player gets npc points

the npc points can be exchanged for benefits and items, like pk exchange.