Is it possible to make a test player already own a gamepass?

I want to test my own gamepass code and I was curious if there was a way to test if the player already owned said gamepass without having to publish the game and buying the gamepass normally.

1 Like

hmm… I have not have heard of that… you could change the UserID of the PlayerTest to your ID, but I don’t know if that will work or not.

1 Like

No, as far as i know this isn’t possible as of now. However, guessing that you are using UserOwnsPassAsync you should be able to just ignore the check in your code, and act as if it returned true.

Related:


Or if you just need to just test once they buy the gamepass in general you can use: PromptGamePassPurchaseFinished and do a “custom” check.

1 Like

Bypass the conditional?

if RunService:IsStudio() or MarketplaceService:UserOwnsGamePassAsync(args) then
4 Likes