How would I get the number of the top server in a game

  1. What do you want to achieve?
    Hello! Im looking for a way to check the top servers player count in a game
    Like get the 9 in this number https://imgur.com/a/dkRdzeQ

  2. What is the issue?
    Im having trouble finding a way

  3. What solutions have you tried so far?
    Right now im trying to use the messaging service to get the number of players in a server and pick the highest

here is the recieving script
```lua
MessagingService:SubscribeAsync(‘TopGame’, function()

return #game.Players:GetChildren()

end)``` any tips are appreciated!

I’m not sure how intensive or reliable messaging service would be when checking a lot of servers at once, but it’s a fairly valid solution. I don’t know of any built in API that lets you do this.

2 Likes