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

What are the properties of a leaderboard?

I've made a custom leader board and want to know what I can edit from color, size, etc. Can you list some properties that I can use with an example code of it? Thanks!

1 answer

✓ Accepted answer

If you aren't already, you could use ROBLOX Studio to view the properties. Other than that, I don't know what you mean by leaderboard. Please elaborate.

As for the example code. This should be a normal ROBLOX leaderboard.

game.Players.PlayerAdded:connect(function(p)
	l=Instance.new("IntValue",p)
	l.Name="leaderstats"
	t=Instance.new("IntValue",l)
	t.Name="Time"
end)

After that you can edit values by saying:

game.Players.PlayerAdded:connect(function(p)
	l=Instance.new("IntValue",p)
	l.Name="leaderstats"
	t=Instance.new("IntValue",l)
	t.Name="Time"
end)

while wait(1) do
	t.Value=t.Value+1
end

Hope it helps.

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