So when the player dies, i multiply the KO's for 0...something like
function onHumanoidDied(humanoid, player)
local stats = player:findFirstChild("leaderstats")
if stats ~= nil then
local kills = stats:findFirstChild("KOs")
kills.Value = kills.Value * 0
end
it works but idk if i should make it that way...

4 comments
you could just set it to 0 :/
and that works fine for roblox's default leaderboard
No need to over complicate things. Just set it to 0. Also, you have arguments for the function as if the .Died function has parameters. Is there something I'm missing here or is this supposed to be just practice, or does the .Died event actually has a humanoid and player parameter?
No need to over complicate things. Just set it to 0. Also, you have arguments for the function as if the .Died function has parameters. Is there something I'm missing here or is this supposed to be just practice, or does the .Died event actually has a humanoid and player parameter?