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
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?