Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Prompting Dev Products when Touched?

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

0

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

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.