How to make a kill counter

I dont want to make a gui, just a leaderstats, i know how to do all of it, except for the kill counter where it checks if you have killed someone and adds a kill to your leaderstats

1 Like

You would have to have deaths on your leaderstats and then call the deaths

Find the part Is the function of Tool exemple:
Sword.Touched
Damage.People
If IS hit written this
local Human = hit.parent:FindFirstChild(“Humanoid”)
Human.died:Connect(function()
Yourstats += 1
end)
If IS part written this
local Human = part.parent:FindFirstChild(“Humanoid”)
Human.died:Connect(function()
Yourstats += 1
end)
Trade the start of human with you character metody