Https service not working right

so im trying to make a random game finder and it kinda works. the only problem is that 98% of games on roblox are templates so i tried to make it check how many visits the game has then make sure its above 100. problem is it just doesn’t get the correct number of visits

local MPS = game:GetService("MarketplaceService")
local TS = game:GetService("TeleportService")
local HttpService = game:GetService("HttpService");
local finder = script.Parent
local id = 0
local visits = 0

local function onrandomize(player)
	finder.Randomize.ClickDetector.MaxActivationDistance = 0
	finder.Play.ClickDetector.MaxActivationDistance = 0
	repeat
		repeat
			id = math.random(25415,999999999)
		until MPS:GetProductInfo(id).AssetTypeId == 9 and MPS:GetProductInfo(id).Created ~= MPS:GetProductInfo(id).Updated
		repeat
			local Response = HttpService:RequestAsync({
				Method = "GET";
				Url = string.format("https://games.rprxy.xyz/v1/games?universeIds=%d", id);
			});

			if (Response.Success and Response.Body) then
				local Body = HttpService:JSONDecode(Response.Body)

				if (Body.data[1]) then
					local Visits = Body.data[1].visits;
					visits = Body.data[1].visits
				end
			end
		until Response.Success and Response.Body
		finder.Id.SurfaceGui.TextLabel.Text = "Searching..."
		finder.GameName.SurfaceGui.TextLabel.Text = "Searching..."
		print(id,visits)	
	until visits >= 100
	visits = 0
	finder.Id.SurfaceGui.TextLabel.Text = id
	finder.GameName.SurfaceGui.TextLabel.Text = MPS:GetProductInfo(id).Name
	finder.Screen.Decal.Texture = "rbxassetid://"..MPS:GetProductInfo(id).IconImageAssetId
	finder.Randomize.ClickDetector.MaxActivationDistance = 32
	finder.Play.ClickDetector.MaxActivationDistance = 32
end

local function onplay(player)
	TS:Teleport(id, player)
end

finder.Randomize.ClickDetector.MouseClick:Connect(onrandomize)
finder.Play.ClickDetector.MouseClick:Connect(onplay)


thats from logs ingame first value is id second is visits (none of them are correct)

sidenote it also takes a very long time due to the fact that it just randomly checks ids repeatedly, does anyone know a better way to do this?

I think it is correct visits, and It is random game made by automatically when making account i guess.

are u making visits board i have a completed script

You can try use to model [OPEN SOURCE] Visits Goal Board

if (Body.data[1]) then
local Visits = Body.data[1].visits;
visits = Body.data[1].visits
end

change it to

if (Body.data[1]) then
local Visits = Body.data[1].visits;
visits = Visits
end