Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I see the total number of players in a game?

Asked by 4 years ago

I am trying to make a tracker game where you can input an ID of a game, and it checks the total users in that game, not one individual server. How would I do this? I know a tiny bit of JSON encoding, like for discord webhooks, but I don't know much about decoding.

0
local plrCount = #game.Players:GetChildren() greatneil80 2647 — 4y
0
That doesn't work. I am talking about the total number of players in a game, NOT server. User#31709 0 — 4y
0
neil should lose 1880 rep for that Andy_Wirus 72 — 4y
0
ill brb SoftlockedUnderZero 668 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago

You need to use HttpService to get the player counts from the roblox website under the "About" section of the game.

Ad

Answer this question