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

How do I make an IntValue that tells me how many players are on another place?

Asked by
LawlR 182
6 years ago

I've got a gui that when I press a button, it teleports me to another place that's in the game. How do I make an IntValue that tells me how many players are playing that place? Something that looks like this: Players: 10

1 answer

Log in to vote
0
Answered by
Avigant 2374 Moderation Voter Community Moderator
6 years ago

You'd want to use HttpService with this. You could simply parse the HTML of the game's page to see how many players are in it. You'd need to use a proxy for this since you can't send HttpService requests directly to Roblox.

Using DataStoreService for this would be a hack, but would potentially be technically possible.

0
Isn't HttpService removed? LawlR 182 — 6y
0
No, it's not removed. Avigant 2374 — 6y
Ad

Answer this question