You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I would like help and a script which detects when a player kills someone or the player dies, and adds one to the leaderstats.
What is the issue? Include enough details if possible!
I can’t figure out how to make it detect when a player dies and when they kill someone.
What solutions have you thought of so far?
I have tried seeing if humanoid health was less then 1 and if it was, it would add one to the deaths, but i dont know about the kills
All the leaderstats are done, and they are all being saved, I can also provide the script for the leaderstats if you need!