My Developer Products won't work? [ANSWERED]
Asked by
8 years ago Edited 8 years ago
01 | game.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 button 1 = frame.b 1000 local id 1 = 36477699 |
06 | local button 2 = frame.b 5000 local id 2 = 36477717 |
07 | local button 3 = frame.b 15000 local id 3 = 36477751 |
08 | local button 4 = frame.b 85000 local id 4 = 36477768 |
10 | button 1. MouseButton 1 Down:connect( function () |
11 | mps:PromptPurchase(plr, id 1 ) |
13 | mps.PromptPurchaseFinished:connect( function (plr, id 1 , purchased) |
14 | if purchased = = true then |
15 | robux.Value = robux.Value + 1000 |
20 | button 2. MouseButton 1 Down:connect( function () |
21 | mps:PromptPurchase(plr, id 2 ) |
23 | mps.PromptPurchaseFinished:connect( function (plr, id 2 , purchased) |
24 | if purchased = = true then |
25 | robux.Value = robux.Value + 5000 |
30 | button 3. MouseButton 1 Down:connect( function () |
31 | mps:PromptPurchase(plr, id 3 ) |
33 | mps.PromptPurchaseFinished:connect( function (plr, id 3 , purchased) |
34 | if purchased = = true then |
35 | robux.Value = robux.Value + 15000 |
40 | button 4. MouseButton 1 Down:connect( function () |
41 | mps:PromptPurchase(plr, id 4 ) |
43 | mps.PromptPurchaseFinished:connect( function (plr, id 4 , purchased) |
44 | if purchased = = true then |
45 | robux.Value = robux.Value + 85000 |
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