Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My Developer Products won't work? [ANSWERED]

Asked by 8 years ago
Edited 8 years ago
01game.Players.PlayerAdded:connect(function(plr)
02    local frame = script.Parent
03    local robux = script.Parent.Parent.Parent.Parent.Robux
04    local mps = game:GetService("MarketplaceService")
05    local button1 = frame.b1000 local id1 = 36477699
06    local button2 = frame.b5000 local id2 = 36477717
07    local button3 = frame.b15000 local id3 = 36477751
08    local button4 = frame.b85000 local id4 = 36477768
09 
10    button1.MouseButton1Down:connect(function()
11        mps:PromptPurchase(plr, id1)
12 
13        mps.PromptPurchaseFinished:connect(function(plr, id1, purchased)
14            if purchased == true then
15                robux.Value = robux.Value + 1000
View all 49 lines...

There's the code I am using, keep in mind the ID's are DEVELOPER PRODUCTS, not gamepasses, it prompts the player to buy the Developer Products, but they aren't even mine? I think one of them prompted the user to buy a shirt...???

Help please? Thanks! :D

Here are the products: http://i.imgur.com/wg8Ibs7.png

0
Your id's aren't even developer products. What are you trying to make? itsJooJoo 195 — 8y
0
I posted the link to the products in the Desc happyturk4 33 — 8y
0
And I solved it, as you are incorrect, they ARE dev products, you just didn't search for them correctly (not sure if you even can find them), it is supposed to be :PromptProductPurchase() not :PromptPurchase() happyturk4 33 — 8y

Answer this question