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

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 have this code inside of the gui to make it be able to buy something but it does not work for some reason.

1 comment

0

Do I need to keep the game.Player.LocalPlayer part?

1 answer

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