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

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

Asked by
istiyak 13
10 years ago

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

Log in to vote
0
Answered by 10 years ago

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)
Ad
Log in to vote
2
Answered by 10 years ago

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)
Log in to vote
0
Answered by 10 years ago

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

Log in to vote
0
Answered by 10 years ago

Roblox created a plugin to make adding group gear,hats,shirts,t-shirts into a ingame store easier

The link to the roblox blog post about the plugin can be found here: http://blog.roblox.com/2013/06/this-plugin-makes-creating-in-game-stores-simple/

Log in to vote
0
Answered by
Adryin 120
10 years ago

@Heavenly, ~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~

Answer this question