Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a leaderboard?

I have looked at peaspod's leaderboard tutorial but I messed up or something because it don't work every time. So, how do I make a leaderboard?

1 comment

0

This is not a request site. Please post code that you are having issues with as well as a description of the issue and we will do our best to help you out.

2 answers

This is not a request site. Please refer to the Wiki for help. They have a whole leaderboard tutorial.

Basically you insert a model called leaderstats into players when they join:

game.Players.PlayerAdded:connect(function(player) --We create a function that will execute when PlayerAdded fires.
     local leaderstats = Instance.new("Model", player) --We insert an Model into the the new player (player)
     leaderstats.Name = "leaderstats"
 end) --closes function

Then you would have a script insert a IntValue into leaderstats

This discussion is preserved as it was. New answers, comments, and votes are closed.