SHARE
TWEET

main

a guest Oct 13th, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on first join:
  2.    teleport player to location at -66.6, 29, -34.7 in world "world"
  3.    set {customer::%player%} to 1
  4.    set {stock::%player%} to 100
  5.    set {rebirth::%player%} to 1
  6.    set {rebirthtotal::%player%} to 0
  7.    set {cashsec::%player%} to 0
  8.    set {autostock::%player%} to 0
  9.    message "&bWelcome to Nifty Shop Simulator!"
  10.    wait 3 seconds
  11.    message "&bWhat you do is buy customers and stock, 1 customer buys 1 stock per second. You will need to restock your shop by buying more stock with /Nifty"
  12.    wait 10 seconds
  13.    message "&bYour customers will not give you anything if you dont have stock. Now go out there and become the most powerful person!"
  14.    wait 7 seconds
  15.    message "&bIf you ever need help do /help and make sure to read the rules!"
  16.  
  17. on death:
  18.    victim is a player
  19.    damager is a player
  20.    add 1000 to {balance::%damager%}
  21.    message "&bYou killed %victim% and got &a$1,000&b!" to damager
  22.  
  23. on death:
  24.    teleport player to location at -66.6, 29, -34.7 in world "world"
  25.  
  26. on respawn:
  27.    teleport player to location at -66.6, 29, -34.7 in world "world"
  28.  
  29. on right click with flint and steel:
  30.    if targeted block is obsidian:
  31.       cancel event
  32.  
  33. on join:
  34.    teleport player to location at -66.6, 29, -34.7 in world "world"
  35.    if {autostock::%player%} is not set:
  36.       set {autostock::%player%} to 0
  37.  
  38. on explosion:
  39.     if blast radius of event-entity is greater than or equal to 1:
  40.         loop all blocks in radius 1 of event-entity:
  41.             if loop-block is bedrock:
  42.                 set loop-block to air
  43.     if blast radius of event-entity is greater than or equal to 2:
  44.         loop all blocks in radius 2 of event-entity:
  45.             if loop-block is bedrock:
  46.                 set loop-block to air
  47.  
  48. command /prefix:
  49.    trigger:
  50.       open virtual chest inventory with size 3 named "&8&lNifty Shop Simulator" to player
  51.       format gui slot 13 of player with paper named "&e&lTry&6&lHard &bPrefix" with lore "&7Give you the &e&lTry&6&lHard &7prefix in-game" and "&7Costs: &a$100,000,000,000,000,000,000 &7 A.K.A a 20 digit number" to run:
  52.          if {balance::%player%} is greater than 10000000000000000000:
  53.             subtract 10000000000000000000 from {balance::%player%}
  54.             give player 1 paper named "&e&lTry&6&lHard &bPrefix"
  55.             message "&bTo be honest im a little disappointed that you bought this but good for you &e&lTry&6&lHard&b!"
  56.          else:
  57.             message "&cYou don't have enough money!"
  58.  
  59. on right click:
  60.    if player is holding a paper named "&e&lTry&6&lHard &bPrefix":
  61.       execute console command "pex user %player% group add TryHard"
  62.       wait 1 tick
  63.       remove player's held item from player's inventory
  64.    if player is holding a boat:
  65.       cancel event
  66.       wait 1 tick
  67.       remove 1 boat from player's inventory
  68.  
  69.  
  70. command /Customers:
  71.    trigger:
  72.       message "&bYou have &7%{customer::%player%}%&b customer's!"
  73.  
  74. command /Stock:
  75.    trigger:
  76.       message "&bYou have &7%{stock::%player%}%&b stock!"
  77.  
  78. command /Rebirths:
  79.    trigger:
  80.       message "&bYou have &7%{rebirth::%player%}%&b rebirth's!"
  81.  
  82. command /spawn:
  83.    trigger:
  84.       teleport player to location at -66.6, 29, -34.7 in world "world"
  85.  
  86. command /reset:
  87.    trigger:
  88.       set {customer::%player%} to 1
  89.       set {stock::%player%} to 100
  90.       set {balance::%player%} to 0
  91.       set {rebirth::%player%} to 1
  92.       set {rebirthtotal::%player%} to 0
  93.       set {cashsec::%player%} to 0
  94.       set {autostock::%player%} to 0
  95.       message "&cYou have reset everything!"  
  96.  
  97. command /nifty:
  98.    aliases: /shop
  99.    trigger:
  100.       open virtual chest inventory with size 3 named "&8&lNifty Shop Simulator" to player
  101.       format gui slot 10 of player with player head named "&b&lCustomer Shop" to run:
  102.          make player execute command "customershop"
  103.       format gui slot 12 of player with grass block named "&b&lBlock Shop" to run:
  104.          make player execute command "blockshop"
  105.       format gui slot 14 of player with diamond sword named "&b&lPvP Shop" to run:
  106.          make player execute command "pvpshop"
  107.       format gui slot 16 of player with sea lantern named "&b&lStock Shop" to run:
  108.          make player execute command "stockshop"
  109.       format gui slot 11 of player with enchanting table named "&b&lEnchanting Shop" to run:
  110.          make player execute command "enchantshop"
  111.       format gui slot 15 of player with glowstone named "&b&lAuto Stock" to run:
  112.          make player execute command "autoshop"
  113.       format gui slot 4 of player with diamond block named "&b&lRebirth Shop" to run:
  114.          if {rebirth::%player%} is greater than 4:
  115.             make player execute command "rebirthshop"
  116.          else:
  117.             message "&cYou need to be rebirth 5 or higher to access this shop!"
  118.  
  119. command /rebirthshop:
  120.    trigger:
  121.       open virtual chest inventory with size 4 named "&8&lNifty Shop Simulator" to player
  122.       format gui slot 35 of player with redstone block named "&4Go Back" to run:
  123.          make player execute command "shop"
  124.       format gui slot 10 of player with shulker box named "&bShulker Box" with lore "&7Price: &a$100,000,000" to run:
  125.          if {balance::%player%} is greater than 100000000:
  126.             subtract 100000000 from {balance::%player%}
  127.             give player 1 shulker box
  128.             message "&bYou bought a Shulker Box for &a$100,000,000&b!"
  129.          else:
  130.             message "&cYou don't have enough money!"
  131.       format gui slot 11 of player with ender chest named "&bEnder Chest" with lore "&7Price: &a$50,000,000" to run:
  132.          if {balance::%player%} is greater than 50000000:
  133.             subtract 50000000 from {balance::%player%}
  134.             give player 1 ender chest
  135.             message "&bYou bought an Ender Chest for &a$50,000,000&b!"
  136.          else:
  137.             message "&cYou don't have enough money!"
  138.       format gui slot 12 of player with netherrack named "&bNetherrack" with lore "&7Price: &a$1,000,000" and "&7Amount: 8" to run:
  139.          if {balance::%player%} is greater than 1000000:
  140.             subtract 1000000 from {balance::%player%}
  141.             give player 8 netherrack
  142.             message "&bYou bought 8 Netherrack for &a$1,000,000&b!"
  143.          else:
  144.             message "&cYou don't have enough money!"
  145.       format gui slot 13 of player with totem of undying named "&bTotem of Undying" with lore "&7Price: &a$500,000,000,000,000,000" to run:
  146.          if {balance::%player%} is greater than 500000000000000000:
  147.             subtract 500000000000000000 from {balance::%player%}
  148.             give player 1 totem of undying
  149.             message "&bYou have bought a Totem of Undying for &a$500,000,000,000,000,000&b!"
  150.          else:
  151.             message "&cYou don't have enough money!"
  152.       format gui slot 14 of player with nether bricks named "&bNether Bricks" with lore "&7Price: &a$1,000,000" and "&7Amount: 8" to run:
  153.          if {balance::%player%} is greater than 1000000:
  154.             subtract 1000000 from {balance::%player%}
  155.             give player 8 nether bricks
  156.             message "&bYou bought 8 Nether Bricks for &a$1,000,000&b!"
  157.          else:
  158.             message "&cYou don't have enough money!"
  159.       format gui slot 15 of player with grindstone named "&bGrindstone" with lore "&7Price: &a$25,000,000" to run:
  160.          if {balance::%player%} is greater than 25000000:
  161.             subtract 25000000 from {balance::%player%}
  162.             give player 1 grindstone
  163.             message "&bYou bought 1 Grindstone for &a$25,000,000&b!"
  164.          else:
  165.             message "&cYou don't have enough money!"
  166.       format gui slot 16 of player with diamond sword named "&bSharpness 10" with lore "&7Price: 1,000,000,000,000,000,000,000" to run:
  167.          if {balance::%player%} is greater than 1000000000000000000000:
  168.             give player 1 diamond sword of sharpness 10
  169.             subtract 1000000000000000000000 from {balance::%player%}
  170.             message "&bHere is an OP sword"
  171.          else:
  172.             message "&cYou don't have enough money!"
  173.  
  174. command /autoshop:
  175.    trigger:
  176.       open virtual chest inventory with size 5 named "&8&lNifty Shop Simulator" to player
  177.       format gui slot 44 of player with redstone block named "&4Go back" to run:
  178.          make player execute command "nifty"
  179.       format gui slot 30 of player with end stone named "&c+20,000,000 Auto Stock" with lore "&7Adds 20,000,000 stock to your shop every second" and "&7Costs: &a$800,000,000,000" to run:
  180.          if {balance::%player%} is greater than 800000000000:
  181.             subtract 800000000000 from {balance::%player%}
  182.             add 20000000 to {autostock::%player%}
  183.          else:
  184.             message "&cYou don't have enough money!"
  185.       format gui slot 31 of player with end stone bricks named "&c+100,000,000 Auto Stock" with lore "&7Adds 100,000,000 stock to your shop every second" and "&7Costs: &a$45,000,000,000,000" to run:
  186.          if {balance::%player%} is greater than 45000000000000:
  187.             subtract 45000000000000 from {balance::%player%}
  188.             add 100000000 to {autostock::%player%}
  189.          else:
  190.             message "&cYou don't have enough money!"
  191.       format gui slot 32 of player with end portal frame named "&c+1,000,000,000 Auto Stock" with lore "&7Adds 1,000,000,000 stock to your shop every second" and "&7Costs: &a$500,000,000,000,000" to run:
  192.          if {balance::%player%} is greater than 500000000000000:
  193.             subtract 500000000000000 from {balance::%player%}
  194.             add 1000000000 to {autostock::%player%}
  195.          else:
  196.             message "&cYou don't have enough money!"
  197.       format gui slot 10 of player with coarse dirt named "&c+1 Auto Stock" with lore "&7Adds 1 stock to your shop every second" and "&7Costs: &a$10,000" to run:
  198.          if {balance::%player%} is greater than 10000:
  199.             add 1 to {autostock::%player%}
  200.             subtract 10000 from {balance::%player%}
  201.          else:
  202.             message "&4You dont have enough money!"
  203.       format gui slot 11 of player with grass named "&c+5 Auto Stock" with lore "&7Adds 5 stock to your shop every second" and "&7Costs: &a$60,000" to run:
  204.          if {balance::%player%} is greater than 60000:
  205.             add 5 to {autostock::%player%}
  206.             subtract 60000 from {balance::%player%}
  207.          else:
  208.             message "&4You dont have enough money!"
  209.       format gui slot 12 of player with oak log named "&c+10 Auto Stock" with lore "&7Adds 10 stock to your shop every second" and "&7Costs: &a$125,000" to run:
  210.          if {balance::%player%} is greater than 125000:
  211.             add 10 to {autostock::%player%}
  212.             subtract 125000 from {balance::%player%}
  213.          else:
  214.             message "&4You dont have enough money!"
  215.       format gui slot 13 of player with stone named "&c+25 Auto Stock" with lore "&7Adds 25 stock to your shop every second" and "&7Costs: &a$275,000" to run:
  216.          if {balance::%player%} is greater than 275000:
  217.             add 25 to {autostock::%player%}
  218.             subtract 275000 from {balance::%player%}
  219.          else:
  220.             message "&4You dont have enough money!"
  221.       format gui slot 14 of player with glass named "&c+50 Auto Stock" with lore "&7Adds 50 stock to your shop every second" and "&7Costs: &a$625,000" to run:
  222.          if {balance::%player%} is greater than 625000:
  223.             add 50 to {autostock::%player%}
  224.             subtract 625000 from {balance::%player%}
  225.          else:
  226.             message "&4You dont have enough money!"
  227.       format gui slot 15 of player with coal block named "&c+100 Auto Stock" with lore "&7Adds 100 stock to your shop every second" and "&7Costs: &a$1,500,000" to run:
  228.          if {balance::%player%} is greater than 1500000:
  229.             add 100 to {autostock::%player%}
  230.             subtract 1500000 from {balance::%player%}
  231.          else:
  232.             message "&4You dont have enough money!"
  233.       format gui slot 16 of player with iron block named "&c+250 Auto Stock" with lore "&7Adds 250 stock to your shop every second" and "&7Costs: &a$3,800,000" to run:
  234.          if {balance::%player%} is greater than 3800000:
  235.             add 250 to {autostock::%player%}
  236.             subtract 3800000 from {balance::%player%}
  237.          else:
  238.             message "&4You dont have enough money!"
  239.       format gui slot 20 of player with lapis block named "&c+500 Auto Stock" with lore "&7Adds 500 stock to your shop every second" and "&7Costs: &a$7,500,000" to run:
  240.          if {balance::%player%} is greater than 7500000:
  241.             add 500 to {autostock::%player%}
  242.             subtract 7500000 from {balance::%player%}
  243.          else:
  244.             message "&4You dont have enough money!"
  245.       format gui slot 21 of player with gold block named "&c+1,000 Auto Stock" with lore "&7Adds 1,000 stock to your shop every second" and "&7Costs: &a16,000,000" to run:
  246.          if {balance::%player%} is greater than 16000000:
  247.             add 1000 to {autostock::%player%}
  248.             subtract 16000000 from {balance::%player%}
  249.          else:
  250.             message "&4You dont have enough money!"
  251.       format gui slot 22 of player with diamond block named "&c+100,000 Auto Stock" with lore "&7Adds 100,000 stock to your shop every second" and "&7Costs: &a2,000,000,000" to run:
  252.          if {balance::%player%} is greater than 2000000000:
  253.             add 100000 to {autostock::%player%}
  254.             subtract 2000000000 from {balance::%player%}
  255.          else:
  256.             message "&4You dont have enough money!"
  257.       format gui slot 23 of player with emerald block named "&c+750,000 Auto Stock" with lore "&7Adds 750,000 stock to your shop every second" and "&7Costs: &a20,000,000,000" to run:
  258.          if {balance::%player%} is greater than 20000000000:
  259.             add 750000 to {autostock::%player%}
  260.             subtract 20000000000 from {balance::%player%}
  261.          else:
  262.             message "&4You dont have enough money!"
  263.       format gui slot 24 of player with quartz block named "&c+5,000,000 Auto Stock" with lore "&7Adds 5,000,000 stock to your shop every second" and "&7Costs: &a170,000,000,000" to run:
  264.          if {balance::%player%} is greater than 170000000000:
  265.             add 5000000 to {autostock::%player%}
  266.             subtract 170000000000 from {balance::%player%}
  267.          else:
  268.             message "&4You dont have enough money!"
  269.  
  270.  
  271. command /blockshop:
  272.    trigger:
  273.       open virtual chest inventory with size 4 named "&8&lNifty Shop Simulator" to player
  274.       format gui slot 35 of player with redstone block named "&4Go back" to run:
  275.          make player execute command "nifty"
  276.       make gui slot 10 of player with grass named "&bGrass" with lore "&7Price: &a$5,000" and "&7Amount: 8" to run:
  277.          if {balance::%player%} is greater than 5000:
  278.             subtract 5000 from {balance::%player%}
  279.             give player 8 grass
  280.             message "&7You bought 8 grass for &a$5,000&7!"
  281.          else:
  282.             message "&cYou dont have enough money!"
  283.       make gui slot 11 of player with stone named "&bStone" with lore "&7Price: &a$5,000" and "&7Amount: 8" to run:
  284.          if {balance::%player%} is greater than 5000:
  285.             subtract 5000 from {balance::%player%}
  286.             give player 8 stone
  287.             message "&7You bought 8 stone for &a$5,000&7!"
  288.          else:
  289.             message "&cYou dont have enough money!"
  290.       make gui slot 12 of player with cobblestone named "&bCobble" with lore "&7Price: &a$5,000" and "&7Amount: 8" to run:
  291.          if {balance::%player%} is greater than 5000:
  292.             subtract 5000 from {balance::%player%}
  293.             give player 8 cobblestone
  294.             message "&7You bought 8 cobble for &a$5,000&7!"
  295.          else:
  296.             message "&cYou dont have enough money!"
  297.       make gui slot 13 of player with dirt named "&bDirt" with lore "&7Price: &a$5,000" and "&7Amount: 8" to run:
  298.          if {balance::%player%} is greater than 5000:
  299.             subtract 5000 from {balance::%player%}
  300.             give player 8 dirt
  301.             message "&7You bought 8 dirt for &a$5,000&7!"
  302.          else:
  303.             message "&cYou dont have enough money!"
  304.       make gui slot 14 of player with oak log named "&bWood" with lore "&7Price: &a$5,000" and "&7Amount: 8" to run:
  305.          if {balance::%player%} is greater than 5000:
  306.             subtract 5000 from {balance::%player%}
  307.             give player 8 oak log
  308.             message "&7You bought 8 wood for &a$5,000&7!"
  309.          else:
  310.             message "&cYou dont have enough money!"
  311.       make gui slot 15 of player with oak plank named "&bWood Plank" with lore "&7Price: &a$5,000" and "&7Amount: 8" to run:
  312.          if {balance::%player%} is greater than 5000:
  313.             subtract 5000 from {balance::%player%}
  314.             give player 8 oak planks
  315.             message "&7You bought 8 wood planks for &a$5,000&7!"
  316.          else:
  317.             message "&cYou dont have enough money!"
  318.       make gui slot 16 of player with white wool named "&bWool" with lore "&7Price: &a$5,000" and "&7Amount: 8" to run:
  319.          if {balance::%player%} is greater than 5000:
  320.             subtract 5000 from {balance::%player%}
  321.             give player 8 white wool
  322.             message "&7You bought 8 wool for &a$5,000&7!"
  323.          else:
  324.             message "&cYou dont have enough money!"
  325.       make gui slot 19 of player with glass named "&bGlass" with lore "&7Price: &a$10,000" and "&7Amount: 8" to run:
  326.          if {balance::%player%} is greater than 10000:
  327.             subtract 10000 from {balance::%player%}
  328.             give player 8 glass
  329.             message "&7You bought 8 grass for &a$10,000&7!"
  330.          else:
  331.             message "&cYou dont have enough money!"
  332.       make gui slot 20 of player with obsidian named "&bObsidian" with lore "&7Price: &a$20,000" and "&7Amount: 8" to run:
  333.          if {balance::%player%} is greater than 20000:
  334.             subtract 20000 from {balance::%player%}
  335.             give player 8 obsidian
  336.             message "&7You bought 8 obsidian for &a$20,000&7!"
  337.          else:
  338.             message "&cYou dont have enough money!"
  339.       make gui slot 21 of player with white terracotta named "&bTerracotta" with lore "&7Price: &a$5,000" and "&7Amount: 8" to run:
  340.          if {balance::%player%} is greater than 5000:
  341.             subtract 5000 from {balance::%player%}
  342.             give player 8 white terracotta
  343.             message "&7You bought 8 terracotta for &a$5,000&7!"
  344.          else:
  345.             message "&cYou dont have enough money!"
  346.       make gui slot 23 of player with slime block named "&bSlime Block" with lore "&7Price: &a$10,000" and "&7Amount: 8" to run:
  347.          if {balance::%player%} is greater than 10000:
  348.             subtract 10000 from {balance::%player%}
  349.             give player 8 slime blocks
  350.             message "&7You bought 8 slime blocks for &a$10,000&7!"
  351.          else:
  352.             message "&cYou dont have enough money!"
  353.       make gui slot 24 of player with sea lantern named "&bSea Lantern" with lore "&7Price: &a$5,000" and "&7Amount: 8" to run:
  354.          if {balance::%player%} is greater than 5000:
  355.             subtract 5000 from {balance::%player%}
  356.             give player 8 sea lanterns
  357.             message "&7You bought 8 sea lanterns for &a$5,000&7!"
  358.          else:
  359.             message "&cYou dont have enough money!"
  360.       make gui slot 22 of player with glowstone named "&bGlowstone" with lore "&7Price: &a$5,000" and "&7Amount: 8" to run:
  361.          if {balance::%player%} is greater than 5000:
  362.             subtract 5000 from {balance::%player%}
  363.             give player 8 glowstone
  364.             message "&7You bought 8 glowstone for &a$5,000&7!"
  365.          else:
  366.             message "&cYou dont have enough money!"
  367.       make gui slot 25 of player with bedrock named "&7Bedrock" with lore "&7Price: &a$10,000,000,000" and "&7Amount: 8" to run:
  368.          if {balance::%player%} is greater than 10000000000:
  369.             subtract 10000000000 from {balance::%player%}
  370.             give player 8 Bedrock
  371.             message "&7You bought 8 bedrock for &a$10,000,000,000&7!"
  372.          else:
  373.             message "&cYou dont have enough money!"
  374.  
  375. command /pvpshop:
  376.    trigger:
  377.       set {elytra2} to an elytra named "&b&lLevel 2 Elytra"
  378.       enchant {elytra2} with unbreaking 1
  379.       set {elytra3} to an elytra named "&b&lLevel 3 Elytra"
  380.       enchant {elytra3} with unbreaking 2
  381.       set {elytra4} to an elytra named "&b&lLevel 4 Elytra"
  382.       enchant {elytra4} with unbreaking 3
  383.       set {elytra5} to an elytra named "&b&lLevel 5 Elytra"
  384.       enchant {elytra5} with unbreaking 3 and mending
  385.       open virtual chest inventory with size 5 named "&c&lNifty Shop Simulator" to player
  386.       make gui slot 7 of player with fishing rod named "&bFishing Rod" with lore "&7Price: &a$10,000,000" to run:
  387.          if {balance::%player%} is greater than 10000000:
  388.             subtract 10000000 from {balance::%player%}
  389.             give player 1 fishing rod
  390.             message "&bYou bought a fishing rod for &a$10,000,000&b!"
  391.          else:
  392.             message "&cYou don't have enough money!"
  393.       make gui slot 2 of player with wooden axe named "&bWooden Axe" with lore "&7Price: &a$1,000" to run:
  394.          if {balance::%player%} is greater than 1000:
  395.             subtract 1000 from {balance::%player%}
  396.             give player 1 wooden axe
  397.             message "&bYou bought a Wooden axe for &a$1,000&b!"
  398.          else:
  399.             message "&cYou don't have enough money!"
  400.       make gui slot 11 of player with stone axe named "&bStone Axe" with lore "&7Price: &a$2,500" to run:
  401.          if {balance::%player%} is greater than 2500:
  402.             subtract 2500 from {balance::%player%}
  403.             give player 1 stone axe
  404.             message "&bYou bought a Stone Axe for &a$2,500&b!"
  405.          else:
  406.             message "&cYou don't have enough money!"
  407.       make gui slot 20 of player with iron axe named "&bIron Axe" with lore "&7Price: &a$5,000" to run:
  408.          if {balance::%player%} is greater than 5000:
  409.             subtract 5000 from {balance::%player%}
  410.             give player 1 iron axe
  411.             message "&bYou bought a Iron Axe for &a$5,000&b!"
  412.          else:
  413.             message "&cYou don't have enough money!"
  414.       make gui slot 29 of player with gold axe named "&bGold Axe" with lore "&7Price: &a$10,000" to run:
  415.          if {balance::%player%} is greater than 10000:
  416.             subtract 10000 from {balance::%player%}
  417.             give player 1 gold axe
  418.             message "&bYou bought a Gold Axe for &a$10,000&b!"
  419.          else:
  420.             message "&cYou don't have enough money!"
  421.       make gui slot 38 of player with diamond axe named "&bDiamond Axe" with lore "&7Price: &a25,000" to run:
  422.          if {balance::%player%} is greater than 25000:
  423.             subtract 25000 from {balance::%player%}
  424.             give player 1 diamond axe
  425.             message "&bYou bought a Diamond Axe for &a$25,000&b!"
  426.          else:
  427.             message "&cYou don't have enough money!"
  428.       make gui slot 26 of player with enchanted golden apple named "&bEnchanted Golden Apple" with lore "&7Price: &a$7,500,000,000" and "&7Amount: 64" to run:
  429.          if {balance::%player%} is greater than 7500000000:
  430.             subtract 7500000000 from {balance::%player%}
  431.             give player 64 enchanted golden apple
  432.             message "&bYou bought 64 Enchanted Golden Apples for &a$7,500,000,000&b!"
  433.          else:
  434.             message "&cYou don't have enough money!"
  435.       make gui slot 25 of player with tnt named "&bTNT" with lore "&7Price: &a$500,000,000,000,000" to run:
  436.          if {balance::%player%} is greater than 500000000000000:
  437.             subtract 500000000000000 from {balance::%player%}
  438.             give player 1 tnt
  439.             message "&bYou bought 1 TNT for &a$500,000,000,000,000&b!"
  440.          else:
  441.             message "&cYou don't have enough money!"
  442.       make gui slot 16 of player with steak named "&bSteak" with lore "&7Price: &a$50,000" and "&7Amount: 64" to run:
  443.          if {balance::%player%} is greater than 50000:
  444.             subtract 50000 from {balance::%player%}
  445.             give player 64 steak
  446.             message "&bYou bought 64 Steak for &a$50,500&b!"
  447.          else:
  448.             message "&cYou don't have enough money!"
  449.       make gui slot 34 of player with redstone torch named "&bRedstone torch" with lore "&7Price: &a$1,000,000" to run:
  450.          if {balance::%player%} is greater than 1000000:
  451.             subtract 1000000 from {balance::%player%}
  452.             give player 1 redstone torch
  453.             message "&bYou bought a Redstone Torch for &a$1,000,000&b!"
  454.          else:
  455.             message "&cYou don't have enough money!"
  456.       make gui slot 0 of player with leather chestplate named "&bLeather Armour Set" with lore "&7Price: &a$10,000" to run:
  457.          if {balance::%player%} is greater than 10000:
  458.             subtract 10000 from {balance::%player%}
  459.             give player leather helmet
  460.             give player leather chestplate
  461.             give player leather leggings
  462.             give player leather boots
  463.             message "&7You bought a leather armour set for &a$10,000&7!"
  464.          else:
  465.             message "&cYou dont have enough money!"
  466.       make gui slot 9 of player with chainmail chestplate named "&bChainmail Armour Set" with lore "&7Price: &a$25,000" to run:
  467.          if {balance::%player%} is greater than 25000:
  468.             subtract 25000 from {balance::%player%}
  469.             give player chainmail helmet
  470.             give player chainmail chestplate
  471.             give player chainmail leggings
  472.             give player chainmail boots
  473.             message "&7You have bought a chainmail armour set for &a$25,000&7!"
  474.          else:
  475.             message "&cYou dont have enough money!"
  476.       make gui slot 18 of player with iron chestplate named "&bIron Armour Set" with lore "&7Price: &a$50,000" to run:
  477.          if {balance::%player%} is greater than 50000:
  478.             subtract 50000 from {balance::%player%}
  479.             give player iron helmet
  480.             give player iron chestplate
  481.             give player iron leggings
  482.             give player iron boots
  483.             message "&7You have bought a iron armour set for &a$50,000&7!"
  484.          else:
  485.             message "&cYou dont have enough money!"
  486.       make gui slot 27 of player with gold chestplate named "&bGold Armour Set" with lore "&7Price: &a$100,000" to run:
  487.          if {balance::%player%} is greater than 100000:
  488.             subtract 100000 from {balance::%player%}
  489.             give player gold helmet
  490.             give player gold chestplate
  491.             give player gold leggings
  492.             give player gold boots
  493.             message "&7You have bought a gold armour set for &a$100,000&7!"
  494.          else:
  495.             message "&cYou dont have enough money!"
  496.       make gui slot 36 of player with diamond chestplate named "&bDiamond Armour Set" with lore "&7Price: &a$200,000" to run:
  497.          if {balance::%player%} is greater than 200000:
  498.             subtract 200000 from {balance::%player%}
  499.             give player diamond helmet
  500.             give player diamond chestplate
  501.             give player diamond leggings
  502.             give player diamond boots
  503.             message "&7You have bought a diamond armour set for &a$200,000&7!"
  504.          else:
  505.             message "&cYou dont have enough money!"
  506.       make gui slot 1 of player with wooden sword named "&bWood Sword" with lore "&7Price: &a$1,000" and "&7Amount: 1" to run:
  507.          if {balance::%player%} is greater than 1000:
  508.             subtract 1000 from {balance::%player%}
  509.             give player wooden sword
  510.             message "&7You have bought a wood sword for &a$1,000&7!"
  511.          else:
  512.             message "&cYou dont have enough money!"
  513.       make gui slot 10 of player with stone sword named "&bStone Sword" with lore "&7Price: &a$2,500" and "&7Amount: 1" to run:
  514.          if {balance::%player%} is greater than 2500:
  515.             subtract 2500 from {balance::%player%}
  516.             give player stone sword
  517.             message "&7You have bought a stone sword for &a$2,500&7!"
  518.          else:
  519.             message "&cYou dont have enough money!"
  520.       make gui slot 19 of player with iron sword named "&bIron Sword" with lore "&7Price: &a$5,000" and "&7Amount: 1" to run:
  521.          if {balance::%player%} is greater than 5000:
  522.             subtract 5000 from {balance::%player%}
  523.             give player iron sword
  524.             message "&7You have bought a iron sword for &a$5,000&7!"
  525.          else:
  526.             message "&cYou dont have enough money!"
  527.       make gui slot 28 of player with gold sword named "&bGold Sword" with lore "&7Price: &a$10,000" and "&7Amount: 1" to run:
  528.          if {balance::%player%} is greater than 10000:
  529.             subtract 10000 from {balance::%player%}
  530.             give player gold sword
  531.             message "&7You have bought a gold sword for &a$10,000&7!"
  532.          else:
  533.             message "&cYou dont have enough money!"
  534.       make gui slot 37 of player with diamond sword named "&bDiamond Sword" with lore "&7Price: &a$25,000" and "&7Amount: 1" to run:
  535.          if {balance::%player%} is greater than 25000:
  536.             subtract 25000 from {balance::%player%}
  537.             give player diamond sword
  538.             message "&7You have bought a diamond sword for &a$25,000&7!"
  539.          else:
  540.             message "&cYou dont have enough money!"
  541.       make gui slot 3 of player with wooden pickaxe named "&bWood Pickaxe" with lore "&7Price: &a$1,000" and "&7Amount: 1" to run:
  542.          if {balance::%player%} is greater than 1000:
  543.             subtract 1000 from {balance::%player%}
  544.             give player wooden pickaxe
  545.             message "&7You have bought a wood pickaxe for &a$1,000&7!"
  546.          else:
  547.             message "&cYou dont have enough money!"
  548.       make gui slot 12 of player with stone pickaxe named "&bStone Pickaxe" with lore "&7Price: &a$2,500" and "&7Amount: 1" to run:
  549.          if {balance::%player%} is greater than 2500:
  550.             subtract 2500 from {balance::%player%}
  551.             give player stone pickaxe
  552.             message "&7You have bought a stone pickaxe for &a$2,500&7!"
  553.          else:
  554.             message "&cYou dont have enough money!"
  555.       make gui slot 21 of player with iron pickaxe named "&bIron Pickaxe" with lore "&7Price: &a$5,000" and "&7Amount: 1" to run:
  556.          if {balance::%player%} is greater than 5000:
  557.             subtract 5000 from {balance::%player%}
  558.             give player iron pickaxe
  559.             message "&7You have bought a iron pickaxe for &a$5,000&7!"
  560.          else:
  561.             message "&cYou dont have enough money!"
  562.       make gui slot 30 of player with gold pickaxe named "&bGold Pickaxe" with lore "&7Price: &a$10,000" and "&7Amount: 1" to run:
  563.          if {balance::%player%} is greater than 10000:
  564.             subtract 10000 from {balance::%player%}
  565.             give player gold pickaxe
  566.             message "&7You have bought a gold pickaxe for &a$10,000&7!"
  567.          else:
  568.             message "&cYou dont have enough money!"
  569.       make gui slot 39 of player with diamond pickaxe named "&bDiamond Pickaxe" with lore "&7Price: &a$25,000" and "&7Amount: 1" to run:
  570.          if {balance::%player%} is greater than 25000:
  571.             subtract 25000 from {balance::%player%}
  572.             give player diamond pickaxe
  573.             message "&7You have bought a diamond pickaxe for &a$25,000&7!"
  574.          else:
  575.             message "&cYou dont have enough money!"
  576.       make gui slot 4 of player with wooden shovel named "&bWood Shovel" with lore "&7Price: &a$1,000" and "&7Amount: 1" to run:
  577.          if {balance::%player%} is greater than 1000:
  578.             subtract 1000 from {balance::%player%}
  579.             give player wooden shovel
  580.             message "&7You have bought a wood shovel for &a$1,000&7!"
  581.          else:
  582.             message "&cYou dont have enough money!"
  583.       make gui slot 13 of player with stone shovel named "&bStone Shovel" with lore "&7Price: &a$2,500" and "&7Amount: 1" to run:
  584.          if {balance::%player%} is greater than 2500:
  585.             subtract 2500 from {balance::%player%}
  586.             give player stone shovel
  587.             message "&7You have bought a stone shovel for &a$2,500&7!"
  588.          else:
  589.             message "&cYou dont have enough money!"
  590.       make gui slot 22 of player with iron shovel named "&bIron Shovel" with lore "&7Price: &a$5,000" and "&7Amount: 1" to run:
  591.          if {balance::%player%} is greater than 5000:
  592.             subtract 5000 from {balance::%player%}
  593.             give player iron shovel
  594.             message "&7You have bought a iron shovel for &a$5,000&7!"
  595.          else:
  596.             message "&cYou dont have enough money!"
  597.       make gui slot 31 of player with gold shovel named "&bGold Shovel" with lore "&7Price: &a$10,000" and "&7Amount: 1" to run:
  598.          if {balance::%player%} is greater than 10000:
  599.             subtract 10000 from {balance::%player%}
  600.             give player gold shovel
  601.             message "&7You have bought a gold shovel for &a$10,000&7!"
  602.          else:
  603.             message "&cYou dont have enough money!"
  604.       make gui slot 40 of player with diamond shovel named "&bDiamond Shovel" with lore "&7Price: &a$25,000" and "&7Amount: 1" to run:
  605.          if {balance::%player%} is greater than 25000:
  606.             subtract 25000 from {balance::%player%}
  607.             give player diamond shovel
  608.             message "&7You have bought a diamond shovel for &a$25,000&7!"
  609.          else:
  610.             message "&cYou dont have enough money!"
  611.       make gui slot 44 of player with redstone block named "&4Go Back" to run:
  612.          make player execute command "nifty"
  613.       make gui slot 5 of player with elytra named "&bLevel 1 Elytra" with lore "&7Price: &a$50,000" and "&7Amount: 1" to run:
  614.          if {balance::%player%} is greater than 50000:
  615.             subtract 50000 from {balance::%player%}
  616.             give player elytra named "&b&lLevel 1 Elytra"
  617.             message "&7You have bought an elytra for &a50,000&7!"
  618.          else:
  619.             message "&cYou dont have enough money!"
  620.       make gui slot 14 of player with elytra named "&bLevel 2 Elytra" with lore "&7Price: &a$75,000" and "&7Amount: 1" to run:
  621.          if {balance::%player%} is greater than 75000:
  622.             subtract 75000 from {balance::%player%}
  623.             give player {elytra2}
  624.             message "&7You have bought an elytra for &a75,000&7!"
  625.          else:
  626.             message "&cYou dont have enough money!"
  627.       make gui slot 23 of player with elytra named "&bLevel 3 Elytra" with lore "&7Price: &a$100,000" and "&7Amount: 1" to run:
  628.          if {balance::%player%} is greater than 100000:
  629.             subtract 100000 from {balance::%player%}
  630.             give player {elytra3}
  631.             message "&7You have bought an elytra for &a100,000&7!"
  632.          else:
  633.             message "&cYou dont have enough money!"
  634.       make gui slot 32 of player with elytra named "&bLevel 4 Elytra" with lore "&7Price: &a$125,000" and "&7Amount: 1" to run:
  635.          if {balance::%player%} is greater than 125000:
  636.             subtract 125000 from {balance::%player%}
  637.             give player {elytra4}
  638.             message "&7You have bought an elytra for &a125,000&7!"
  639.          else:
  640.             message "&cYou dont have enough money!"
  641.       make gui slot 41 of player with elytra named "&bLevel 5 Elytra" with lore "&7Price: &a$200,000" and "&7Amount: 1" to run:
  642.          if {balance::%player%} is greater than 200000:
  643.             subtract 200000 from {balance::%player%}
  644.             give player {elytra5}
  645.             message "&7You have bought an elytra for &a200,000&7!"
  646.          else:
  647.             message "&cYou dont have enough money!"
  648.       make gui slot 6 of player with bow named "&bBow" with lore "&7Price: &a$10,000" and "&7Amount: 1" to run:
  649.          if {balance::%player%} is greater than 10000:
  650.             subtract 10000 from {balance::%player%}
  651.             give player bow
  652.             message "&7You have bought a bow for &a$10,000&7!"
  653.          else:
  654.             message "&cYou dont have enough money!"
  655.       make gui slot 15 of player with arrow named "&bArrow" with lore "&7Price: &a$1,000" and "&7Amount: 8" to run:
  656.          if {balance::%player%} is greater than 1000:
  657.             subtract 1000 from {balance::%player%}
  658.             give player 8 arrows
  659.             message "&7You have bought 8 arrows for &a$1,000&7!"
  660.          else:
  661.             message "&cYou dont have enough money!"
  662.       make gui slot 24 of player with crossbow named "&bCrossbow" with lore "&7Price: &a$20,000" and "&7Amount: 1" to run:
  663.          if {balance::%player%} is greater than 20000:
  664.             subtract 20000 from {balance::%player%}
  665.             give player crossbow
  666.             message "&7You have bought a crossbow for &a$20,000&7!"
  667.          else:
  668.             message "&cYou dont have enough money!"
  669.       make gui slot 33 of player with trident named "&bTrident" with lore "&7Price: &a$500,000" and "&7Amount: 1" to run:
  670.          if {balance::%player%} is greater than 500000:
  671.             subtract 500000 from {balance::%player%}
  672.             give player trident
  673.             message "&7You have bought a trident for &a$500,000&7!"
  674.          else:
  675.             message "&cYou dont have enough money!"
  676.       make gui slot 42 of player with firework named "&bFireworks" with lore "&7Price: &a$10,000" and "&7Amount: 8" to run:
  677.          if {balance::%player%} is greater than 10000:
  678.             subtract 10000 from {balance::%player%}
  679.             give player 8 fireworks
  680.             message "&7You have bought 8 fireworks for &a$10,000&7!"
  681.          else:
  682.             message "&cYou dont have enough money!"
  683.  
  684. command /customershop:
  685.    trigger:
  686.       open virtual chest inventory with size 5 named "&8&lNifty Shop Simulator" to player
  687.       format gui slot 10 of player with coarse dirt named "&c+1 Customer" with lore "&7Adds 1 customer to your shop" and "&7Costs: &a$10" to run:
  688.          if {balance::%player%} is greater than 10:
  689.             add 1 to {customer::%player%}
  690.             subtract 10 from {balance::%player%}
  691.          else:
  692.             message "&4You dont have enough money!"
  693.       format gui slot 11 of player with grass named "&c+5 Customers" with lore "&7Adds 5 customers to your shop" and "&7Costs: &a$60" to run:
  694.          if {balance::%player%} is greater than 60:
  695.             add 5 to {customer::%player%}
  696.             subtract 60 from {balance::%player%}
  697.          else:
  698.             message "&4You dont have enough money!"
  699.       format gui slot 12 of player with oak log named "&c+25 Customers" with lore "&7Adds 25 customers to your shop" and "&7Costs: &a$325" to run:
  700.          if {balance::%player%} is greater than 325:
  701.             add 25 to {customer::%player%}
  702.             subtract 325 from {balance::%player%}
  703.          else:
  704.             message "&4You dont have enough money!"
  705.       format gui slot 13 of player with stone named "&c+100 Customers" with lore "&7Adds 100 customers to your shop" and "&7Costs: &a$1,300" to run:
  706.          if {balance::%player%} is greater than 1300:
  707.             add 100 to {customer::%player%}
  708.             subtract 1300 from {balance::%player%}
  709.          else:
  710.             message "&4You dont have enough money!"
  711.       format gui slot 14 of player with glass named "&c+250 Customers" with lore "&7Adds 250 customers to your shop" and "&7Costs: &a$3,000" to run:
  712.          if {balance::%player%} is greater than 3000:
  713.             add 250 to {customer::%player%}
  714.             subtract 3000 from {balance::%player%}
  715.          else:
  716.             message "&4You dont have enough money!"
  717.       format gui slot 15 of player with coal block named "&c+500 Customers" with lore "&7Adds 500 customers to your shop" and "&7Costs: &a$6,500" to run:
  718.          if {balance::%player%} is greater than 6500:
  719.             add 500 to {customer::%player%}
  720.             subtract 6500 from {balance::%player%}
  721.          else:
  722.             message "&4You dont have enough money!"
  723.       format gui slot 16 of player with iron block named "&c+1,000 Customers" with lore "&7Adds 1,000 customers to your shop" and "&7Costs: &a$14,000" to run:
  724.          if {balance::%player%} is greater than 14000:
  725.             add 1000 to {customer::%player%}
  726.             subtract 14000 from {balance::%player%}
  727.          else:
  728.             message "&4You dont have enough money!"
  729.       format gui slot 20 of player with lapis block named "&c+20,000 Customers" with lore "&7Adds 20,000 customers to your shop" and "&7Costs: &a$250,000" to run:
  730.          if {balance::%player%} is greater than 250000:
  731.             add 20000 to {customer::%player%}
  732.             subtract 250000 from {balance::%player%}
  733.          else:
  734.             message "&4You dont have enough money!"
  735.       format gui slot 21 of player with gold block named "&c+100,000 Customers" with lore "&7Adds 100,000 customers to your shop" and "&7Costs: &a1,500,000" to run:
  736.          if {balance::%player%} is greater than 1500000:
  737.             add 100000 to {customer::%player%}
  738.             subtract 1500000 from {balance::%player%}
  739.          else:
  740.             message "&4You dont have enough money!"
  741.       format gui slot 22 of player with diamond block named "&c+500,000 Customers" with lore "&7Adds 500,000 customers to your shop" and "&7Costs: &a8,000,000" to run:
  742.          if {balance::%player%} is greater than 8000000:
  743.             add 500000 to {customer::%player%}
  744.             subtract 8000000 from {balance::%player%}
  745.          else:
  746.             message "&4You dont have enough money!"
  747.       format gui slot 23 of player with emerald block named "&c+2,000,000 Customers" with lore "&7Adds 2,000,000 customers to your shop" and "&7Costs: &a28,000,000" to run:
  748.          if {balance::%player%} is greater than 28000000:
  749.             add 2000000 to {customer::%player%}
  750.             subtract 28000000 from {balance::%player%}
  751.          else:
  752.             message "&4You dont have enough money!"
  753.       format gui slot 24 of player with quartz block named "&c+5,000,000 Customers" with lore "&7Adds 5,000,000 customers to your shop" and "&7Costs: &a75,000,000" to run:
  754.          if {balance::%player%} is greater than 75000000:
  755.             add 5000000 to {customer::%player%}
  756.             subtract 75000000 from {balance::%player%}
  757.          else:
  758.             message "&4You dont have enough money!"
  759.       format gui slot 44 of player with redstone block named "&4Go back" to run:
  760.          make player execute command "nifty"
  761.       format gui slot 30 of player with end stone named "&c+50,000,000 Customers" with lore "&7Adds 50,000,000 customers to your shop" and "&7Costs: &a$1,600,000,000" to run:
  762.          if {balance::%player%} is greater than 1600000000:
  763.             subtract 1600000000 from {balance::%player%}
  764.             add 50000000 to {customer::%player%}
  765.          else:
  766.             message "&4You dont have enough money!"
  767.       format gui slot 31 of player with end stone brick named "&c+300,000,000 Customers" with lore "&7Adds 300,000,000 customers to your shop" and "&7Costs: &a$10,000,000,000" to run:
  768.          if {balance::%player%} is greater than 10000000000:
  769.             subtract 10000000000 from {balance::%player%}
  770.             add 300000000 to {customer::%player%}
  771.          else:
  772.             message "&4You dont have enough money!"
  773.       format gui slot 32 of player with end portal frame named "&c+1,000,000,000 Customers" with lore "&7Adds 1,000,000,000 customers to your shop" and "&7Costs: &a$50,000,000,000" to run:
  774.          if {balance::%player%} is greater than 50000000000:
  775.             subtract 50000000000 from {balance::%player%}
  776.             add 1000000000 to {customer::%player%}
  777.          else:
  778.             message "&4You dont have enough money!"
  779.       format gui slot 39 of player with eye of ender named "&c+100,000,000,000 Customers" with lore "&7Adds 100,000,000,000 customers to your shop" and "&7Costs: &a$700,000,000,000" to run:
  780.          if {balance::%player%} is greater than 700000000000:
  781.             subtract 700000000000 from {balance::%player%}
  782.             add 100000000000 to {customer::%player%}
  783.          else:
  784.             message "&4You dont have enough money!"
  785.       format gui slot 40 of player with end crystal named "&c+1,000,000,000,000 Customers" with lore "&7Adds 1,000,000,000,000 customers to your shop" and "&7Costs: &a$2,500,000,000,000" to run:
  786.          if {balance::%player%} is greater than 2500000000000:
  787.             subtract 2500000000000 from {balance::%player%}
  788.             add 1000000000000 to {customer::%player%}
  789.          else:
  790.             message "&4You dont have enough money!"
  791.       format gui slot 41 of player with dragon head named "&c+100,000,000,000,000,000 Customers" with lore "&7Adds 100,000,000,000,000,000 customers to your shop!" and "&7Costs: &a$50,000,000,000,000,000" to run:
  792.          if {balance::%player%} is greater than 50000000000000000:
  793.             subtract 50000000000000000 from {balance::%player%}
  794.             add 100000000000000000 to {customer::%player%}
  795.          else:
  796.             message "&cYou don't have enough money!"
  797.  
  798. command /stockshop:
  799.    trigger:
  800.       open virtual chest inventory with size 5 named "&8&lNifty Shop Simulator" to player
  801.       format gui slot 41 of player with dragon head named "&c+10,000,000,000,000,000,000 Stock" with lore "&7Adds 10,000,000,000,000,000,000 stock to your shop" and "&7Costs: &a$100,000,000,000,000,000" to run:
  802.          if {balance::%player%} is greater than 100000000000000000:
  803.             subtract 100000000000000000 from {balance::%player%}
  804.             add 10000000000000000000 to {stock::%player%}
  805.          else:
  806.             message "&cYou don't have enough money!"
  807.       format gui slot 39 of player with eye of ender named "&c+100,000,000,000 Stock" with lore "&7Adds 100,000,000,000 stock to your shop" and "&7Costs: &a$50,000,000,000" to run:
  808.          if {balance::%player%} is greater than 50000000000:
  809.             subtract 50000000000 from {balance::%player%}
  810.             add 100000000000 to {stock::%player%}
  811.          else:
  812.             message "&cYou don't have enough money!"
  813.       format gui slot 40 of player with end crystal named "&c+10,000,000,000,000 Stock" with lore "&7Adds 10,000,000,000,000 stock to your shop" and "&7Costs: &a$500,000,000,000" to run:
  814.          if {balance::%player%} is greater than 500000000000:
  815.             subtract 500000000000 from {balance::%player%}
  816.             add 10000000000000 to {stock::%player%}
  817.          else:
  818.             message "&cYou don't have enough money!"
  819.       format gui slot 30 of player with end stone named "&c+20,000,000 Stock" with lore "&7Adds 20,000,000 stock to your shop" and "&7Costs: &a$10,000,000" to run:
  820.          if {balance::%player%} is greater than 10000000:
  821.             subtract 10000000 from {balance::%player%}
  822.             add 20000000 to {stock::%player%}
  823.          else:
  824.             message "&cYou don't have enough money!"
  825.       format gui slot 31 of player with end stone bricks named "&c+100,000,000 Stock" with lore "&7Adds 100,000,000 stock to your shop" and "&7Costs: &a$50,000,000" to run:
  826.          if {balance::%player%} is greater than 50000000:
  827.             subtract 50000000 from {balance::%player%}
  828.             add 100000000 to {stock::%player%}
  829.          else:
  830.             message "&cYou don't have enough money!"
  831.       format gui slot 32 of player with end portal frame named "&c+1,000,000,000 Stock" with lore "&7Adds 1,000,000,000 stock to your shop" and "&7Costs: &a$500,000,000" to run:
  832.          if {balance::%player%} is greater than 500000000:
  833.             subtract 500000000 from {balance::%player%}
  834.             add 1000000000 to {stock::%player%}
  835.          else:
  836.             message "&cYou don't have enough money!"
  837.       format gui slot 10 of player with coarse dirt named "&c+10 Stock" with lore "&7Adds 10 stock to your shop" and "&7Costs: &a$5" to run:
  838.          if {balance::%player%} is greater than 5:
  839.             add 10 to {stock::%player%}
  840.             subtract 5 from {balance::%player%}
  841.          else:
  842.             message "&4You dont have enough money!"
  843.       format gui slot 11 of player with grass named "&c+25 Stock" with lore "&7Adds 25 stock to your shop" and "&7Costs: &a$13" to run:
  844.          if {balance::%player%} is greater than 13:
  845.             add 25 to {stock::%player%}
  846.             subtract 13 from {balance::%player%}
  847.          else:
  848.             message "&4You dont have enough money!"
  849.       format gui slot 12 of player with oak log named "&c+50 Stock" with lore "&7Adds 50 stock to your shop" and "&7Costs: &a$25" to run:
  850.          if {balance::%player%} is greater than 25:
  851.             add 50 to {stock::%player%}
  852.             subtract 25 from {balance::%player%}
  853.          else:
  854.             message "&4You dont have enough money!"
  855.       format gui slot 13 of player with stone named "&c+100 Stock" with lore "&7Adds 100 stock to your shop" and "&7Costs: &a$50" to run:
  856.          if {balance::%player%} is greater than 50:
  857.             add 100 to {stock::%player%}
  858.             subtract 50 from {balance::%player%}
  859.          else:
  860.             message "&4You dont have enough money!"
  861.       format gui slot 14 of player with glass named "&c+250 Stock" with lore "&7Adds 250 stock to your shop" and "&7Costs: &a$125" to run:
  862.          if {balance::%player%} is greater than 125:
  863.             add 250 to {stock::%player%}
  864.             subtract 125 from {balance::%player%}
  865.          else:
  866.             message "&4You dont have enough money!"
  867.       format gui slot 15 of player with coal block named "&c+500 Stock" with lore "&7Adds 500 stock to your shop" and "&7Costs: &a$250" to run:
  868.          if {balance::%player%} is greater than 250:
  869.             add 500 to {stock::%player%}
  870.             subtract 250 from {balance::%player%}
  871.          else:
  872.             message "&4You dont have enough money!"
  873.       format gui slot 16 of player with iron block named "&c+1,000 Stock" with lore "&7Adds 1,000 stock to your shop" and "&7Costs: &a$500" to run:
  874.          if {balance::%player%} is greater than 500:
  875.             add 1000 to {stock::%player%}
  876.             subtract 500 from {balance::%player%}
  877.          else:
  878.             message "&4You dont have enough money!"
  879.       format gui slot 20 of player with lapis block named "&c+20,000 Stock" with lore "&7Adds 20,000 stock to your shop" and "&7Costs: &a$10,000" to run:
  880.          if {balance::%player%} is greater than 10000:
  881.             add 20000 to {stock::%player%}
  882.             subtract 10000 from {balance::%player%}
  883.          else:
  884.             message "&4You dont have enough money!"
  885.       format gui slot 21 of player with gold block named "&c+100,000 Stock" with lore "&7Adds 100,000 stock to your shop" and "&7Costs: &a50,000" to run:
  886.          if {balance::%player%} is greater than 50000:
  887.             add 100000 to {stock::%player%}
  888.             subtract 50000 from {balance::%player%}
  889.          else:
  890.             message "&4You dont have enough money!"
  891.       format gui slot 22 of player with diamond block named "&c+500,000 Stock" with lore "&7Adds 500,000 stock to your shop" and "&7Costs: &a250,000" to run:
  892.          if {balance::%player%} is greater than 250000:
  893.             add 500000 to {stock::%player%}
  894.             subtract 250000 from {balance::%player%}
  895.          else:
  896.             message "&4You dont have enough money!"
  897.       format gui slot 23 of player with emerald block named "&c+2,000,000 Stock" with lore "&7Adds 2,000,000 stock to your shop" and "&7Costs: &a1,000,000" to run:
  898.          if {balance::%player%} is greater than 1000000:
  899.             add 2000000 to {stock::%player%}
  900.             subtract 1000000 from {balance::%player%}
  901.          else:
  902.             message "&4You dont have enough money!"
  903.       format gui slot 24 of player with quartz block named "&c+5,000,000 Stock" with lore "&7Adds 5,000,000 stock to your shop" and "&7Costs: &a2,500,000" to run:
  904.          if {balance::%player%} is greater than 2500000:
  905.             add 5000000 to {stock::%player%}
  906.             subtract 2500000 from {balance::%player%}
  907.          else:
  908.             message "&4You dont have enough money!"
  909.       format gui slot 44 of player with redstone block named "&4Go back" to run:
  910.          make player execute command "nifty"
  911.  
  912.  
  913. options:
  914.    combatlog.seconds: 15
  915.  
  916.    message.attacker: You are in combatlog with %{_player}%
  917.    message.victim: You are in combatlog with %{_player}%
  918.  
  919.    combatlog.no.commands: You are not allowed to use commands in combatlog!
  920.    combatlog.quit: %{_player}% quit when he was in combatlog.
  921.    combatlog.end: Your combatlog was finished!
  922.  
  923.    combatlog.accepted.commands: "ct" or "report"
  924.  
  925.    combatlog.command.true: You must wait %{_time}% seconds!
  926.    combatlog.command.false: You are not in combatlog!
  927.    combatlog.command.bypass: You have the bypass permission!
  928.  
  929. # Do not edit - Created by kratess #
  930.  
  931. command /combatlog:
  932.    aliases: /ct, /cl, combattag
  933.    trigger:
  934.       set {_time} to {combatlog.check.%player%}
  935.       if player doesn't have permission "combatlog.bypass":
  936.          if {_time} is set:
  937.             send "{@combatlog.command.true}"
  938.          else:
  939.             send "{@combatlog.command.false}"
  940.       else:
  941.          send "{@combatlog.command.bypass}"
  942. on damage:
  943.    if attacker is a player:
  944.       if victim is a player:
  945.          if {combatlog.check.%attacker%} is not set:
  946.             if attacker doesn't have permission "combatlog.bypass":
  947.                set {_player} to attacker
  948.                send "{@message.attacker}" to attacker
  949.          if {combatlog.check.%victim%} is not set:
  950.             if victim doesn't have permission "combatlog.bypass":
  951.                set {_player} to victim
  952.                send "{@message.victim}" to victim
  953.          if attacker doesn't have permission "combatlog.bypass":
  954.             set {combatlog.check.%attacker%} to {@combatlog.seconds}
  955.             loop {comabtlog::*}:
  956.                if loop-value is victim:
  957.                   set {_is.victim} to true
  958.                   stop loop
  959.          if {_is.victim} is not set:
  960.             add name of victim to {combatlog::*}
  961.          if victim doesn't have permission "combatlog.bypass":
  962.             set {combatlog.check.%victim%} to {@combatlog.seconds}
  963.             loop {comabtlog::*}:
  964.                if loop-value is attacker:
  965.                   set {_is.attacker} to true
  966.                   stop loop
  967.          if {_is.attacker} is not set:
  968.             add name of attacker to {combatlog::*}
  969. every second:
  970.    loop {combatlog::*}:
  971.       remove 1 from {combatlog.check.%loop-value%}
  972.       if {combatlog.check.%loop-value%} is less than 1:
  973.          delete {combatlog.check.%loop-value%}
  974.          send "{@combatlog.end}" to loop-value
  975.          remove loop-value from {combatlog::*}
  976. on command:
  977.    if {combatlog.check.%player%} is set:
  978.       if command is not {@combatlog.accepted.commands}:
  979.          cancel event
  980.          send "{@combatlog.no.commands}"
  981. on quit:
  982.    if {combatlog.check.%player%} is set:
  983.       set {_player} to player
  984.       delete {combatlog.check.%player%}
  985.       remove player from {combatlog::*}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top