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

Getting all players leaderboard??

How would I get the leaderboard in all the players? Maybe this will work?

players = game.Players:GetPlayers()
for i,v in pairs(players) do
					rounds = v.leaderstats.stats2
					rounds.Value = rounds.Value + 1
end

2 comments

1

This works, it's just not efficient.

0

What Tkdriverx said. What you have is perfectly fine.

1 answer

What you have is fine. Unlike what Tkdriverx said, it isn't inefficient. Please do some testing on your own before you ask a question here.

If it ends up not working for whatever reason, what exactly are you trying to do with this?

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