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

GamePass Help please?

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

✓ 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

1 comment

0

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

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