Replacement for Roblox's TagHumanoid function (Rewards based on damage contributed OR last hit)

I updated the source code and the model
The attacker can be an NPC now, its name will be used to tag, which is not a unique value to indicate the correct attacker instance so you will have to manually add an ObjectValue in the tag function

Edit: The attacker can be an NPC now, the attacker character instance will be used to tag so it should be unique