Old Gamepass ID problems

Yes, I know that they’ve updated gamepasses, however I thought that only applied to new gamepasses…

I’m using the gamepass script off of Roblox sets > Game Stuff > Gamepass Admin Tools by setman

Thats the gamepass ID

1

Using that script, I input the ID in the int value.
I get this yellow message in output instead of obtaining my weapon.

3

Now, once again, I know they updated gamepass ID’s, however I thought that only applied to new gamepasses. I’ve also never have had this issue before, so what do I put “MarketplaceService:PlayerOwnsAsset” at?

You should use the new ID with the new Gamepass Functions

https://gyazo.com/a6aa372e0c9fbc9cec98f591810e533f

(If you use that Method with a LocalScript it will Error you aren’t checking the LocalPlayer.)


The ID that is shown on the web will automatically be shown as the New Gamepass ID that’s why even if you created that gamepass in 2008 the new ID can’t be use with :PlayerOwnAsset()

I don’t think there is a way to obtain the Old Gampass ID as the Gamepass Update is still being worked on, a lot of stuff is broken and still being worked on. (I feel your pain)

1 Like

On line 40, change it to if MarketplaceService:UserOwnsGamePassAsync(player.UserId, GamePassIdObject.Value) then

Also, on line 16, change it to local MarketplaceService = game:GetService('MarketplaceService')

That should fix your problem! :slight_smile:

2 Likes

Thank you for sharing that with me, now I know. :slight_smile:

Thank you for this. Now I know what to do for next time. :smiley: