I really do not need this post anymore, thanks. If a moderator comes by, delete this post please.
The problem here is simple!
PromptProductPurchaseFinished
fires 3 arguments, the Player, the AssetID and the bool value which tells you if the purchase was sucessful from Roblox`s side.
The fact here is that you’re not checking the AssetID! Something just like the code below, could help:
if AssetID == 0000000 then
--> code here
end
And also, it is not recommended to use this when selling products. You should use PromptProductPurchaseFinished
and MarketplaceService. ProcessReceipt
.
Check it out in Developer Documentation: