hi like i said in title how im can do that
COMMUNITY QUESTION
how get total of players from game NOT SERVER?
2 answers
not too sure what you mean, but you can get every player like this:
local players = game.Players:GetPlayers()
or
for _,player in pairs(game.Players:GetPlayers()) do
print(player.Name)
end
Be sure to accept this if it answered your question, Thanks
2 comments
0
I think he's referring to the total number of players playing his game.
0
number of Players in all Servers
local GetName = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
local http = game:GetService("HttpService")
print("https://www.rprxy.xyz/games/"..game.placeId)
local web = http:GetAsync("http://api.rprxy.xyz/universes/get-universe-containing-place?placeid="..game.placeId)
web = (web:gsub("[%D+]", ""))
local play = http:GetAsync("http://games.rprxy.xyz/v1/games?universeIds="..web)
local start,last = play:find("playing")
last=last+2
local start,back = play:find("vis")
back=back-5
local plays = play:sub(last+1,back)
print(plays)
ooga ooga im need know java well
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
#game:GetService("Players"):GetPlayers()