Dev Porduct Multiplies

Hey, so I have a developer product which works fine but it multiplies every time you buy it again. By multiplies I mean it runs the action again eg. If I bought it the first time it would do the action 1 time, but if I bought it again in would do the action 2 times, then 3 times, then 4 times etc. It does this on both of my developer products

Code:

example:

1 Like

put a return Enum.ProductPurchaseDecision.PurchaseGranted basically the script doesnt know if the player purchase finished or not so it loops it everytime, put that so it knows the things were granted

Thanks! Really helpful as this is my first time using dev products!