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

how do you make a shop that cost real robux and tix?

i want to try out how nikilis (Murder mystery maker) did this and i want to put it in my game and in not a good scripter myself :( can anyone please give me a gui i could use?

5 answers

✓ Accepted answer

Yes You Can Do This Line Of Code Or Just Use The Following game:GetService("MarketPlaceService"):PromptPurchase(ID_Here, Character) Or For GUIs (Do this in a local script)

script.Parent.MouseButton1Down:connect(function()
game:getService("MarketPlaceService"):PromptPurchase(ID_HERE, LocalPlayer)
end)

and For Bricks

script.Parent.Touched:connect(function()
game:getService("MarketPlaceService"):PromptPurchase(ID_HERE, LocalPlayer)
end)

local productId = Last numbers of the product local player = locate the player

script.Parent.MouseButton1Down:connect(function()
	game:GetService("MarketplaceService"):PromptPurchase(player, productId, false)
	print(player.Name .. " has requested to purchase product with product ID " .. productId)
end)

There's a plugin for this, called Store Creator. It's by roblox.

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