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

How to get the leader of a game?

Is there any way I could get the person with the most kills in a game? Or at least find the player in spot 1 on the leaderboard? Thanks!

1 answer

Use a for loop to get the scores, and use a if statement in each loop to see which is the highest by repeatedly setting the value to said score, assign all the values into a table.

3 comments

0

But how would I get the highest value in say a variable?

0

But that website just explains in pairs loops, it doesn't tell how I would do this?

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