like the title says, this is my script
local MarketplaceService = game:GetService("MarketplaceService")
local HttpService = game:GetService("HttpService")
local Final = {}
local URL = "https://catalog.roproxy.com/v1/search/items/details?Category=11&Subcategory=5&CreatorTargetId=1&SortType=4&SortAggregation=5&Limit=30"
repeat
Data = HttpService:JSONDecode(HttpService:GetAsync(URL))
for _,item in ipairs(Data.data) do
table.insert(Final, item)
end
URL = "https://catalog.roproxy.com/v1/search/items/details?Category=11&Subcategory=5&CreatorTargetId=1&SortType=4&SortAggregation=5&Limit=30".."&cursor="..(Data.nextPageCursor or "")
until not Data.nextPageCursor
for i, v in Final do
local Img = "rbxthumb://type=Asset&id="..v.id.."&w=420&h=420"
table.insert(Gears, {
["Name"] = v.name,
["Description"] = v.description,
["Price"] = v.highestPrice or v.lowestPrice or v.price,
["ID"] = v.id,
["Index"] = i,
})
end
the Data only returns total of 1000 gears and theres way more gears in roblox than that, is there a fix?