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: im probably autistic

Previous Thread :: Next Thread 
ninjaguy77777 is not online. ninjaguy77777
Joined: 15 Oct 2011
Total Posts: 2382
12 Mar 2017 02:24 PM

local ITEM_ID = 51474131


script.Parent.ClickDetector.MouseClick:connect(function(player)
game:GetService("MarketplaceService"):PromptProductPurchase(player,ITEM_ID)

end
end)




whats gonna work, teamwork!
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
12 Mar 2017 02:24 PM
click detectors don't work in FE I think, use a print to see if the function even fires
Report Abuse
ninjaguy77777 is not online. ninjaguy77777
Joined: 15 Oct 2011
Total Posts: 2382
12 Mar 2017 02:26 PM
local ITEM_ID = 51474131

local Click = Instance.new("ClickDetector",script.Parent)

Click.MouseClick:connect(function(player)
game:GetService("MarketplaceService"):PromptProductPurchase(player,ITEM_ID)

end
end)






whats gonna work, teamwork!
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
12 Mar 2017 02:38 PM
put a print right after the connection line and tell me if it prints
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
12 Mar 2017 02:52 PM
https://www.roblox.com/library/572582660/PurchaseHandler


Report Abuse
ExtremeBuilder15 is online. ExtremeBuilder15
Joined: 01 May 2012
Total Posts: 3176
12 Mar 2017 03:02 PM
remove the end without a paren


Report Abuse
BlockByBrick is not online. BlockByBrick
Joined: 26 Jan 2011
Total Posts: 1962
12 Mar 2017 03:04 PM
Irrelevant

This is red, what we call. "You paint well" then said all
Report Abuse
BlockByBrick is not online. BlockByBrick
Joined: 26 Jan 2011
Total Posts: 1962
12 Mar 2017 03:05 PM
Wait a minute.

This is red, what we call. "You paint well" then said all
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