Give Player an Item using player.giveItem()

Please note this script will work on the Damaged, Killed, Attack and Target Hooks, but you'd first have to check if the appropriate target for each Hook is a player, and then use that object in place of the "player" variable.