How can i make a custom leaderboard?
✓ ANSWER ACCEPTED
How to make a custom leaderboard?
2 answers
✓ Accepted answer
function onPlayerEntered(newPlayer) -- when player enters gets gives leaderboard
local stats = Instance.new("IntValue")
stats.Name = "leaderstats"
local xp = Instance.new("IntValue") -- change xp to the name of the want you want it to be make sure there are no spaces and change xp.value = " what you want the player to start with"
xp.Name = "XP"
xp.Value = 0
xp.Parent = stats
easy
I guess that @above would work but I searched Leaderboard on the wiki and it tells you how to do it.
This discussion is preserved as it was. New answers, comments, and votes are closed.
