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: [?] Scripting Question!

Previous Thread :: Next Thread 
Xonious is online. Xonious
Joined: 01 Jan 2009
Total Posts: 1820
20 Oct 2015 12:05 PM
Would it be possible to bring the Gamepass Item Function into a GUI button clicked function?

Like, clicking a GUI checks if you have the Pass, and if you do, you get something.

How would I do that?
Report Abuse
LightningToaster is not online. LightningToaster
Joined: 17 Sep 2012
Total Posts: 68
20 Oct 2015 12:26 PM
Yes it is possible, go for it and if you get stuck I'll try to help.
Report Abuse
EnergyCell is not online. EnergyCell
Joined: 11 Jan 2009
Total Posts: 2306
20 Oct 2015 12:26 PM
game:GetService("GamePassService"):PlayerHasPass(player, passid)
Report Abuse
Kamov is not online. Kamov
Joined: 07 Aug 2008
Total Posts: 29015
20 Oct 2015 12:27 PM
http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/PlayerOwnsAsset

http://wiki.roblox.com/index.php/Beginner's_GUI_Tutorial#TextButton
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
20 Oct 2015 12:33 PM
psst did you know you can Prompt a purchase locally!
Report Abuse
Xonious is online. Xonious
Joined: 01 Jan 2009
Total Posts: 1820
20 Oct 2015 12:34 PM
Already done.
Thank you, everyone.
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