game.Players.PlayerAdded:connect(function(player)
stats = Instance.new("IntValue", player)
stats.Name = "leaderstats"
money = Instance.new("IntValue", stats)
money.Name = "Money"
kills = Instance.new("IntValue",stats)
kills.Name = "Kills"
died = Instance.new("IntValue", stats)
died.Name = "Deaths"
end)
I'm trying to create a leaderboard with money, kills, and deaths. Bizarrely it only loads Money. Any ideas?

1 comment
Script works fine. Might I suggest making the variables local though?