Hello I want to make a brick that i can click to buy a dev product. I tried it with this script but it doesnt work
script.Parent.MouseClick:Connect(function()
game:GetService("MarketplaceService"):PromptProductPurchase(game.Players.LocalPlayer,1069575853)
end)
thanks for your help.
