|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 12 Mar 2017 02:38 PM |
| put a print right after the connection line and tell me if it prints |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 12 Mar 2017 02:52 PM |
https://www.roblox.com/library/572582660/PurchaseHandler
|
|
|
| Report Abuse |
|
|
|
| 12 Mar 2017 03:02 PM |
remove the end without a paren
|
|
|
| Report Abuse |
|
|
|
| 12 Mar 2017 03:04 PM |
Irrelevant
This is red, what we call. "You paint well" then said all |
|
|
| Report Abuse |
|
|
|
| 12 Mar 2017 03:05 PM |
Wait a minute.
This is red, what we call. "You paint well" then said all |
|
|
| Report Abuse |
|
|