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?
✓ ANSWER ACCEPTED
GamePass Help please?
1 answer
✓ Accepted 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
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Are you sure it's Currencytype.2 instead of Currencytype2? Because Studio Script editor said ')' expected near ".2"