I barely started learning about leaderboards and i want to know how can you record kills. This is what i got. I don't know what to go from there
game.Players.PlayerAdded:connect(function(player)
local stat = Instance.new("IntValue", player)
stat.Name = "leaderstats"
local money = Instance.new("IntValue",stat)
money.Name = "Money"
money.Value = 20
local kills = Instance.new("IntValue",stat)
kills.Name = "Kills"
kills.Value = 0
end)

1 comment
Yes that's what i did, but it kept giving me Argument 1 errors and Player nil errors as well.