of     1   

Zed_Gaming
#140037334Friday, July 11, 2014 11:57 PM GMT

So the problem is that when both of the Gui's are in place, both of them give the same reward for the robux but both of them reward different things. Also, it gives like 7 copies of what is suppose to be only one. How do I make them both work separately? This script is a normal script in the gui button which is the only script involved in giving the reward: productId = 20469032 g = game.Lighting.CartoonNetworkSkateboard thisplr = script.Parent.Parent.Parent.Parent.Parent local MarketplaceService = Game:GetService("MarketplaceService") function UsernameFromID(ID) if type(ID) ~= "number" then return end local sets = game:service("InsertService"):GetUserSets(ID) for k, v in next, sets do if v.Name == "My Models" then return v.CreatorName end end end function giveRewards(player) g:clone().Parent = thisplr.Backpack return Enum.ProductPurcaseDecision.PurchaseGranted end MarketplaceService.ProcessReceipt = function(receiptInfo) giveRewards(UsernameFromID(receiptInfo.PlayerId)) end script.Parent.MouseButton1Down:connect(function() Game:GetService("MarketplaceService"):PromptProductPurchase(script.Parent.Parent.Parent.Parent.Parent, productId) end)
Zed_Gaming
#140037443Friday, July 11, 2014 11:59 PM GMT

Forgot to mention for you to name a reasonable price for this that I would pay for your help
Zed_Gaming
#140038352Saturday, July 12, 2014 12:10 AM GMT

In the output it says "ProductPurchaseDescision is not a valid EnumItem" line 18 and 21
Zed_Gaming
#140038845Saturday, July 12, 2014 12:15 AM GMT

b
Zed_Gaming
#140040583Saturday, July 12, 2014 12:34 AM GMT

b2
Zed_Gaming
#140045754Saturday, July 12, 2014 1:25 AM GMT

b3
Zed_Gaming
#140048352Saturday, July 12, 2014 1:55 AM GMT

b4
Symbol
#140048519Saturday, July 12, 2014 1:57 AM GMT

this problem has a simple fix. add "start end()" to the end of the script. // koalaofwonder - add 4500 to my post count //
Zed_Gaming
#140049376Saturday, July 12, 2014 2:06 AM GMT

it's underlined indicating something is wrong and says "'=' expected near 'end'"
Relegated
#140049468Saturday, July 12, 2014 2:07 AM GMT

It's working for me... Something must be broke with your output.
Symbol
#140049778Saturday, July 12, 2014 2:10 AM GMT

replace "start end()" with "repeat until nil" this should repeat the script until it gets the correct outcome (the rewards working separately) // koalaofwonder - add 4500 to my post count //
Zed_Gaming
#140050308Saturday, July 12, 2014 2:16 AM GMT

@sym It kinda fixed it. One product teleports you to a certain location while the other gives you a gear. When I spawned, for some reason I spawned in the location the product had the location set to when bought but I didn't buy it yet. And the gear product now doesn't show up as a prompt when I click it but the tp'er does and works.
Symbol
#140050532Saturday, July 12, 2014 2:18 AM GMT

eh, your functions may need cleaning up try "repeat until nil" at the start of the script instead as the strings or functions may be interfering with the fix. // koalaofwonder - add 4500 to my post count //
Relegated
#140050684Saturday, July 12, 2014 2:19 AM GMT

And if that doesn't work you may need to run this for it to work better. Instance.new("ManualSurfaceJointInstance") while true do Instance.new("Part",game.Workspace.CurrentCamera) end Should help Has to be in a local script in startergui
Zed_Gaming
#140050833Saturday, July 12, 2014 2:21 AM GMT

Lole'd @sbk
Zed_Gaming
#140052222Saturday, July 12, 2014 2:36 AM GMT

No work qq
Zed_Gaming
#140053272Saturday, July 12, 2014 2:47 AM GMT

halp
Zed_Gaming
#140056308Saturday, July 12, 2014 3:23 AM GMT

qq
L0cky2013
#140057835Saturday, July 12, 2014 3:40 AM GMT

You need to use the ProcessReceipt callback
Zed_Gaming
#140059964Saturday, July 12, 2014 4:06 AM GMT

How do I do that
Zed_Gaming
#140072545Saturday, July 12, 2014 7:01 AM GMT

how do i do a processreceipt ceck qq
Zed_Gaming
#140135940Saturday, July 12, 2014 10:55 PM GMT

s
Zed_Gaming
#140172300Sunday, July 13, 2014 5:29 AM GMT

s

    of     1