So i want to add a leaderboard with points , as if you buy something from the shop with robux you get that amount in points , but i dont know how , i already made the leaderboard script wich is
``game.Players.PlayerAdded:connect.(function(plr
local.stats=Instance.new("BoolValue",plr)
stats.Name-"leaderstats"
local cash = Instance.new("IntValue",stats)
cash.Name = "Points"
cash.Value - 0
end)`` how do i make the second script to show up the leaderboard with the points and add points if i buy somerhing with robux?