| |
|
| |
|
|
| 26 Mar 2014 07:18 PM |
function(bunghole.buy = true) then game.workspace.buy = true.devproducts = buyable if bunghole = nil then (nobuy) robux.money.price = 5000 and if buy.player.workspace then money.half = math.random.givemoney vector3.new(MECHANIZATION) then bunghole = false end end end end end |
|
|
| Report Abuse |
|
|
BladeXE
|
  |
| Joined: 22 Dec 2012 |
| Total Posts: 3857 |
|
|
| 26 Mar 2014 07:19 PM |
@tangyboxhead You ALMOST look invisible! |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
BladeXE
|
  |
| Joined: 22 Dec 2012 |
| Total Posts: 3857 |
|
|
| 26 Mar 2014 08:10 PM |
People help the guy damnit! http://wiki.roblox.com/index.php?title=Developer_Products |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 08:34 PM |
| Err that doesnt help sorry. |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 08:35 PM |
| You can't actually sell it off your game page. What you need to do is use Marketplace service to PromptProductPurchase the player in-game. I suggest an in-game gui store for this. |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 08:36 PM |
| Josh, I know that, could you psot a script please? or something similar because this is hard. |
|
|
| Report Abuse |
|
|
Azarth
|
  |
| Joined: 17 Aug 2012 |
| Total Posts: 2760 |
|
|
| 26 Mar 2014 08:38 PM |
| http://www.roblox.com/Automated-Dev-product-shop-GUI-item?id=150280310 |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 08:43 PM |
alright looking in the script. still a bit confusing, all I am interest in is a buying part not gui, I have that down
local function buyItem(button) button.MouseButton1Click:connect(function() local marketId = button["market"].Value local pointsToAward = button["points"].Value link:PromptProductPurchase(plr,marketId) link.ProcessReceipt = function(receiptInfo) if Enum.ProductPurchaseDecision.PurchaseGranted and receiptInfo.PlayerId == plr.userId then stat.Value = stat.Value + pointsToAward end end end) end
this is all i need to make people buy right? if so then can you tell me what each little bit does? |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 08:43 PM |
I'll just make it how I would in a gui.
local TextButton=TextButton local MarketplaceService=game:GetService("MarketplaceService") local ProductId=1239182391829318293812938123 local Player=game.Players.LocalPlayer
TextButton.MouseButton1Down:connect(function() MarketplaceService:PromptProductPurchase(Player,ProductId) end)
|
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 08:45 PM |
TextButton.MouseButton1Down:connect(function() MarketplaceService:PromptProductPurchase(Player,ProductId) end)
this is all I need to promt purchase? for real this is just it? oaky. |
|
|
| Report Abuse |
|
|
| |
|
|
| 26 Mar 2014 08:53 PM |
why don't you try and report back? also define marketplaceservice(with game:GetService()) |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 08:55 PM |
| Sorry, andlso i i made it but it calls market place a nil vlue (Before ou ask yes I can script, bu i never ,messed with dev prodcuts before.) and oyu said I need oit ot defined likt hat, but howwould I define it? |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 08:58 PM |
| game:GetService("MarketplaceService") not "MarketPlace" |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 08:58 PM |
| never mind fixed thanks!!! |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 09:02 PM |
| Remember that you won't get any money from it without process receipt. |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 09:03 PM |
Gah, and how would I do that ?
also the script works, but when I use it in online mode, there is no box to let me buy it. |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 09:06 PM |
| nvm i can buy now, but how to ge tmoney? |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 09:11 PM |
| er bump. I read the wiki again still dont understand, is there anyway to like run codeafter its bought to give me money and give palyer what ever it gives |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 09:12 PM |
If you're buying it from yourself you wont get any money. Just include in the script
MarketplaceService.ProcessReceipt=function(Info) if Info.userId==Player.userId then
--Awarding stuff
return Enum.ProductPurchaseDecision.PurchaseGranted end
|
|
|
| Report Abuse |
|
|