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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: So uh...how can you purchase game passes in-game?

Previous Thread :: Next Thread 
SumoComputerMan is not online. SumoComputerMan
Joined: 20 Apr 2011
Total Posts: 3143
26 Jun 2013 03:07 PM
Or detect if a user has a specific game pass? Any tutorials that I could be pointed to?
Report Abuse
jrf2112 is not online. jrf2112
Joined: 29 Jun 2008
Total Posts: 3354
26 Jun 2013 03:08 PM
Google: roblox wiki game passes


Report Abuse
MeBilly8440 is not online. MeBilly8440
Joined: 27 Jul 2009
Total Posts: 2783
26 Jun 2013 03:08 PM
game:GetService("GamePassService"):PlayerHasPass(player, passId)

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
SumoComputerMan is not online. SumoComputerMan
Joined: 20 Apr 2011
Total Posts: 3143
26 Jun 2013 03:26 PM
Thanks, but how can you make it so that users can buy the passes in-game?
Report Abuse
jrf2112 is not online. jrf2112
Joined: 29 Jun 2008
Total Posts: 3354
26 Jun 2013 03:27 PM
You can't.
Report Abuse
SumoComputerMan is not online. SumoComputerMan
Joined: 20 Apr 2011
Total Posts: 3143
26 Jun 2013 03:28 PM
Nevermind, found it in the blog.
Report Abuse
jrf2112 is not online. jrf2112
Joined: 29 Jun 2008
Total Posts: 3354
26 Jun 2013 03:31 PM
WHAT?!?!?!!
Report Abuse
SumoComputerMan is not online. SumoComputerMan
Joined: 20 Apr 2011
Total Posts: 3143
26 Jun 2013 03:35 PM
...I knew you could, I've seen it in several games. http://blog.roblox.com/2013/05/sell-game-passes-and-gear-in-your-game-today/
Report Abuse
SumoComputerMan is not online. SumoComputerMan
Joined: 20 Apr 2011
Total Posts: 3143
26 Jun 2013 03:46 PM
help me with this?

script.Parent.MouseButton1Click:connect(function(player)
Game:GetService("MarketplaceService"):PromptPurchase(player, 120501173)
end)
Report Abuse
SumoComputerMan is not online. SumoComputerMan
Joined: 20 Apr 2011
Total Posts: 3143
26 Jun 2013 03:59 PM
player is returning nil
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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