how to get all(table or something) player’s gamepasses?
You’d need to use a proxy. You can make one yourself or use a public one, but that’s heavily unadvised. In case you still want to use a public one use RoProxy and in case you want to make one but don’t know how use RoProxy Lite.
Then to get access to the player’s inventory read this post:
There isnt a method to get all players gamepasses but you can create a table with every gamepassid or a dictionary were the key is the gamepassid and the value is a function which performs awarding the gamepass is special item or ability.