When player clicks button to purchase clothing, it doesn’t prompt purchase the item, but an error.
This error has only been in my game for 1-2 days without my realizing, I don’t know why it happens. Anyone help? (this is for most the clothing in my store btw)
The script:
local CLICK_BLOCK = script.Parent
local ITEM_ID = 7080865035 --ID Number of clothing
local Click = Instance.new("ClickDetector",CLICK_BLOCK)
Click.MouseClick:connect(function(p)
game:GetService("MarketplaceService"):PromptPurchase(p,ITEM_ID)
end)