:PromptGamePassPurchase() prompting wrong gamepass?

I’m testing with gamepasses in a game. I created a gamepass that is not for sale and tried prompting it, however, a gamepass that I did not make shows up, why is this ?

rerfref

My ID of the gamepass is 7560195, please help.

I am sure it is something to do with the ID, it is not a bad script, it shows up exactly when I click something, like it’s supposed to.

2 Likes

There’s also a high chance your game has a backdoor (basically a virus). Do you have any studio plugins?

1 Like

Nope, it shows up exactly when I click on something, and that’s what I want it to do

1 Like

Can you share the line of code you’re calling :PromptGamePassPurchase() from?
There’s a chance you’re using the wrong ID.

2 Likes

Apparently, I copied the ID off the gamepass configure page, and it ended up being bigger than the actual ID by 5, I copied the ID off the actual page of the ID and it worked, thanks !