Why does this only work with a sword, and not a gun?

So how do I make it kill a player, and I get the coin?

I have stated it many times to include the print, we’ll get that to that point when we know what we are dealing with, since a mistake will cause an error, no rush

I pasted the thing you sent to me, now what?

Test the game out, deal damage, and see what prints in the output

Screenshot 2021-05-03 213205

Probably a inefficient method although you could go to where it calls the function tag humanoid and just add to the players leaderstats if the bullet hit a humanoid and its health is lower or at 0

Where in the script would I put it?

Could you show me the part when it calls the function TagHumanoid()?