so we all know PromptGamePassPurchaseFinished connects when a gamepass purchase is complete. but what if someone deletes the gamepass in their inventory on the roblox website and wants to buy again in game? i tried it myself and roblox said “gamepass is already owned” even though i deleted it a few seconds ago, but is it possible for some exploiter to bypass that and trigger the PromptGamePassPurchaseFinished connection multiple times to abuse idk some multiplier? should i be worried about this? if so, i will have to rewrite an entire script.
1 Like
IIRC, it can be fired multiple times, but not in the same session. The server caches the result, which means even if the player deletes the gamepass while in-game, the server that he is in won’t know, since the cache says that he still has the gamepass. So I’d say no, you don’t have to worry about that.
2 Likes
PromptGamePassPurchaseFinished includes a purchased boolean that tells you whether the player actually bought the gamepass. Make sure you check this value, because the event fires even if the player closes or cancels the purchase prompt, in which case purchased will be false.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.