Hello! I am currently attempting to get the amount of players in a place through rprxy.xyz proxy. I have the script which will allow me to see the amount of players in the universe, however I do not know how to get the amount of players in a place. I have tried to use https://games.rprxy.xyz/v1/games?placeIds=
however that does not work. Any help? Here is the script right now.
while wait(3) do
local ID = 7038305542
function players_online(place_id)
return pcall(function()
local web = game.HttpService:GetAsync("https://games.rprxy.xyz/v1/games?universeIds="..ID)
local data = game.HttpService:JSONDecode(web)
return data.data[1].playing
end)
end
local Success, playing = players_online()
if Success then
script.Parent.Parent.Count.Text = "Playing: "..playing
print(playing)
else
print("Error found")
end
end