This error shows up when I'm trying to buy something using the code for triggering the GUI: game:GetService("MarketplaceService"):PromptProductPurchase(plr, product). In normal roblox studio testing mode, however this doesn't appear, but in the local server it does and it never runs the script afterwards. I'm afraid this will happen in the game too. Does anyone know how to avoid this error ?

1 comment

0

Can you show your whole script?