Can't get my gamepass ID

Hello there,

I am currently working on a gamepass UI, and I can’t seem to get it to let me buy a gamepass while in game.
image

The result is that it shows a decal instead of my gamepass.

image

Even though I used the correct gamepass ID.

Does anyone know what I am doing wrong? If so please let me know.

1 Like

Use PromptGamePassPurchase() instead of PromptPurchase() because PromptPurchase() is for catalog items and other things such as models from the library.

1 Like

Appreciate the help.

1 Like

No problem. Btw, that gui looks pretty neat.

1 Like

Thanks! It’s Viking-themed

What the full version looks like

Same, is there any way I can get it to work because at the moment can’t find a way done a lot of coding but can’t seem to get around the update that happened still.

1 Like

No you have to use the new method PromptGamePassPurchase otherwise it won’t show the right item you want

1 Like

Oh, right didn’t notice that thanks for letting me know!

1 Like