Link5659
|
  |
| Joined: 04 Jun 2012 |
| Total Posts: 4525 |
|
|
| 10 Nov 2015 06:53 PM |
How can I use this script to detect when bought by the player and give them a tool (once) until they re-buy?
local bloxyColaId = 19184765 --Idc bloxy cola is good hehe
-- When a player clicks on the part, they will be asked if they wish to purchase the DevProduct script.Parent.ClickDetector.MouseClick:connect(function(player) Game:GetService("MarketplaceService"):PromptProductPurchase(player, bloxyColaId) end) |
|
|
| Report Abuse |
|
|
Stiiky
|
  |
| Joined: 15 Jan 2010 |
| Total Posts: 451 |
|
|
| 10 Nov 2015 06:57 PM |
| You need to use developer products for that. |
|
|
| Report Abuse |
|
|
Link5659
|
  |
| Joined: 04 Jun 2012 |
| Total Posts: 4525 |
|
|
| 10 Nov 2015 06:59 PM |
| oh really now .-. did you read it, im trying to detect when the player buys it and gives them a tool (gun) then say they die of course they loose it they msut re-buy the developer product (not good w/ words) |
|
|
| Report Abuse |
|
|
Link5659
|
  |
| Joined: 04 Jun 2012 |
| Total Posts: 4525 |
|
|
| 11 Nov 2015 12:15 PM |
| its ok I didn't need anyone's help ;3 solved my own question |
|
|
| Report Abuse |
|
|