How do I get all gamepasses from a game?

This isn’t for one specific game, or I would just manually make a gamepass button.

I’ve read previous posts (this post) And it claims you need a proxy. How would I do that? And how do the pages work?

Any help would be appreciated. Thank you.

what you mean? you no know how to buy gamepass? or you want to make a gamepass shop ui on studio? if you trying to sell gamepass from ui try this:

	local mps = game:GetService("MarketplaceService")
	local ItemId = 0 -- Set your own gamepass id here
	local player = game.Players
	mps:PromptGamePassPurchase(player.LocalPlayer, ItemId)