I tried to prompt a dev product purchase when this button gets touched but it does not seem to prompt the purchase of the dev product, here's the code:
local devid = 537087966
script.Parent.Touched:Connect(function()
game:GetService("MarketplaceService"):PromptProductPurchase(game.Players.LocalPlayer, devid)
end)
(It's in a local script if that makes a difference)

1 comment
If that makes a difference yes it does. Btw what kind of freakin (no offence) system lets u call a purchase in the client god help us