I need help making a brick so when you click it you can purchase a developer product.
COMMUNITY QUESTION
Developer Product Buyer?
1 answer
Hello! This should work for you.
local GamePass = 168606514
script.Parent.ClickDetector.MouseClick:connect(function(player)
Game:GetService("MarketplaceService"):PromptPurchase(player, GamePass)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thanks