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: Player Purchase help!!

Previous Thread :: Next Thread 
DANIELSBERG is not online. DANIELSBERG
Joined: 11 Jul 2012
Total Posts: 122
18 Dec 2016 05:00 PM
script.Parent.TextButton.MouseButton1Click:connect(function(player)
game:GetService("MarketplaceService"):PromptPurchase(player, 547682937)
end)

This is not a local script. Only a Normal script. How does it not work? Help me.


- DANIELSBERG, Chief Executive Officer of Norwegian_Airlines & KLM Dutch Airlines
Report Abuse
JoshRBX is not online. JoshRBX
Joined: 19 May 2012
Total Posts: 8778
18 Dec 2016 05:06 PM
Use a LocalScript instead?
Report Abuse
CWRA0444 is online. CWRA0444
Joined: 14 Jan 2010
Total Posts: 6013
18 Dec 2016 05:09 PM
"player" is nil. You have to manually define player.
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