of     1   

excellentAnarchy
#140986609Sunday, July 20, 2014 9:56 PM GMT

wait(0.5) local player = script.Parent.Parent.Parent.Parent.Parent local tool = game.Lighting:findFirstChild("Burger") local productId = 20580787 local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId) end) local a = tool:clone() a.Parent = player.Backpack
excellentAnarchy
#140987202Sunday, July 20, 2014 10:01 PM GMT

Changed it to this: wait(0.5) local pla = script.Parent.Parent.Parent.Parent.Parent local tool = game.Lighting:findFirstChild("Burger") local productId = 20580787 local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId) local a = tool:clone() a.Parent = pla.Backpack end) -------------- Still doesn't work....
excellentAnarchy
#140987669Sunday, July 20, 2014 10:07 PM GMT

bump
excellentAnarchy
#140988221Sunday, July 20, 2014 10:12 PM GMT

The problem is, nothing happens, no output.
2008JoinedAndHacked
#140989850Sunday, July 20, 2014 10:31 PM GMT

--ya no wat caps matter wait(0.5) local pla = game.Players.LocalPlayer local tool = game.Lighting:FindFirstChild("Burger") local productId = 20580787 script.Parent.MouseButton1Click:connect(function() g=Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId) end) if g.PurchaseAccept==true then local a = tool:clone() a.Parent = player.Backpack end --this might work but if it doesnt pm me
2008JoinedAndHacked
#140990018Sunday, July 20, 2014 10:32 PM GMT

--oops wait(0.5) local pla = game.Players.LocalPlayer local tool = game.Lighting:FindFirstChild("Burger") local productId = 20580787 script.Parent.MouseButton1Click:connect(function() g=Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId) while true do if g.PurchaseAccept==true then local a = tool:clone() a.Parent = player.Backpack g.PurchaseAccept=false end wait() end end) --this might work but if it doesnt pm me
excellentAnarchy
#141008730Monday, July 21, 2014 1:45 AM GMT

wait(0.5) local player = game.Players.LocalPlayer local tool = game.Lighting:FindFirstChild("Burger") local productId = 20580787 script.Parent.MouseButton1Click:connect(function() while true do local g = Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId) wait() if g.PurchaseAccept == true then local a = tool:clone() a.Parent = player.Backpack else print"nope" end wait() end end) ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ The above seems to work, but it doesn't give me the burger...
HuntHello
#141009046Monday, July 21, 2014 1:48 AM GMT

does it print nope right after the gui pops up?
2008JoinedAndHacked
#141009853Monday, July 21, 2014 1:56 AM GMT

--oops wait(0.5) local pla = game.Players.LocalPlayer local tool = game.Lighting:FindFirstChild("Burger") local productId = 20580787 script.Parent.MouseButton1Click:connect(function() g=Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId) repeat until g.ProductPurchaseDecision=='PurchaseGranted' local a = tool:clone() a.Parent = player.Backpack end) --this might work but if it doesnt pm me
excellentAnarchy
#141010352Monday, July 21, 2014 2:00 AM GMT

You always leave out line 2 with the 'pla' error and I fix it up, but no that still doesn't work as it should...
HuntHello
#141010849Monday, July 21, 2014 2:05 AM GMT

what errors does it give?
excellentAnarchy
#141014507Monday, July 21, 2014 2:41 AM GMT

Players.cokePanda.PlayerGui.Picnic.Frame ImageButtontocalS:8: attempt to index global 'g' (a nil value)
excellentAnarchy
#141014796Monday, July 21, 2014 2:44 AM GMT

or 03:36:48 - Disconnected event because of exception 03:36:52 - doAcceptPurchase success from ypcall is true reason is nil if I swap some things around
excellentAnarchy
#141015892Monday, July 21, 2014 2:56 AM GMT

bump
excellentAnarchy
#141046181Monday, July 21, 2014 10:59 AM GMT

bump
excellentAnarchy
#141049080Monday, July 21, 2014 12:11 PM GMT

bump :/
excellentAnarchy
#141050097Monday, July 21, 2014 12:34 PM GMT

bumppp

    of     1