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?

2 comments

0

You want to use Developer Products for this and you can start with this article as a guide: https://developer.roblox.com/en-us/articles/Developer-Products-In-Game-Purchases

0

Not really , i use a Catalog GUI and you can buy the clothing there with robux , and wanted to add an points counter for the ones who buys them with robux