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

How do I manipulate this script to both be able to purchase with r$ and tix?

Asked by
exit16 20
10 years ago

local MarketplaceService = game:GetService("MarketplaceService") local Player = game.Players.LocalPlayer local AssetId = 183270274

script.Parent.MouseButton1Down:connect(function() MarketplaceService:PromptPurchase(Player, AssetId) end)

0
There is a third and fourth argument to ProductPurchase, which are equipifPurchased and CurrencyType, just add to the Player, AssetId line , false, "Tix" M39a9am3R 3210 — 10y

Answer this question