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: "your purchase failed because something went wrong"?

Previous Thread :: Next Thread 
ServerMinded is not online. ServerMinded
Joined: 13 Aug 2012
Total Posts: 2704
03 Sep 2017 03:58 PM
local buyButton = script.Parent local productId = ########## buyButton.MouseButton1Click:connect(function() ##################################################################################### productId) end) whats wrong wit it ?? :(
Report Abuse
ServerMinded is not online. ServerMinded
Joined: 13 Aug 2012
Total Posts: 2704
03 Sep 2017 04:00 PM
local buyButton = script.Parent
local productId = TAGS(gamepass ID)

buyButton.MouseButton1Click:connect(function()
game:GetService("MarketplaceService"):PromptProductPurchase(game.Players.LocalPlayer, productId)
end)
Report Abuse
ServerMinded is not online. ServerMinded
Joined: 13 Aug 2012
Total Posts: 2704
03 Sep 2017 04:13 PM
halp i even tried PromptPurchase

can some1 give me a gamepass script
Report Abuse
ServerMinded is not online. ServerMinded
Joined: 13 Aug 2012
Total Posts: 2704
03 Sep 2017 04:44 PM
fgddfgdfgdfgdfgfdgfg
Report Abuse
Boots1892 is not online. Boots1892
Joined: 28 Mar 2016
Total Posts: 29
03 Sep 2017 04:50 PM
Read this: http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/PromptGamePassPurchase



Jet fuel can't melt steel beams.
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