So I am trying to create a gamepass shop for my game. I have the GUI and everything setup, The issue I am having is it is not giving the player the gun.
This is the local script inside the purchase button which works. It brings the purchase GUI up.
This is in ServerScriptService which should give it the gun when respawned but it does not.
Unfortunately, Marketplace Service doesn’t cache whether or not a user owns a gamepass after they’ve bought it in game. You probably want to use an event called “PromptGamePassPurchaseFinished,” Which is fired directly after a player purchases a gamepass in the game. You can read more about it here: