Post whatever's in your copy-paste!

Discussion in 'Forum Games' started by Supapah, Mar 3, 2014.

  1. TheNexusAvenger
    Offline

    TheNexusAvenger Well-Known Member

    Joined:
    Sep 13, 2013
    Messages:
    767
    -----Configuration-----
    local Item1 = 19394608 --19393370 --IDs of Bux items (1 Bux)
    local Item2 = 19393483 --(5 Buxs)
    local Item3 = 19393486 --(10 Buxs)
    local Item4 = 19393491 --(25 Buxs)
    local Item5 = 19393492 --(50 Buxs)
    local Item6 = 19393498 --ID of bundle item
    -----Main Script-----
    script.Parent.Parent.Parent:WaitForChild("leaderstats")
    script.Parent.Parent.Parent.leaderstats:WaitForChild("Bux")
    local Leaderstats = script.Parent.Parent.Parent.leaderstats
    local Open = false
    script.Parent.Open.MouseButton1Down:connect(function()
    if Open == false then
    Open = true
    script.Parent.Main.Visible = true
    script.Parent.Open.Text = "Close Bux Shop"
    script.Parent.Open.Style = "RobloxButton"
    else
    Open = false
    script.Parent.Main.Visible = false
    script.Parent.Open.Text = "Open Bux Shop"
    script.Parent.Open.Style = "RobloxButtonDefault"
    end
    end)
    script.Parent.Main.Bux1.Buy.MouseButton1Down:connect(function()
    game:GetService("MarketplaceService"):promptProductPurchase(script.Parent.Parent.Parent,Item1)
    end)
    script.Parent.Main.Bux2.Buy.MouseButton1Down:connect(function()
    game:GetService("MarketplaceService"):promptProductPurchase(script.Parent.Parent.Parent,Item2)
    end)
    script.Parent.Main.Bux3.Buy.MouseButton1Down:connect(function()
    game:GetService("MarketplaceService"):promptProductPurchase(script.Parent.Parent.Parent,Item3)
    end)
    script.Parent.Main.Bux4.Buy.MouseButton1Down:connect(function()
    game:GetService("MarketplaceService"):promptProductPurchase(script.Parent.Parent.Parent,Item4)
    end)
    script.Parent.Main.Bux5.Buy.MouseButton1Down:connect(function()
    game:GetService("MarketplaceService"):promptProductPurchase(script.Parent.Parent.Parent,Item5)
    end)
    script.Parent.Main.Bundle.Buy.MouseButton1Down:connect(function()
    game:GetService("MarketplaceService"):promptProductPurchase(script.Parent.Parent.Parent,Item6)
    end)
    game:GetService("MarketplaceService").PromptProductPurchaseFinished:connect(function (UserId,productId,isPurchased)
    if isPurchased then
    local Leaderstats = Player.leaderstats
    if productId == Item1 then
    Leaderstats.Bux.Value = Leaderstats.Bux.Value + 1
    elseif productId == Item2 then
    Leaderstats.Bux.Value = Leaderstats.Bux.Value + 5
    elseif productId == Item3 then
    Leaderstats.Bux.Value = Leaderstats.Bux.Value + 10
    elseif productId == Item4 then
    Leaderstats.Bux.Value = Leaderstats.Bux.Value + 25
    elseif productId == Item5 then
    Leaderstats.Bux.Value = Leaderstats.Bux.Value + 50
    elseif productId == Item6 then
    Leaderstats.Bux.Value = Leaderstats.Bux.Value + 10
    Leaderstats.Exp.Value = Leaderstats.Exp.Value + 1000
    Leaderstats.Coins.Value = Leaderstats.Coins.Value + 500
    end
    end
    end)
     
  2. Lukenblaz
    Offline

    Lukenblaz Well-Known Member

    Joined:
    Sep 14, 2012
    Messages:
    970

    This is why I scare people.
    (this isn't me btw)
     
    • Informative Informative x 1
  3. Bat
    Offline

    Bat Member

    Joined:
    Feb 5, 2014
    Messages:
    208
    Lol that's Lua, right?
     
  4. LimeCoconutShake
    Offline

    LimeCoconutShake Senior Member

    Joined:
    Oct 28, 2013
    Messages:
    2,051
    IGN:
    LimeCoconutShake
    • Like Like x 1
  5. TheNexusAvenger
    Offline

    TheNexusAvenger Well-Known Member

    Joined:
    Sep 13, 2013
    Messages:
    767
    Correct... for my friend...
     
  6. Krissy
    Offline

    Krissy Stray Kids everywhere all around the world Administrator Discord Administrator Premium Premium

    Joined:
    Nov 25, 2013
    Messages:
    18,061
    Krishnun Sansurooah

    oh thats my lecturers name ;)
     
  7. ESTx19XX
    Offline

    ESTx19XX Well-Known Member

    Joined:
    Jun 28, 2013
    Messages:
    29
  8. Lukenblaz
    Offline

    Lukenblaz Well-Known Member

    Joined:
    Sep 14, 2012
    Messages:
    970
  9. John_Beatty
    Offline

    John_Beatty Well-Known Member

    Joined:
    Aug 23, 2013
    Messages:
    190
  10. Dooku333
    Offline

    Dooku333 Experienced Member

    Joined:
    Dec 6, 2013
    Messages:
    309
  11. Jsavage00
    Offline

    Jsavage00 Member

    Joined:
    Jan 2, 2014
    Messages:
    64
  12. Krissy
    Offline

    Krissy Stray Kids everywhere all around the world Administrator Discord Administrator Premium Premium

    Joined:
    Nov 25, 2013
    Messages:
    18,061
    "If you like Pina Coladas, and getting caught in the rain
     
  13. MindSensation
    Offline

    MindSensation Senior Member

    Joined:
    Jun 29, 2013
    Messages:
    2,569
    /summon Villager ~ ~1 ~ {Offers:{Recipes:[{buy:{id:388,Count:1},sell:{id:6,Damage:1,Count:4},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:6,Damage:2,Count:4},maxUses:100000000,uses:0},{buy:{id:388,Count:1},sell:{id:6,Damage:3,Count:4},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:6,Damage:4,Count:4},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:6,Damage:5,Count:4},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:37,Damage:0,Count:16},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:38,Damage:0,Count:16},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:38,Damage:1,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:38,Damage:2,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:38,Damage:3,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:38,Damage:4,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:38,Damage:5,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:38,Damage:6,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:38,Damage:7,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:38,Damage:8,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:31,Damage:2,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:111,Damage:0,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:32,Damage:0,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:175,Damage:0,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:175,Damage:1,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:175,Damage:4,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:175,Damage:5,Count:8},maxUses:1000000,uses:0},{buy:{id:388,Count:1},sell:{id:30,Damage:0,Count:16},maxUses:1000000,uses:0},]}}

    Hehe, making a custom skyblock map that incorporates villager trading to get unobtainable items.
     
  14. bkleinman1
    Offline

    bkleinman1 Experienced Member

    Joined:
    Jul 6, 2013
    Messages:
    1,421
    Yuck, that syntax is... Not very nice, to say the least :p
     
  15. Krissy
    Offline

    Krissy Stray Kids everywhere all around the world Administrator Discord Administrator Premium Premium

    Joined:
    Nov 25, 2013
    Messages:
    18,061
    It does not matter how slowly you go as long as you do not stop.
     
  16. Supapah
    Offline

    Supapah Well-Known Member

    Joined:
    Jul 10, 2013
    Messages:
    607

    Lol xD
     
  17. Pyhxil__
    Offline

    Pyhxil__ Banned

    Joined:
    Jan 2, 2013
    Messages:
    420
    oh

    nothing in my cappuccino pastarino
     
  18. Lukenblaz
    Offline

    Lukenblaz Well-Known Member

    Joined:
    Sep 14, 2012
    Messages:
    970
  19. TheDruid
    Offline

    TheDruid Well-Known Member

    Joined:
    Mar 17, 2013
    Messages:
    540
    IGN:
    TheDruid_
  20. TheNexusAvenger
    Offline

    TheNexusAvenger Well-Known Member

    Joined:
    Sep 13, 2013
    Messages:
    767

Share This Page