- Not to be confused with Player list, as well as the discontinued feature on game details page that utilized player points.
In Roblox, a leaderboard is a display of players' stats. Leaderboard stats often included KOs/WOs, currency, level and EXP, time played and round survived. A leaderboard is created by placing a value named "leaderstats" inside of a player, and then by placing values inside of that.
Creating a Leaderboard
game.Players.PlayerAdded:Connect(function(plr) local ls = Instance.new("Model") ls.Name = "leaderstats" ls.Parent = plr local m = Instance.new("IntValue") m.Name = "Money" m.Value = 100 m.Parent = ls end)
Changing a leaderstat is as simple as changing the value of the IntValue created.
game.Players.PlayerName.leaderstats.Money.Value = game.Players.PlayerName.leaderstats.Money.Value + 10