So in the popular game “Pls Donate”, it shows a list of shirts and gamepasses made by you and shows its price. Now I’ve figured out how I can display the shirts using https://catalog.roproxy.com/v1/search/items/details?Category=3&CreatorName=
but I can’t figure out how to do the same with gamepasses.
I’ve tried using this and changing the number to 34 like @Jumpathy has said but for some reason it didn’t work. The game also didn’t give any errors at all
My script that I currently have is different from the one that he has provided.
local http = game:GetService("HttpService")
local url = "https://catalog.roproxy.com/v1/search/items/details?Category=3&CreatorName="
proximityPrompt.Triggered:Connect(function(plr)
local data = http:JSONDecode(http:GetAsync(url .. plr.Name)).data
if data then
game.ReplicatedStorage.RemoteEvent:FireClient(plr)
table.sort(data,
function(a,b)
return a.price < b.price
end
)
for i, item in pairs(data) do
local newButton = script.DonateButton:Clone()
newButton.Text = item.price .. "R$"
local id = Instance.new("IntValue", newButton)
id.Value = item.id
newButton.Parent = itemsScroller
itemsScroller.CanvasSize = UDim2.new(0, itemsScroller.UIListLayout.AbsoluteContentSize.X, 0, 0)
end
end
end)
I can’t seem to be able to implement it anywhere or I’m just dumb