The GetDeveloperProductsAsync() says that it “Returns a pages object which contains information for all of the current game’s developer products”, and I was wondering if there was a thing similar to this for game passes. I just want to create a gui that updates its game passes without me having to manually add/remove them.
1 Like
That’s not what OP was looking for. He wants a method to fetch all of the gamepasses registered to a game.
There is currently no Roblox Lua API for this but there is a web endpoint you can use to get a list of gamepasses. You can find it looking through the source code of the game page, or by intercepting HTTP requests. To use it in game you’d have to use a proxy to make a request to the Roblox website.
4 Likes
Thanks for the help guys — this is just what I was looking for