Is there any way to get the player who killed an NPC without adding any modifications to the weapon scripts? Like get the player using a script attached to the NPC or something like that?
COMMUNITY QUESTION
Get the player who killed an NPC?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Depending on what kind of weapons you're using, there's a pretty standard system of there being a value titled "creator" in the humanoid of the dead character. Which you can read when they die. But it all depends on weather or not the weapons you're using support it.