Enum.ProductPurchaseDecision.NotProcessedYet Help Interrogation?

Hello, I’m trying to secure my developpers products, but I’m having a hard time understanding what this line of code does. It says that if the Pcall fails, then when the player rejoins, the code will retry. But if this retry is performed just as the player joins, then it will be an error loop, as the player’s save values won’t even have time to be loaded before this line is triggered, so the Pcall will fail every time the player joins.

Am i wrong ? Could you help me understand what it does and how make it work ? Thank you any help is apprecied.

It means the purchase request has been sent to the player, but it hasnt been processed yet.

(note i only read the title and the line you highlighted so lmk if i missed anything)

1 Like

yield until your data is loaded lol

1 Like

Seem like reasonable, thank you for your help.

1 Like

If ever someone read this, the roblox documentation provide the good script, so the script you can see in the main post is the good one. I was just confused. There is no need to yield the script

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.