generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How would I prompt a product purchase with Tickets?

Previous Thread :: Next Thread 
Flynnify is not online. Flynnify
Joined: 20 Aug 2014
Total Posts: 2930
12 May 2015 09:39 PM
Default is Robux, so how would I make it become Tickets instead?

This is the simple function I'm currently using:

function PromptPurchase()
game:GetService("MarketplaceService"):PromptProductPurchase(Player,GamepassId)
end
Report Abuse
ExplicitThoughts is not online. ExplicitThoughts
Joined: 28 Dec 2010
Total Posts: 3550
12 May 2015 09:50 PM
uh.. scripts.
Report Abuse
SMS1337 is not online. SMS1337
Joined: 19 Feb 2014
Total Posts: 10504
12 May 2015 09:51 PM
function PromptPurchase()
game:GetService("MarketplaceService"):PromptProductPurchase(Player,GamepassId,true,Enum.CurrencyType.2)
end
Report Abuse
Flynnify is not online. Flynnify
Joined: 20 Aug 2014
Total Posts: 2930
12 May 2015 09:51 PM
thanks, 1 would be robux right?
Report Abuse
SMS1337 is not online. SMS1337
Joined: 19 Feb 2014
Total Posts: 10504
12 May 2015 09:52 PM
yes
Report Abuse
Flynnify is not online. Flynnify
Joined: 20 Aug 2014
Total Posts: 2930
12 May 2015 09:54 PM
rad
Report Abuse
Flynnify is not online. Flynnify
Joined: 20 Aug 2014
Total Posts: 2930
12 May 2015 10:02 PM
Not working, actually.
Report Abuse
SMS1337 is not online. SMS1337
Joined: 19 Feb 2014
Total Posts: 10504
12 May 2015 10:04 PM
function PromptPurchase()
game:GetService("MarketplaceService"):PromptProductPurchase(Player,GamepassId,true,Enum.CurrencyType.Tix)
end
Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
12 May 2015 10:24 PM
function PromptPurchase()
game:GetService("MarketplaceService"):PromptProductPurchase(Player,GamepassId,Enum.CurrencyType.Tix)
end
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image