Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why does marketplaceservice have so many annoyances when dealing with guis? [closed]

Asked by 10 years ago

This question already has an answer here:

Why does MarketPlaceService have some many loop holes?
local assetId = script.Parent.MarketID.Value
script.Parent.MouseButton1Down:connect(function()
Game:GetService("MarketplaceService"):PromptPurchase(game.Players.LocalPlayer, assetId, false, 2)
end)

I tried the above code inside of a local script and it still does not work. Also the following code is pasted inside of a gui. Please help.

Marked as Duplicate by evaera

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?