I made a block that if you pressed it there would be a purchase prompt. It didn't work though. A while back it worked but now it doesn't. The script:
local CLICK_BLOCK = script.Parent local ITEM_ID = 11844188 local MouseButton1Click = Instance.new("ClickDetector",CLICK_BLOCK) Click.MouseClick:connect(function(p) game:GetService("MarketplaceService"):PromptPurchase(p,ITEM_ID) end)
Click.MouseClick:connect(function(p)
"Click" is not defined, or at least not in the script you have shown us. Also you should capitalise the "c" in ":connect", as it is deprecated.