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 » Scripting Helpers
Home Search
 

Re: SurfaceGUI button text purchase

Previous Thread :: Next Thread 
NoobsAreTheWorld is not online. NoobsAreTheWorld
Joined: 04 Nov 2013
Total Posts: 2044
22 Aug 2014 12:13 PM
This is support to on click to allow the player buy a Gamepass (You know the roblox shop GUI) but for some reason it is not working. Its going in a SurfaceGUI

function Purchase()
Game:GetService("MarketplaceService"):PromptPurchase(script.Parent.Parent.Parent.Parent.Parent.userId, script.Parent.Parent.ID.Value)
end

script.Parent.MouseButton1Click:connect(Purchase)
Report Abuse
NoobsAreTheWorld is not online. NoobsAreTheWorld
Joined: 04 Nov 2013
Total Posts: 2044
22 Aug 2014 12:37 PM
BUMP
Report Abuse
baheeg is not online. baheeg
Joined: 19 Jul 2010
Total Posts: 72846
22 Aug 2014 12:48 PM
Output?
Report Abuse
NoobsAreTheWorld is not online. NoobsAreTheWorld
Joined: 04 Nov 2013
Total Posts: 2044
22 Aug 2014 12:52 PM
Yep
Report Abuse
NoobsAreTheWorld is not online. NoobsAreTheWorld
Joined: 04 Nov 2013
Total Posts: 2044
22 Aug 2014 03:00 PM
BUMP
Report Abuse
NoobsAreTheWorld is not online. NoobsAreTheWorld
Joined: 04 Nov 2013
Total Posts: 2044
22 Aug 2014 07:49 PM
BUMP
Report Abuse
Tripane is not online. Tripane
Joined: 03 Jun 2011
Total Posts: 11432
22 Aug 2014 07:52 PM
What do you mean "Yep"?

Post the output you derp
Report Abuse
NoobsAreTheWorld is not online. NoobsAreTheWorld
Joined: 04 Nov 2013
Total Posts: 2044
22 Aug 2014 07:54 PM
Sorry no I meant no it's just that Text button and surfacegui sorry
Report Abuse
NoobsAreTheWorld is not online. NoobsAreTheWorld
Joined: 04 Nov 2013
Total Posts: 2044
22 Aug 2014 09:00 PM
BUMP
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