Hey, I would recommend that you find the killer through the remote event sent from the weapon to kill a player or just through the weapon. Like take the damage and check if the player has greater than 0 health, if not then your killer is the guy who held the weapon.
*EDIT: If you want to keep your current system, then I guess make sure “stringVal.Value” changes before the player dies.