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

GamePass Help please?

Asked by 10 years ago

I have a gamepass, which I am selling for Tix and R$. I have encountered a problem. I have a Gui, scripted to pop up with the Marketplace :PromptPurchace(player,id) but it tells us to buy it in robux, that's normal. I now have another button, but I want it to be sold in Tix this time but with the same id (157747667) Can someone please help me?

1 answer

Log in to vote
-1
Answered by 10 years ago

Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer.

game:GetService("MarketplaceService"):PromptPurchase( player, 157747667, false, Enum.Currentcytype.2 ) The arguments are the player to prompt, the asset id, to equip after purchase, and the type of currentcy; 0=Default 1=Robux 2=Tix

0
Are you sure it's Currencytype.2 instead of Currencytype2? Because Studio Script editor said ')' expected near ".2" fahmisack123 385 — 10y
Ad

Answer this question