Get Player Amount

Yes, this is possible. It requires http services to scrape the web page of a roblox poxy.

web= game.HttpService:GetAsync("https://www.rprxy.xyz/games/Place ID goes here")
After that, it’s just string manipulation to get the number of players off the site.

function players_online(place_id)
	local web = game.HttpService:GetAsync("https://www.rprxy.xyz/games/"..place_id)
	local player_text = string.find(web,"Playing") -- find the online players section
	local new = string.sub(web,player_text)
	
	local number_start = string.find(new,">") -- find where the number starts
	new = string.sub(new,number_start)
	
	local number_end = string.find(new,"<") -- find where the number ends
	new = string.sub(new,2,number_end-1)
	
	local players_online = string.gsub(new,",","") -- in case it's over 1000 players
	return tonumber(players_online)
end
34 Likes