Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I get a player who killed a mob or player?

Asked by 4 years ago

So I am trying to check if a Player has killed a Mob or other Player, and then give them EXP when the mob dies. I know how to use Humanoid.Died, but I have no idea to check what player killed the humanoid. Should I put a localscript in the tool that checks if the player has killed the mob, then fires to the server?

Answer this question