SHARE
TWEET

Untitled

a guest Sep 20th, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.     p: &8[&bPRISON&8]&7
  3.  
  4. on sign change:
  5.     line 1 is "VSHOP"
  6.     line 2 is "C"
  7.     set line 1 to "&6&lSHOP"
  8.     set line 2 to "&eTryk for at"
  9.     set line 3 to "&ese hvad du kan"
  10.     set line 4 to "&ekøbe! &7(&c&lC&7)"
  11.    
  12. on rightclick on sign:
  13.     line 1 is "&6&lSHOP"
  14.     line 2 is "&eTryk for at"
  15.     line 3 is "&ese hvad du kan"
  16.     line 4 is "&ekøbe! &7(&c&lC&7)"
  17.     if player is holding a Hand:
  18.         if player has permission "C-Vagt", "B-Vagt" or "A-Vagt":
  19.             open chest with 3 rows named "&7Køb" to player
  20.             wait 1 tick
  21.             format slot 2 of player with 16 cooked porkchop named "&aKøb 16 porkchop!" with lore "&2Pris: &a200" to close then run [make player execute command "vsporkchopc"]
  22.             format slot 6 of player with shiny stick named "&aKøb en knockback stick!" with lore "&2Pris: &a200" to close then run [make player execute command "vsknockbackc"]
  23.             format slot 10 of player with shiny golden helmet named "&aKøb en hjelm!" with lore "&2Pris: &a500" to close then run [make player execute command "vsironhelmetc"]
  24.             format slot 12 of player with shiny iron chestplate named "&aKøb en brystplade!" with lore "&2Pris: &a600" to close then run [make player execute command "vsironchestplatec"]
  25.             format slot 14 of player with shiny iron leggings named "&aKøb bukser!" with lore "&2Pris: &a600" to close then run [make player execute command "vsironleggingsc"]
  26.             format slot 16 of player with shiny iron boots named "&aKøb sko!" with lore "&2Pris: &a600" to close then run [make player execute command "vsironbootsc"]
  27.             format slot 20 of player with shiny iron sword named "&aKøb en sværd!" with lore "&2Pris: &a800" to close then run [make player execute command "vsironswordc"]
  28.             format slot 22 of player with 64 arrows named "&aKøb 64 pile!" with lore "&2Pris: &a250" to close then run [make player execute command "vsarrowsc"]
  29.             format slot 24 of player with shiny bow named "&aKøb en bue!" with lore "&2Pris: &a700" to close then run [make player execute command "vsbowc"]
  30. command /vsporkchopc:
  31.     permission: Vagt
  32.     trigger:
  33.         if balance of player >= 200:
  34.             give player 16 cooked porkchop with no nbt named "&a%player%"
  35.             remove 200 from player's balance
  36.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &616 Cooked Porkchop &ei vagt shoppen!"
  37.             execute player command "/updatescore"
  38.         else:
  39.             message "{@p} &cDu har ikke nok penge!"
  40. command /vsknockbackc:
  41.     permission: Vagt
  42.     trigger:
  43.         if balance of player >= 200:
  44.             give player stick with no nbt named "&a%player%" with lore "&6Knockback: &e0"
  45.             remove 200 from player's balance
  46.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 knockback stick &ei vagt shoppen!"
  47.             execute player command "/updatescore"
  48.         else:
  49.             message "{@p} &cDu har ikke nok penge!"
  50.        
  51. command /vsironhelmetc:
  52.     permission: Vagt
  53.     trigger:
  54.         if balance of player >= 500:
  55.             give player golden helmet with no nbt named "&a%player%" with lore "&6Prot: &e0"
  56.             remove 500 from player's balance
  57.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 hjelm &ei vagt shoppen!"
  58.             execute player command "/updatescore"
  59.         else:
  60.             message "{@p} &cDu har ikke nok penge!"
  61.        
  62. command /vsironchestplatec:
  63.     permission: Vagt
  64.     trigger:
  65.         if balance of player >= 600:
  66.             give player iron chestplate with no nbt named "&a%player%" with lore "&6Prot: &e0"
  67.             remove 600 from player's balance
  68.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 brystplade &ei vagt shoppen!"
  69.             execute player command "/updatescore"
  70.         else:
  71.             message "{@p} &cDu har ikke nok penge!"
  72.        
  73. command /vsironleggingsc:
  74.     permission: Vagt
  75.     trigger:
  76.         if balance of player >= 600:
  77.             give player iron leggings with no nbt named "&a%player%" with lore "&6Prot: &e0"
  78.             remove 600 from player's balance
  79.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &6bukser &ei vagt shoppen!"
  80.             execute player command "/updatescore"
  81.         else:
  82.             message "{@p} &cDu har ikke nok penge!"
  83.        
  84. command /vsironbootsc:
  85.     permission: Vagt
  86.     trigger:
  87.         if balance of player >= 600:
  88.             give player iron boots with no nbt named "&a%player%" with lore "&6Prot: &e0"
  89.             remove 600 from player's balance
  90.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &6sko &ei vagt shoppen!"
  91.             execute player command "/updatescore"
  92.         else:
  93.             message "{@p} &cDu har ikke nok penge!"
  94.        
  95. command /vsironswordc:
  96.     permission: Vagt
  97.     trigger:
  98.         if balance of player >= 800:
  99.             give player iron sword with no nbt named "&a%player%" with lore "&6Sharp: &e0"
  100.             remove 800 from player's balance
  101.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 sværd &ei vagt shoppen!"
  102.             execute player command "/updatescore"
  103.         else:
  104.             message "{@p} &cDu har ikke nok penge!"
  105.        
  106. command /vsarrowsc:
  107.     permission: Vagt
  108.     trigger:
  109.         if balance of player >= 250:
  110.             give player 64 arrows with no nbt named "&a%player%"
  111.             remove 250 from player's balance
  112.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &664 pile &ei vagt shoppen!"
  113.             execute player command "/updatescore"
  114.         else:
  115.             message "{@p} &cDu har ikke nok penge!"
  116.        
  117. command /vsbowc:
  118.     permission: Vagt
  119.     trigger:
  120.         if balance of player >= 700:
  121.             give player bow with no nbt named "&a%player%" with lore "&6Power: &e0"
  122.             remove 700 from player's balance
  123.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 bue &ei vagt shoppen!"
  124.             execute player command "/updatescore"
  125.         else:
  126.             message "{@p} &cDu har ikke nok penge!"
  127.            
  128. on rightclick on sign:
  129.     line 1 is "&6&lSHOP"
  130.     line 2 is "&eTryk for at"
  131.     line 3 is "&ese hvad du kan"
  132.     line 4 is "&ekøbe! &7(&c&lC&7)"
  133.     if player is holding stick with no nbt named "&a%player%" with lore "&6Knockback: &e0":
  134.         open chest with 3 rows named "&7Køb" to player
  135.         wait 1 tick
  136.         format slot 13 of player with shiny stick named "&7Køb &6&lknockback 1 &7til din stick!" with lore "&2Pris: &a400" to close then run [make player execute command "vsknockback1c"]
  137.     if player is holding stick of knockback 1 with no nbt named "&a%player%" with lore "&6Knockback: &e1":
  138.         open chest with 3 rows named "&7Køb" to player
  139.         wait 1 tick
  140.         format slot 13 of player with shiny stick named "&7Køb &6&lknockback 2 &7til din stick!" with lore "&2Pris: &a800" to close then run [make player execute command "vsknockback2c"]
  141.     if player is holding stick of knockback 2 with no nbt named "&a%player%" with lore "&6Knockback: &e2":
  142.         open chest with 3 rows named "&7Køb" to player
  143.         wait 1 tick
  144.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin Stick er fuld opgraderet" to be unstealable
  145. command /vsknockback1c:
  146.     permission: Vagt
  147.     permission message: &4Du har ikke adgang til denne kommando.
  148.     trigger:
  149.         if balance of player >= 400:
  150.             enchant the player's tool with knockback 1
  151.             set {knockback.%player%} to "&6Knockback: &e1"
  152.             set the lore of the player's tool to "&6Knockback: &e1"
  153.             wait 1 tick
  154.             remove 400 from player's balance
  155.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6knockback stick &emed &6knockback 1 &ei vagt shoppen!"
  156.             execute player command "/updatescore"
  157.         else:
  158.             message "{@p} &cDu har ikke nok penge!"
  159.            
  160. command /vsknockback2c:
  161.     permission: Vagt
  162.     permission message: &4Du har ikke adgang til denne kommando.
  163.     trigger:
  164.         if balance of player >= 800:
  165.             enchant the player's tool with knockback 2
  166.             set {knockback.%player%} to "&6Knockback: &e2"
  167.             set the lore of the player's tool to "&6Knockback: &e2"
  168.             wait 1 tick
  169.             remove 800 from player's balance
  170.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6knockback stick &emed &6knockback 2 &ei vagt shoppen!"
  171.             execute player command "/updatescore"
  172.         else:
  173.             message "{@p} &cDu har ikke nok penge!"
  174.            
  175.  
  176.            
  177.            
  178.            
  179.            
  180. on rightclick on sign:
  181.     line 1 is "&6&lSHOP"
  182.     line 2 is "&eTryk for at"
  183.     line 3 is "&ese hvad du kan"
  184.     line 4 is "&ekøbe! &7(&c&lC&7)"
  185.     if player is holding golden helmet with no nbt named "&a%player%" with lore "&6Prot: &e0":
  186.         open chest with 3 rows named "&7Køb" to player
  187.         wait 1 tick
  188.         format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 1 &7til din hjelm!" with lore "&2Pris: &a1000" to close then run [make player execute command "vsironhelmet1c"]
  189.     if player is holding golden helmet of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
  190.         open chest with 3 rows named "&7Køb" to player
  191.         wait 1 tick
  192.         format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 2 &7til din hjelm!" with lore "&2Pris: &a2000" to close then run [make player execute command "vsironhelmet2c"]
  193.     if player is holding golden helmet of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
  194.         open chest with 3 rows named "&7Køb" to player
  195.         wait 1 tick
  196.         format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 3 &7til din hjelm!" with lore "&2Pris: &a3500" to close then run [make player execute command "vsironhelmet3c"]
  197.     if player is holding golden helmet of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
  198.         open chest with 3 rows named "&7Køb" to player
  199.         wait 1 tick
  200.         format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 4 &7til din hjelm!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsironhelmet4c"]
  201.     if player is holding golden helmet of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
  202.         open chest with 3 rows named "&7Køb" to player
  203.         wait 1 tick
  204.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin hjelm er fuld opgraderet" to be unstealable
  205.        
  206. command /vsironhelmet1c:
  207.     permission: Vagt
  208.     permission message: &4Du har ikke adgang til denne kommando.
  209.     trigger:
  210.         if balance of player >= 1000:
  211.             enchant the player's tool with protection 1
  212.             set the lore of the player's tool to "&6Prot: &e1"
  213.             wait 1 tick
  214.             remove 1000 from player's balance
  215.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 1 &ei vagt shoppen!"
  216.             execute player command "/updatescore"
  217.         else:
  218.             message "{@p} &cDu har ikke nok penge!"
  219.            
  220. command /vsironhelmet2c:
  221.     permission: Vagt
  222.     permission message: &4Du har ikke adgang til denne kommando.
  223.     trigger:
  224.         if balance of player >= 2000:
  225.             enchant the player's tool with protection 2
  226.             set the lore of the player's tool to "&6Prot: &e2"
  227.             wait 1 tick
  228.             remove 2000 from player's balance
  229.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 2 &ei vagt shoppen!"
  230.             execute player command "/updatescore"
  231.         else:
  232.             message "{@p} &cDu har ikke nok penge!"
  233. command /vsironhelmet3c:
  234.     permission: Vagt
  235.     permission message: &4Du har ikke adgang til denne kommando.
  236.     trigger:
  237.         if balance of player >= 3500:
  238.             enchant the player's tool with protection 3
  239.             set the lore of the player's tool to "&6Prot: &e3"
  240.             wait 1 tick
  241.             remove 3500 from player's balance
  242.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 3 &ei vagt shoppen!"
  243.             execute player command "/updatescore"
  244.         else:
  245.             message "{@p} &cDu har ikke nok penge!"
  246. command /vsironhelmet4c:
  247.     permission: Vagt
  248.     permission message: &4Du har ikke adgang til denne kommando.
  249.     trigger:
  250.         if balance of player >= 6500:
  251.             enchant the player's tool with protection 4
  252.             set the lore of the player's tool to "&6Prot: &e4"
  253.             wait 1 tick
  254.             remove 6500 from player's balance
  255.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 4 &ei vagt shoppen!"
  256.             execute player command "/updatescore"
  257.         else:
  258.             message "{@p} &cDu har ikke nok penge!"
  259.            
  260.            
  261.            
  262.            
  263.  
  264.            
  265. on rightclick on sign:
  266.     line 1 is "&6&lSHOP"
  267.     line 2 is "&eTryk for at"
  268.     line 3 is "&ese hvad du kan"
  269.     line 4 is "&ekøbe! &7(&c&lC&7)"
  270.     if player is holding iron chestplate with no nbt named "&a%player%" with lore "&6Prot: &e0":
  271.         open chest with 3 rows named "&7Køb" to player
  272.         wait 1 tick
  273.         format slot 13 of player with shiny iron chestplate named "&7Køb &6&lprotection 1 &7til din brystplade!" with lore "&2Pris: &a1000" to close then run [make player execute command "vsironchestplate1c"]
  274.     if player is holding iron chestplate of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
  275.         open chest with 3 rows named "&7Køb" to player
  276.         wait 1 tick
  277.         format slot 13 of player with shiny iron chestplate named "&7Køb &6&lprotection 2 &7til din brystplade!" with lore "&2Pris: &a2000" to close then run [make player execute command "vsironchestplate2c"]
  278.     if player is holding iron chestplate of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
  279.         open chest with 3 rows named "&7Køb" to player
  280.         wait 1 tick
  281.         format slot 13 of player with shiny iron chestplate named "&7Køb &6&lprotection 3 &7til din brystplade!" with lore "&2Pris: &a3500" to close then run [make player execute command "vsironchestplate3c"]
  282.     if player is holding iron chestplate of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
  283.         open chest with 3 rows named "&7Køb" to player
  284.         wait 1 tick
  285.         format slot 13 of player with shiny iron chestplate named "&7Køb &6&lprotection 4 &7til din brystplade!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsironchestplate4c"]
  286.     if player is holding iron chestplate of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
  287.         open chest with 3 rows named "&7Køb" to player
  288.         wait 1 tick
  289.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin brystplade er fuld opgraderet" to be unstealable
  290.        
  291. command /vsironchestplate1c:
  292.     permission: Vagt
  293.     permission message: &4Du har ikke adgang til denne kommando.
  294.     trigger:
  295.         if balance of player >= 1000:
  296.             enchant the player's tool with protection 1
  297.             set the lore of the player's tool to "&6Prot: &e1"
  298.             wait 1 tick
  299.             remove 1000 from player's balance
  300.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 1 &ei vagt shoppen!"
  301.             execute player command "/updatescore"
  302.         else:
  303.             message "{@p} &cDu har ikke nok penge!"
  304.            
  305. command /vsironchestplate2c:
  306.     permission: Vagt
  307.     permission message: &4Du har ikke adgang til denne kommando.
  308.     trigger:
  309.         if balance of player >= 2000:
  310.             enchant the player's tool with protection 2
  311.             set the lore of the player's tool to "&6Prot: &e2"
  312.             wait 1 tick
  313.             remove 2000 from player's balance
  314.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 2 &ei vagt shoppen!"
  315.             execute player command "/updatescore"
  316.         else:
  317.             message "{@p} &cDu har ikke nok penge!"
  318. command /vsironchestplate3c:
  319.     permission: Vagt
  320.     permission message: &4Du har ikke adgang til denne kommando.
  321.     trigger:
  322.         if balance of player >= 3500:
  323.             enchant the player's tool with protection 3
  324.             set the lore of the player's tool to "&6Prot: &e3"
  325.             wait 1 tick
  326.             remove 3500 from player's balance
  327.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 3 &ei vagt shoppen!"
  328.             execute player command "/updatescore"
  329.         else:
  330.             message "{@p} &cDu har ikke nok penge!"
  331. command /vsironchestplate4c:
  332.     permission: Vagt
  333.     permission message: &4Du har ikke adgang til denne kommando.
  334.     trigger:
  335.         if balance of player >= 6500:
  336.             enchant the player's tool with protection 4
  337.             set the lore of the player's tool to "&6Prot: &e4"
  338.             wait 1 tick
  339.             remove 6500 from player's balance
  340.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 4 &ei vagt shoppen!"
  341.             execute player command "/updatescore"
  342.         else:
  343.             message "{@p} &cDu har ikke nok penge!"
  344.            
  345.            
  346.            
  347.            
  348.            
  349.            
  350.            
  351.    
  352.    
  353. on rightclick on sign:
  354.     line 1 is "&6&lSHOP"
  355.     line 2 is "&eTryk for at"
  356.     line 3 is "&ese hvad du kan"
  357.     line 4 is "&ekøbe! &7(&c&lC&7)"
  358.     if player is holding iron leggings with no nbt named "&a%player%" with lore "&6Prot: &e0":
  359.         open chest with 3 rows named "&7Køb" to player
  360.         wait 1 tick
  361.         format slot 13 of player with shiny iron leggings named "&7Køb &6&lprotection 1 &7til din bukser!" with lore "&2Pris: &a1000" to close then run [make player execute command "vsironleggings1c"]
  362.     if player is holding iron leggings of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
  363.         open chest with 3 rows named "&7Køb" to player
  364.         wait 1 tick
  365.         format slot 13 of player with shiny iron leggings named "&7Køb &6&lprotection 2 &7til din bukser!" with lore "&2Pris: &a2000" to close then run [make player execute command "vsironleggings2c"]
  366.     if player is holding iron leggings of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
  367.         open chest with 3 rows named "&7Køb" to player
  368.         wait 1 tick
  369.         format slot 13 of player with shiny iron leggings named "&7Køb &6&lprotection 3 &7til din bukser!" with lore "&2Pris: &a3500" to close then run [make player execute command "vsironleggings3c"]
  370.     if player is holding iron leggings of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
  371.         open chest with 3 rows named "&7Køb" to player
  372.         wait 1 tick
  373.         format slot 13 of player with shiny iron leggings named "&7Køb &6&lprotection 4 &7til din bukser!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsironleggings4c"]
  374.     if player is holding iron leggings of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
  375.         open chest with 3 rows named "&7Køb" to player
  376.         wait 1 tick
  377.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin bukser er fuld opgraderet" to be unstealable
  378.        
  379. command /vsironleggings1c:
  380.     permission: Vagt
  381.     permission message: &4Du har ikke adgang til denne kommando.
  382.     trigger:
  383.         if balance of player >= 1000:
  384.             enchant the player's tool with protection 1
  385.             set the lore of the player's tool to "&6Prot: &e1"
  386.             wait 1 tick
  387.             remove 1000 from player's balance
  388.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 1 &ei vagt shoppen!"
  389.             execute player command "/updatescore"
  390.         else:
  391.             message "{@p} &cDu har ikke nok penge!"
  392.            
  393. command /vsironleggings2c:
  394.     permission: Vagt
  395.     permission message: &4Du har ikke adgang til denne kommando.
  396.     trigger:
  397.         if balance of player >= 2000:
  398.             enchant the player's tool with protection 2
  399.             set the lore of the player's tool to "&6Prot: &e2"
  400.             wait 1 tick
  401.             remove 2000 from player's balance
  402.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 2 &ei vagt shoppen!"
  403.             execute player command "/updatescore"
  404.         else:
  405.             message "{@p} &cDu har ikke nok penge!"
  406. command /vsironleggings3c:
  407.     permission: Vagt
  408.     permission message: &4Du har ikke adgang til denne kommando.
  409.     trigger:
  410.         if balance of player >= 3500:
  411.             enchant the player's tool with protection 3
  412.             set the lore of the player's tool to "&6Prot: &e3"
  413.             wait 1 tick
  414.             remove 3500 from player's balance
  415.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 3 &ei vagt shoppen!"
  416.             execute player command "/updatescore"
  417.         else:
  418.             message "{@p} &cDu har ikke nok penge!"
  419. command /vsironleggings4c:
  420.     permission: Vagt
  421.     permission message: &4Du har ikke adgang til denne kommando.
  422.     trigger:
  423.         if balance of player >= 6500:
  424.             enchant the player's tool with protection 4
  425.             set the lore of the player's tool to "&6Prot: &e4"
  426.             wait 1 tick
  427.             remove 6500 from player's balance
  428.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 4 &ei vagt shoppen!"
  429.             execute player command "/updatescore"
  430.         else:
  431.             message "{@p} &cDu har ikke nok penge!"
  432.            
  433.            
  434.            
  435.            
  436.            
  437.            
  438. on rightclick on sign:
  439.     line 1 is "&6&lSHOP"
  440.     line 2 is "&eTryk for at"
  441.     line 3 is "&ese hvad du kan"
  442.     line 4 is "&ekøbe! &7(&c&lC&7)"
  443.     if player is holding iron boots with no nbt named "&a%player%" with lore "&6Prot: &e0":
  444.         open chest with 3 rows named "&7Køb" to player
  445.         wait 1 tick
  446.         format slot 13 of player with shiny iron boots named "&7Køb &6&lprotection 1 &7til din sko!" with lore "&2Pris: &a1000" to close then run [make player execute command "vsironboots1c"]
  447.     if player is holding iron boots of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
  448.         open chest with 3 rows named "&7Køb" to player
  449.         wait 1 tick
  450.         format slot 13 of player with shiny iron boots named "&7Køb &6&lprotection 2 &7til din sko!" with lore "&2Pris: &a2000" to close then run [make player execute command "vsironboots2c"]
  451.     if player is holding iron boots of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
  452.         open chest with 3 rows named "&7Køb" to player
  453.         wait 1 tick
  454.         format slot 13 of player with shiny iron boots named "&7Køb &6&lprotection 3 &7til din sko!" with lore "&2Pris: &a3500" to close then run [make player execute command "vsironboots3c"]
  455.     if player is holding iron boots of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
  456.         open chest with 3 rows named "&7Køb" to player
  457.         wait 1 tick
  458.         format slot 13 of player with shiny iron boots named "&7Køb &6&lprotection 4 &7til din sko!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsironboots4c"]
  459.     if player is holding iron boots of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
  460.         open chest with 3 rows named "&7Køb" to player
  461.         wait 1 tick
  462.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin sko er fuld opgraderet" to be unstealable
  463.        
  464. command /vsironboots1c:
  465.     permission: Vagt
  466.     permission message: &4Du har ikke adgang til denne kommando.
  467.     trigger:
  468.         if balance of player >= 1000:
  469.             enchant the player's tool with protection 1
  470.             set the lore of the player's tool to "&6Prot: &e1"
  471.             wait 1 tick
  472.             remove 1000 from player's balance
  473.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 1 &ei vagt shoppen!"
  474.             execute player command "/updatescore"
  475.         else:
  476.             message "{@p} &cDu har ikke nok penge!"
  477.            
  478. command /vsironboots2c:
  479.     permission: Vagt
  480.     permission message: &4Du har ikke adgang til denne kommando.
  481.     trigger:
  482.         if balance of player >= 2000:
  483.             enchant the player's tool with protection 2
  484.             set the lore of the player's tool to "&6Prot: &e2"
  485.             wait 1 tick
  486.             remove 2000 from player's balance
  487.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 2 &ei vagt shoppen!"
  488.             execute player command "/updatescore"
  489.         else:
  490.             message "{@p} &cDu har ikke nok penge!"
  491. command /vsironboots3c:
  492.     permission: Vagt
  493.     permission message: &4Du har ikke adgang til denne kommando.
  494.     trigger:
  495.         if balance of player >= 3500:
  496.             enchant the player's tool with protection 3
  497.             set the lore of the player's tool to "&6Prot: &e3"
  498.             wait 1 tick
  499.             remove 3500 from player's balance
  500.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 3 &ei vagt shoppen!"
  501.             execute player command "/updatescore"
  502.         else:
  503.             message "{@p} &cDu har ikke nok penge!"
  504. command /vsironboots4c:
  505.     permission: Vagt
  506.     permission message: &4Du har ikke adgang til denne kommando.
  507.     trigger:
  508.         if balance of player >= 6500:
  509.             enchant the player's tool with protection 4
  510.             set the lore of the player's tool to "&6Prot: &e4"
  511.             wait 1 tick
  512.             remove 6500 from player's balance
  513.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 4 &ei vagt shoppen!"
  514.             execute player command "/updatescore"
  515.         else:
  516.             message "{@p} &cDu har ikke nok penge!"
  517.            
  518.            
  519.            
  520.            
  521.            
  522.            
  523.            
  524.            
  525.            
  526.            
  527. on rightclick on sign:
  528.     line 1 is "&6&lSHOP"
  529.     line 2 is "&eTryk for at"
  530.     line 3 is "&ese hvad du kan"
  531.     line 4 is "&ekøbe! &7(&c&lC&7)"
  532.     if player is holding iron sword with no nbt named "&a%player%" with lore "&6Sharp: &e0":
  533.         open chest with 3 rows named "&7Køb" to player
  534.         wait 1 tick
  535.         format slot 13 of player with shiny iron sword named "&7Køb &6&lsharpness 1 &7til din sværd!" with lore "&2Pris: &a1500" to close then run [make player execute command "vsironsword1c"]
  536.     if player is holding iron sword of sharpness 1 with no nbt named "&a%player%" with lore "&6Sharp: &e1":
  537.         open chest with 3 rows named "&7Køb" to player
  538.         wait 1 tick
  539.         format slot 13 of player with shiny iron sword named "&7Køb &6&lsharpness 2 &7til din sværd!" with lore "&2Pris: &a3000" to close then run [make player execute command "vsironsword2c"]
  540.     if player is holding iron sword of sharpness 2 with no nbt named "&a%player%" with lore "&6Sharp: &e2":
  541.         open chest with 3 rows named "&7Køb" to player
  542.         wait 1 tick
  543.         format slot 13 of player with shiny iron sword named "&7Køb &6&lsharpness 3 &7til din sværd!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsironsword3c"]
  544.     if player is holding iron sword of sharpness 3 with no nbt named "&a%player%" with lore "&6Sharp: &e3":
  545.         open chest with 3 rows named "&7Køb" to player
  546.         wait 1 tick
  547.         format slot 13 of player with shiny iron sword named "&7Køb &6&lsharpness 4 &7til din sværd!" with lore "&2Pris: &a9500" to close then run [make player execute command "vsironsword4c"]
  548.     if player is holding iron sword of sharpness 4 with no nbt named "&a%player%" with lore "&6Sharp: &e4":
  549.         open chest with 3 rows named "&7Køb" to player
  550.         wait 1 tick
  551.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin sværd er fuld opgraderet" to be unstealable
  552.        
  553. command /vsironsword1c:
  554.     permission: Vagt
  555.     permission message: &4Du har ikke adgang til denne kommando.
  556.     trigger:
  557.         if balance of player >= 1500:
  558.             enchant the player's tool with sharpness 1
  559.             set the lore of the player's tool to "&6Sharp: &e1"
  560.             wait 1 tick
  561.             remove 1500 from player's balance
  562.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 1 &ei vagt shoppen!"
  563.             execute player command "/updatescore"
  564.         else:
  565.             message "{@p} &cDu har ikke nok penge!"
  566.            
  567. command /vsironsword2c:
  568.     permission: Vagt
  569.     permission message: &4Du har ikke adgang til denne kommando.
  570.     trigger:
  571.         if balance of player >= 3000:
  572.             enchant the player's tool with sharpness 2
  573.             set the lore of the player's tool to "&6Sharp: &e2"
  574.             wait 1 tick
  575.             remove 3000 from player's balance
  576.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 2 &ei vagt shoppen!"
  577.             execute player command "/updatescore"
  578.         else:
  579.             message "{@p} &cDu har ikke nok penge!"
  580. command /vsironsword3c:
  581.     permission: Vagt
  582.     permission message: &4Du har ikke adgang til denne kommando.
  583.     trigger:
  584.         if balance of player >= 6500:
  585.             enchant the player's tool with sharpness 3
  586.             set the lore of the player's tool to "&6Sharp: &e3"
  587.             wait 1 tick
  588.             remove 6500 from player's balance
  589.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 3 &ei vagt shoppen!"
  590.             execute player command "/updatescore"
  591.         else:
  592.             message "{@p} &cDu har ikke nok penge!"
  593. command /vsironsword4c:
  594.     permission: Vagt
  595.     permission message: &4Du har ikke adgang til denne kommando.
  596.     trigger:
  597.         if balance of player >= 9500:
  598.             enchant the player's tool with sharpness 4
  599.             set the lore of the player's tool to "&6Sharp: &e4"
  600.             wait 1 tick
  601.             remove 9500 from player's balance
  602.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 4 &ei vagt shoppen!"
  603.             execute player command "/updatescore"
  604.         else:
  605.             message "{@p} &cDu har ikke nok penge!"
  606.            
  607.            
  608.            
  609.            
  610.            
  611.            
  612.            
  613.            
  614.            
  615. on rightclick on sign:
  616.     line 1 is "&6&lSHOP"
  617.     line 2 is "&eTryk for at"
  618.     line 3 is "&ese hvad du kan"
  619.     line 4 is "&ekøbe! &7(&c&lC&7)"
  620.     if player is holding bow with no nbt named "&a%player%" with lore "&6Power: &e0":
  621.         open chest with 3 rows named "&7Køb" to player
  622.         wait 1 tick
  623.         format slot 13 of player with shiny bow named "&7Køb &6&lpower 1 &7til din bue!" with lore "&2Pris: &a1000" to close then run [make player execute command "vsbow1c"]
  624.     if player is holding bow of power 1 with no nbt named "&a%player%" with lore "&6Power: &e1":
  625.         open chest with 3 rows named "&7Køb" to player
  626.         wait 1 tick
  627.         format slot 13 of player with shiny bow named "&7Køb &6&lpower 2 &7til din bue!" with lore "&2Pris: &a2500" to close then run [make player execute command "vsbow2c"]
  628.     if player is holding bow of power 2 with no nbt named "&a%player%" with lore "&6Power: &e2":
  629.         open chest with 3 rows named "&7Køb" to player
  630.         wait 1 tick
  631.         format slot 13 of player with shiny bow named "&7Køb &6&lpower 3 &7til din bue!" with lore "&2Pris: &a4000" to close then run [make player execute command "vsbow3c"]
  632.     if player is holding bow of power 3 with no nbt named "&a%player%" with lore "&6Power: &e3":
  633.         open chest with 3 rows named "&7Køb" to player
  634.         wait 1 tick
  635.         format slot 13 of player with shiny bow named "&7Køb &6&lpower 4 &7til din bue!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsbow4c"]
  636.     if player is holding bow of power 4 with no nbt named "&a%player%" with lore "&6Power: &e4":
  637.         open chest with 3 rows named "&7Køb" to player
  638.         wait 1 tick
  639.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin bue er fuld opgraderet" to be unstealable
  640.        
  641. command /vsbow1c:
  642.     permission: Vagt
  643.     permission message: &4Du har ikke adgang til denne kommando.
  644.     trigger:
  645.         if balance of player >= 1000:
  646.             enchant the player's tool with power 1
  647.             set the lore of the player's tool to "&6Power: &e1"
  648.             wait 1 tick
  649.             remove 1000 from player's balance
  650.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 1 &ei vagt shoppen!"
  651.             execute player command "/updatescore"
  652.         else:
  653.             message "{@p} &cDu har ikke nok penge!"
  654.            
  655. command /vsbow2c:
  656.     permission: Vagt
  657.     permission message: &4Du har ikke adgang til denne kommando.
  658.     trigger:
  659.         if balance of player >= 2500:
  660.             enchant the player's tool with power 2
  661.             set the lore of the player's tool to "&6Power: &e2"
  662.             wait 1 tick
  663.             remove 2500 from player's balance
  664.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 2 &ei vagt shoppen!"
  665.             execute player command "/updatescore"
  666.         else:
  667.             message "{@p} &cDu har ikke nok penge!"
  668. command /vsbow3c:
  669.     permission: Vagt
  670.     permission message: &4Du har ikke adgang til denne kommando.
  671.     trigger:
  672.         if balance of player >= 4000:
  673.             enchant the player's tool with power 3
  674.             set the lore of the player's tool to "&6Power: &e3"
  675.             wait 1 tick
  676.             remove 4000 from player's balance
  677.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 3 &ei vagt shoppen!"
  678.             execute player command "/updatescore"
  679.         else:
  680.             message "{@p} &cDu har ikke nok penge!"
  681. command /vsbow4c:
  682.     permission: Vagt
  683.     permission message: &4Du har ikke adgang til denne kommando.
  684.     trigger:
  685.         if balance of player >= 6500:
  686.             enchant the player's tool with power 4
  687.             set the lore of the player's tool to "&6Power: &e4"
  688.             wait 1 tick
  689.             remove 6500 from player's balance
  690.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 4 &ei vagt shoppen!"
  691.             execute player command "/updatescore"
  692.         else:
  693.             message "{@p} &cDu har ikke nok penge!"
  694.            
  695.            
  696.            
  697.            
  698.            
  699.            
  700.            
  701.            
  702.            
  703.            
  704.            
  705.            
  706.            
  707.            
  708.            
  709.            
  710.            
  711.            
  712.            
  713.            
  714.            
  715.            
  716.            
  717.            
  718.            
  719.            
  720.            
  721.            
  722.            
  723.            
  724.            
  725.            
  726.  
  727.            
  728.            
  729.            
  730.            
  731.            
  732.            
  733.            
  734.            
  735.            
  736. on sign change:
  737.     line 1 is "VSHOP"
  738.     line 2 is "B"
  739.     set line 1 to "&6&lSHOP"
  740.     set line 2 to "&eTryk for at"
  741.     set line 3 to "&ese hvad du kan"
  742.     set line 4 to "&ekøbe! &7(&b&lB&7)"
  743.    
  744. on rightclick on sign:
  745.     line 1 is "&6&lSHOP"
  746.     line 2 is "&eTryk for at"
  747.     line 3 is "&ese hvad du kan"
  748.     line 4 is "&ekøbe! &7(&b&lB&7)"
  749.     if player is holding a Hand:
  750.         if player has permission "B-Vagt" or "A-Vagt":
  751.             open chest with 3 rows named "&7Køb" to player
  752.             wait 1 tick
  753.             format slot 2 of player with 16 cooked porkchop named "&aKøb 16 porkchop!" with lore "&2Pris: &a50" to close then run [make player execute command "vsporkchopb"]
  754.             format slot 6 of player with shiny stick named "&aKøb en knockback stick!" with lore "&2Pris: &a50" to close then run [make player execute command "vsknockbackb"]
  755.             format slot 10 of player with shiny golden helmet named "&aKøb en hjelm!" with lore "&2Pris: &a200" to close then run [make player execute command "vsdiamondhelmetb"]
  756.             format slot 12 of player with shiny diamond chestplate named "&aKøb en brystplade!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondchestplateb"]
  757.             format slot 14 of player with shiny diamond leggings named "&aKøb bukser!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondleggingsb"]
  758.             format slot 16 of player with shiny diamond boots named "&aKøb sko!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondbootsb"]
  759.             format slot 20 of player with shiny diamond sword named "&aKøb en sværd!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondswordb"]
  760.             format slot 22 of player with 64 arrows named "&aKøb 64 pile!" with lore "&2Pris: &a125" to close then run [make player execute command "vsarrowsb"]
  761.             format slot 24 of player with shiny bow named "&aKøb en bue!" with lore "&2Pris: &a300" to close then run [make player execute command "vsbowb"]
  762.         if player has permission "Officer":
  763.             open chest with 3 rows named "&7Køb" to player
  764.             wait 1 tick
  765.             format slot 2 of player with 16 cooked porkchop named "&aKøb 16 porkchop!" with lore "&2Pris: &a50" to close then run [make player execute command "vsporkchopb"]
  766.             format slot 6 of player with shiny stick named "&aKøb en knockback stick!" with lore "&2Pris: &a50" to close then run [make player execute command "vsknockbackb"]
  767.             format slot 10 of player with shiny chainmail helmet named "&aKøb en hjelm!" with lore "&2Pris: &a200" to close then run [make player execute command "vschianhelmetb"]
  768.             format slot 12 of player with shiny diamond chestplate named "&aKøb en brystplade!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondchestplateb"]
  769.             format slot 14 of player with shiny diamond leggings named "&aKøb bukser!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondleggingsb"]
  770.             format slot 16 of player with shiny diamond boots named "&aKøb sko!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondbootsb"]
  771.             format slot 20 of player with shiny diamond sword named "&aKøb en sværd!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondswordb"]
  772.             format slot 22 of player with 64 arrows named "&aKøb 64 pile!" with lore "&2Pris: &a125" to close then run [make player execute command "vsarrowsb"]
  773.             format slot 24 of player with shiny bow named "&aKøb en bue!" with lore "&2Pris: &a300" to close then run [make player execute command "vsbowb"]
  774.            
  775. command /vschianhelmetb:
  776.     permission: Vagt
  777.     trigger:
  778.         if balance of player >= 200:
  779.             give player 1 302 with no nbt named "&a%player%"
  780.             remove 200 from player's balance
  781.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte en &2chain helmet &ei vagt shoppen!"
  782.             execute player command "/updatescore"
  783.         else:
  784.             message "{@p} &cDu har ikke nok penge!"
  785.            
  786. command /vsporkchopb:
  787.     permission: Vagt
  788.     trigger:
  789.         if balance of player >= 50:
  790.             give player 16 cooked porkchop with no nbt named "&a%player%"
  791.             remove 50 from player's balance
  792.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &616 Cooked Porkchop &ei vagt shoppen!"
  793.             execute player command "/updatescore"
  794.         else:
  795.             message "{@p} &cDu har ikke nok penge!"
  796. command /vsknockbackb:
  797.     permission: Vagt
  798.     trigger:
  799.         if balance of player >= 50:
  800.             give player stick with no nbt named "&a%player%" with lore "&6Knockback: &e0"
  801.             remove 50 from player's balance
  802.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 knockback stick &ei vagt shoppen!"
  803.         else:
  804.             message "{@p} &cDu har ikke nok penge!"
  805.        
  806. command /vsdiamondhelmetb:
  807.     permission: Vagt
  808.     trigger:
  809.         if balance of player >= 200:
  810.             give player golden helmet with no nbt named "&a%player%" with lore "&6Prot: &e0"
  811.             remove 200 from player's balance
  812.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 hjelm &ei vagt shoppen!"
  813.             execute player command "/updatescore"
  814.         else:
  815.             message "{@p} &cDu har ikke nok penge!"
  816.        
  817. command /vsdiamondchestplateb:
  818.     permission: Vagt
  819.     trigger:
  820.         if balance of player >= 250:
  821.             give player diamond chestplate with no nbt named "&a%player%" with lore "&6Prot: &e0"
  822.             remove 250 from player's balance
  823.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 brystplade &ei vagt shoppen!"
  824.             execute player command "/updatescore"
  825.         else:
  826.             message "{@p} &cDu har ikke nok penge!"
  827.        
  828. command /vsdiamondleggingsb:
  829.     permission: Vagt
  830.     trigger:
  831.         if balance of player >= 250:
  832.             give player diamond leggings with no nbt named "&a%player%" with lore "&6Prot: &e0"
  833.             remove 250 from player's balance
  834.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &6bukser &ei vagt shoppen!"
  835.             execute player command "/updatescore"
  836.         else:
  837.             message "{@p} &cDu har ikke nok penge!"
  838.        
  839. command /vsdiamondbootsb:
  840.     permission: Vagt
  841.     trigger:
  842.         if balance of player >= 250:
  843.             give player diamond boots with no nbt named "&a%player%" with lore "&6Prot: &e0"
  844.             remove 250 from player's balance
  845.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &6sko &ei vagt shoppen!"
  846.             execute player command "/updatescore"
  847.         else:
  848.             message "{@p} &cDu har ikke nok penge!"
  849.        
  850. command /vsdiamondswordb:
  851.     permission: Vagt
  852.     trigger:
  853.         if balance of player >= 250:
  854.             give player diamond sword with no nbt named "&a%player%" with lore "&6Sharp: &e0"
  855.             remove 250 from player's balance
  856.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 sværd &ei vagt shoppen!"
  857.             execute player command "/updatescore"
  858.         else:
  859.             message "{@p} &cDu har ikke nok penge!"
  860.        
  861. command /vsarrowsb:
  862.     permission: Vagt
  863.     trigger:
  864.         if balance of player >= 125:
  865.             give player 64 arrows with no nbt named "&a%player%"
  866.             remove 125 from player's balance
  867.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &664 pile &ei vagt shoppen!"
  868.             execute player command "/updatescore"
  869.         else:
  870.             message "{@p} &cDu har ikke nok penge!"
  871.        
  872. command /vsbowb:
  873.     permission: Vagt
  874.     trigger:
  875.         if balance of player >= 300:
  876.             give player bow with no nbt named "&a%player%" with lore "&6Power: &e0"
  877.             remove 300 from player's balance
  878.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 bue &ei vagt shoppen!"
  879.             execute player command "/updatescore"
  880.         else:
  881.             message "{@p} &cDu har ikke nok penge!"
  882.            
  883. on rightclick on sign:
  884.     line 1 is "&6&lSHOP"
  885.     line 2 is "&eTryk for at"
  886.     line 3 is "&ese hvad du kan"
  887.     line 4 is "&ekøbe! &7(&b&lB&7)"
  888.     if player is holding stick with no nbt named "&a%player%" with lore "&6Knockback: &e0":
  889.         open chest with 3 rows named "&7Køb" to player
  890.         wait 1 tick
  891.         format slot 13 of player with shiny stick named "&7Køb &6&lknockback 1 &7til din stick!" with lore "&2Pris: &a100" to close then run [make player execute command "vsknockback1b"]
  892.     if player is holding stick of knockback 1 with no nbt named "&a%player%" with lore "&6Knockback: &e1":
  893.         open chest with 3 rows named "&7Køb" to player
  894.         wait 1 tick
  895.         format slot 13 of player with shiny stick named "&7Køb &6&lknockback 2 &7til din stick!" with lore "&2Pris: &a200" to close then run [make player execute command "vsknockback2b"]
  896.     if player is holding stick of knockback 2 with no nbt named "&a%player%" with lore "&6Knockback: &e2":
  897.         open chest with 3 rows named "&7Køb" to player
  898.         wait 1 tick
  899.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin Stick er fuld opgraderet" to be unstealable
  900. command /vsknockback1b:
  901.     permission: Vagt
  902.     permission message: &4Du har ikke adgang til denne kommando.
  903.     trigger:
  904.         if balance of player >= 100:
  905.             enchant the player's tool with knockback 1
  906.             set {knockback.%player%} to "&6Knockback: &e1"
  907.             set the lore of the player's tool to "&6Knockback: &e1"
  908.             wait 1 tick
  909.             remove 100 from player's balance
  910.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6knockback stick &emed &6knockback 1 &ei vagt shoppen!"
  911.             execute player command "/updatescore"
  912.         else:
  913.             message "{@p} &cDu har ikke nok penge!"
  914.            
  915. command /vsknockback2b:
  916.     permission: Vagt
  917.     permission message: &4Du har ikke adgang til denne kommando.
  918.     trigger:
  919.         if balance of player >= 200:
  920.             enchant the player's tool with knockback 2
  921.             set {knockback.%player%} to "&6Knockback: &e2"
  922.             set the lore of the player's tool to "&6Knockback: &e2"
  923.             wait 1 tick
  924.             remove 200 from player's balance
  925.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6knockback stick &emed &6knockback 2 &ei vagt shoppen!"
  926.             execute player command "/updatescore"
  927.         else:
  928.             message "{@p} &cDu har ikke nok penge!"
  929.            
  930.  
  931.            
  932.            
  933.            
  934.            
  935. on rightclick on sign:
  936.     line 1 is "&6&lSHOP"
  937.     line 2 is "&eTryk for at"
  938.     line 3 is "&ese hvad du kan"
  939.     line 4 is "&ekøbe! &7(&b&lB&7)"
  940.     if player is holding golden helmet with no nbt named "&a%player%" with lore "&6Prot: &e0":
  941.         open chest with 3 rows named "&7Køb" to player
  942.         wait 1 tick
  943.         format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 1 &7til din hjelm!" with lore "&2Pris: &a150" to close then run [make player execute command "vsdiamondhelmet1b"]
  944.     if player is holding golden helmet of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
  945.         open chest with 3 rows named "&7Køb" to player
  946.         wait 1 tick
  947.         format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 2 &7til din hjelm!" with lore "&2Pris: &a300" to close then run [make player execute command "vsdiamondhelmet2b"]
  948.     if player is holding golden helmet of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
  949.         open chest with 3 rows named "&7Køb" to player
  950.         wait 1 tick
  951.         format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 3 &7til din hjelm!" with lore "&2Pris: &a450" to close then run [make player execute command "vsdiamondhelmet3b"]
  952.     if player is holding golden helmet of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
  953.         open chest with 3 rows named "&7Køb" to player
  954.         wait 1 tick
  955.         format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 4 &7til din hjelm!" with lore "&2Pris: &a600" to close then run [make player execute command "vsdiamondhelmet4b"]
  956.     if player is holding golden helmet of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
  957.         open chest with 3 rows named "&7Køb" to player
  958.         wait 1 tick
  959.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin hjelm er fuld opgraderet" to be unstealable
  960.        
  961. command /vsdiamondhelmet1b:
  962.     permission: Vagt
  963.     permission message: &4Du har ikke adgang til denne kommando.
  964.     trigger:
  965.         if balance of player >= 150:
  966.             enchant the player's tool with protection 1
  967.             set the lore of the player's tool to "&6Prot: &e1"
  968.             wait 1 tick
  969.             remove 150 from player's balance
  970.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 1 &ei vagt shoppen!"
  971.             execute player command "/updatescore"
  972.         else:
  973.             message "{@p} &cDu har ikke nok penge!"
  974.            
  975. command /vsdiamondhelmet2b:
  976.     permission: Vagt
  977.     permission message: &4Du har ikke adgang til denne kommando.
  978.     trigger:
  979.         if balance of player >= 300:
  980.             enchant the player's tool with protection 2
  981.             set the lore of the player's tool to "&6Prot: &e2"
  982.             wait 1 tick
  983.             remove 300 from player's balance
  984.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 2 &ei vagt shoppen!"
  985.             execute player command "/updatescore"
  986.         else:
  987.             message "{@p} &cDu har ikke nok penge!"
  988. command /vsdiamondhelmet3b:
  989.     permission: Vagt
  990.     permission message: &4Du har ikke adgang til denne kommando.
  991.     trigger:
  992.         if balance of player >= 450:
  993.             enchant the player's tool with protection 3
  994.             set the lore of the player's tool to "&6Prot: &e3"
  995.             wait 1 tick
  996.             remove 450 from player's balance
  997.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 3 &ei vagt shoppen!"
  998.             execute player command "/updatescore"
  999.         else:
  1000.             message "{@p} &cDu har ikke nok penge!"
  1001. command /vsdiamondhelmet4b:
  1002.     permission: Vagt
  1003.     permission message: &4Du har ikke adgang til denne kommando.
  1004.     trigger:
  1005.         if balance of player >= 600:
  1006.             enchant the player's tool with protection 4
  1007.             set the lore of the player's tool to "&6Prot: &e4"
  1008.             wait 1 tick
  1009.             remove 600 from player's balance
  1010.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 4 &ei vagt shoppen!"
  1011.             execute player command "/updatescore"
  1012.         else:
  1013.             message "{@p} &cDu har ikke nok penge!"
  1014.            
  1015.            
  1016.            
  1017.            
  1018.  
  1019.            
  1020. on rightclick on sign:
  1021.     line 1 is "&6&lSHOP"
  1022.     line 2 is "&eTryk for at"
  1023.     line 3 is "&ese hvad du kan"
  1024.     line 4 is "&ekøbe! &7(&b&lB&7)"
  1025.     if player is holding diamond chestplate with no nbt named "&a%player%" with lore "&6Prot: &e0":
  1026.         open chest with 3 rows named "&7Køb" to player
  1027.         wait 1 tick
  1028.         format slot 13 of player with shiny diamond chestplate named "&7Køb &6&lprotection 1 &7til din brystplade!" with lore "&2Pris: &a150" to close then run [make player execute command "vsdiamondchestplate1b"]
  1029.     if player is holding diamond chestplate of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
  1030.         open chest with 3 rows named "&7Køb" to player
  1031.         wait 1 tick
  1032.         format slot 13 of player with shiny diamond chestplate named "&7Køb &6&lprotection 2 &7til din brystplade!" with lore "&2Pris: &a300" to close then run [make player execute command "vsdiamondchestplate2b"]
  1033.     if player is holding diamond chestplate of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
  1034.         open chest with 3 rows named "&7Køb" to player
  1035.         wait 1 tick
  1036.         format slot 13 of player with shiny diamond chestplate named "&7Køb &6&lprotection 3 &7til din brystplade!" with lore "&2Pris: &a450" to close then run [make player execute command "vsdiamondchestplate3b"]
  1037.     if player is holding diamond chestplate of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
  1038.         open chest with 3 rows named "&7Køb" to player
  1039.         wait 1 tick
  1040.         format slot 13 of player with shiny diamond chestplate named "&7Køb &6&lprotection 4 &7til din brystplade!" with lore "&2Pris: &a600" to close then run [make player execute command "vsdiamondchestplate4b"]
  1041.     if player is holding diamond chestplate of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
  1042.         open chest with 3 rows named "&7Køb" to player
  1043.         wait 1 tick
  1044.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin brystplade er fuld opgraderet" to be unstealable
  1045.        
  1046. command /vsdiamondchestplate1b:
  1047.     permission: Vagt
  1048.     permission message: &4Du har ikke adgang til denne kommando.
  1049.     trigger:
  1050.         if balance of player >= 150:
  1051.             enchant the player's tool with protection 1
  1052.             set the lore of the player's tool to "&6Prot: &e1"
  1053.             wait 1 tick
  1054.             remove 150 from player's balance
  1055.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 1 &ei vagt shoppen!"
  1056.             execute player command "/updatescore"
  1057.         else:
  1058.             message "{@p} &cDu har ikke nok penge!"
  1059.            
  1060. command /vsdiamondchestplate2b:
  1061.     permission: Vagt
  1062.     permission message: &4Du har ikke adgang til denne kommando.
  1063.     trigger:
  1064.         if balance of player >= 300:
  1065.             enchant the player's tool with protection 2
  1066.             set the lore of the player's tool to "&6Prot: &e2"
  1067.             wait 1 tick
  1068.             remove 300 from player's balance
  1069.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 2 &ei vagt shoppen!"
  1070.             execute player command "/updatescore"
  1071.         else:
  1072.             message "{@p} &cDu har ikke nok penge!"
  1073. command /vsdiamondchestplate3b:
  1074.     permission: Vagt
  1075.     permission message: &4Du har ikke adgang til denne kommando.
  1076.     trigger:
  1077.         if balance of player >= 450:
  1078.             enchant the player's tool with protection 3
  1079.             set the lore of the player's tool to "&6Prot: &e3"
  1080.             wait 1 tick
  1081.             remove 450 from player's balance
  1082.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 3 &ei vagt shoppen!"
  1083.             execute player command "/updatescore"
  1084.         else:
  1085.             message "{@p} &cDu har ikke nok penge!"
  1086. command /vsdiamondchestplate4b:
  1087.     permission: Vagt
  1088.     permission message: &4Du har ikke adgang til denne kommando.
  1089.     trigger:
  1090.         if balance of player >= 600:
  1091.             enchant the player's tool with protection 4
  1092.             set the lore of the player's tool to "&6Prot: &e4"
  1093.             wait 1 tick
  1094.             remove 600 from player's balance
  1095.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 4 &ei vagt shoppen!"
  1096.             execute player command "/updatescore"
  1097.         else:
  1098.             message "{@p} &cDu har ikke nok penge!"
  1099.            
  1100.            
  1101.            
  1102.            
  1103.            
  1104.            
  1105.            
  1106.    
  1107.    
  1108. on rightclick on sign:
  1109.     line 1 is "&6&lSHOP"
  1110.     line 2 is "&eTryk for at"
  1111.     line 3 is "&ese hvad du kan"
  1112.     line 4 is "&ekøbe! &7(&b&lB&7)"
  1113.     if player is holding diamond leggings with no nbt named "&a%player%" with lore "&6Prot: &e0":
  1114.         open chest with 3 rows named "&7Køb" to player
  1115.         wait 1 tick
  1116.         format slot 13 of player with shiny diamond leggings named "&7Køb &6&lprotection 1 &7til din bukser!" with lore "&2Pris: &a150" to close then run [make player execute command "vsdiamondleggings1b"]
  1117.     if player is holding diamond leggings of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
  1118.         open chest with 3 rows named "&7Køb" to player
  1119.         wait 1 tick
  1120.         format slot 13 of player with shiny diamond leggings named "&7Køb &6&lprotection 2 &7til din bukser!" with lore "&2Pris: &a300" to close then run [make player execute command "vsdiamondleggings2b"]
  1121.     if player is holding diamond leggings of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
  1122.         open chest with 3 rows named "&7Køb" to player
  1123.         wait 1 tick
  1124.         format slot 13 of player with shiny diamond leggings named "&7Køb &6&lprotection 3 &7til din bukser!" with lore "&2Pris: &a450" to close then run [make player execute command "vsdiamondleggings3b"]
  1125.     if player is holding diamond leggings of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
  1126.         open chest with 3 rows named "&7Køb" to player
  1127.         wait 1 tick
  1128.         format slot 13 of player with shiny diamond leggings named "&7Køb &6&lprotection 4 &7til din bukser!" with lore "&2Pris: &a600" to close then run [make player execute command "vsdiamondleggings4b"]
  1129.     if player is holding diamond leggings of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
  1130.         open chest with 3 rows named "&7Køb" to player
  1131.         wait 1 tick
  1132.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin bukser er fuld opgraderet" to be unstealable
  1133.        
  1134. command /vsdiamondleggings1b:
  1135.     permission: Vagt
  1136.     permission message: &4Du har ikke adgang til denne kommando.
  1137.     trigger:
  1138.         if balance of player >= 150:
  1139.             enchant the player's tool with protection 1
  1140.             set the lore of the player's tool to "&6Prot: &e1"
  1141.             wait 1 tick
  1142.             remove 150 from player's balance
  1143.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 1 &ei vagt shoppen!"
  1144.             execute player command "/updatescore"
  1145.         else:
  1146.             message "{@p} &cDu har ikke nok penge!"
  1147.            
  1148. command /vsdiamondleggings2b:
  1149.     permission: Vagt
  1150.     permission message: &4Du har ikke adgang til denne kommando.
  1151.     trigger:
  1152.         if balance of player >= 300:
  1153.             enchant the player's tool with protection 2
  1154.             set the lore of the player's tool to "&6Prot: &e2"
  1155.             wait 1 tick
  1156.             remove 300 from player's balance
  1157.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 2 &ei vagt shoppen!"
  1158.             execute player command "/updatescore"
  1159.         else:
  1160.             message "{@p} &cDu har ikke nok penge!"
  1161. command /vsdiamondleggings3b:
  1162.     permission: Vagt
  1163.     permission message: &4Du har ikke adgang til denne kommando.
  1164.     trigger:
  1165.         if balance of player >= 450:
  1166.             enchant the player's tool with protection 3
  1167.             set the lore of the player's tool to "&6Prot: &e3"
  1168.             wait 1 tick
  1169.             remove 450 from player's balance
  1170.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 3 &ei vagt shoppen!"
  1171.             execute player command "/updatescore"
  1172.         else:
  1173.             message "{@p} &cDu har ikke nok penge!"
  1174. command /vsdiamondleggings4b:
  1175.     permission: Vagt
  1176.     permission message: &4Du har ikke adgang til denne kommando.
  1177.     trigger:
  1178.         if balance of player >= 600:
  1179.             enchant the player's tool with protection 4
  1180.             set the lore of the player's tool to "&6Prot: &e4"
  1181.             wait 1 tick
  1182.             remove 600 from player's balance
  1183.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 4 &ei vagt shoppen!"
  1184.             execute player command "/updatescore"
  1185.         else:
  1186.             message "{@p} &cDu har ikke nok penge!"
  1187.            
  1188.            
  1189.            
  1190.            
  1191.            
  1192.            
  1193. on rightclick on sign:
  1194.     line 1 is "&6&lSHOP"
  1195.     line 2 is "&eTryk for at"
  1196.     line 3 is "&ese hvad du kan"
  1197.     line 4 is "&ekøbe! &7(&b&lB&7)"
  1198.     if player is holding diamond boots with no nbt named "&a%player%" with lore "&6Prot: &e0":
  1199.         open chest with 3 rows named "&7Køb" to player
  1200.         wait 1 tick
  1201.         format slot 13 of player with shiny diamond boots named "&7Køb &6&lprotection 1 &7til din sko!" with lore "&2Pris: &a150" to close then run [make player execute command "vsdiamondboots1b"]
  1202.     if player is holding diamond boots of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
  1203.         open chest with 3 rows named "&7Køb" to player
  1204.         wait 1 tick
  1205.         format slot 13 of player with shiny diamond boots named "&7Køb &6&lprotection 2 &7til din sko!" with lore "&2Pris: &a300" to close then run [make player execute command "vsdiamondboots2b"]
  1206.     if player is holding diamond boots of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
  1207.         open chest with 3 rows named "&7Køb" to player
  1208.         wait 1 tick
  1209.         format slot 13 of player with shiny diamond boots named "&7Køb &6&lprotection 3 &7til din sko!" with lore "&2Pris: &a450" to close then run [make player execute command "vsdiamondboots3b"]
  1210.     if player is holding diamond boots of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
  1211.         open chest with 3 rows named "&7Køb" to player
  1212.         wait 1 tick
  1213.         format slot 13 of player with shiny diamond boots named "&7Køb &6&lprotection 4 &7til din sko!" with lore "&2Pris: &a600" to close then run [make player execute command "vsdiamondboots4b"]
  1214.     if player is holding diamond boots of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
  1215.         open chest with 3 rows named "&7Køb" to player
  1216.         wait 1 tick
  1217.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin sko er fuld opgraderet" to be unstealable
  1218.        
  1219. command /vsdiamondboots1b:
  1220.     permission: Vagt
  1221.     permission message: &4Du har ikke adgang til denne kommando.
  1222.     trigger:
  1223.         if balance of player >= 150:
  1224.             enchant the player's tool with protection 1
  1225.             set the lore of the player's tool to "&6Prot: &e1"
  1226.             wait 1 tick
  1227.             remove 150 from player's balance
  1228.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 1 &ei vagt shoppen!"
  1229.             execute player command "/updatescore"
  1230.         else:
  1231.             message "{@p} &cDu har ikke nok penge!"
  1232.            
  1233. command /vsdiamondboots2b:
  1234.     permission: Vagt
  1235.     permission message: &4Du har ikke adgang til denne kommando.
  1236.     trigger:
  1237.         if balance of player >= 300:
  1238.             enchant the player's tool with protection 2
  1239.             set the lore of the player's tool to "&6Prot: &e2"
  1240.             wait 1 tick
  1241.             remove 300 from player's balance
  1242.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 2 &ei vagt shoppen!"
  1243.             execute player command "/updatescore"
  1244.         else:
  1245.             message "{@p} &cDu har ikke nok penge!"
  1246. command /vsdiamondboots3b:
  1247.     permission: Vagt
  1248.     permission message: &4Du har ikke adgang til denne kommando.
  1249.     trigger:
  1250.         if balance of player >= 450:
  1251.             enchant the player's tool with protection 3
  1252.             set the lore of the player's tool to "&6Prot: &e3"
  1253.             wait 1 tick
  1254.             remove 450 from player's balance
  1255.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 3 &ei vagt shoppen!"
  1256.             execute player command "/updatescore"
  1257.         else:
  1258.             message "{@p} &cDu har ikke nok penge!"
  1259. command /vsdiamondboots4b:
  1260.     permission: Vagt
  1261.     permission message: &4Du har ikke adgang til denne kommando.
  1262.     trigger:
  1263.         if balance of player >= 600:
  1264.             enchant the player's tool with protection 4
  1265.             set the lore of the player's tool to "&6Prot: &e4"
  1266.             wait 1 tick
  1267.             remove 600 from player's balance
  1268.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 4 &ei vagt shoppen!"
  1269.             execute player command "/updatescore"
  1270.         else:
  1271.             message "{@p} &cDu har ikke nok penge!"
  1272.            
  1273.            
  1274.            
  1275.            
  1276.            
  1277.            
  1278.            
  1279.            
  1280.            
  1281.            
  1282. on rightclick on sign:
  1283.     line 1 is "&6&lSHOP"
  1284.     line 2 is "&eTryk for at"
  1285.     line 3 is "&ese hvad du kan"
  1286.     line 4 is "&ekøbe! &7(&b&lB&7)"
  1287.     if player is holding diamond sword with no nbt named "&a%player%" with lore "&6Sharp: &e0":
  1288.         open chest with 3 rows named "&7Køb" to player
  1289.         wait 1 tick
  1290.         format slot 13 of player with shiny diamond sword named "&7Køb &6&lsharpness 1 &7til din sværd!" with lore "&2Pris: &a150" to close then run [make player execute command "vsdiamondsword1b"]
  1291.     if player is holding diamond sword of sharpness 1 with no nbt named "&a%player%" with lore "&6Sharp: &e1":
  1292.         open chest with 3 rows named "&7Køb" to player
  1293.         wait 1 tick
  1294.         format slot 13 of player with shiny diamond sword named "&7Køb &6&lsharpness 2 &7til din sværd!" with lore "&2Pris: &a300" to close then run [make player execute command "vsdiamondsword2b"]
  1295.     if player is holding diamond sword of sharpness 2 with no nbt named "&a%player%" with lore "&6Sharp: &e2":
  1296.         open chest with 3 rows named "&7Køb" to player
  1297.         wait 1 tick
  1298.         format slot 13 of player with shiny diamond sword named "&7Køb &6&lsharpness 3 &7til din sværd!" with lore "&2Pris: &a450" to close then run [make player execute command "vsdiamondsword3b"]
  1299.     if player is holding diamond sword of sharpness 3 with no nbt named "&a%player%" with lore "&6Sharp: &e3":
  1300.         open chest with 3 rows named "&7Køb" to player
  1301.         wait 1 tick
  1302.         format slot 13 of player with shiny diamond sword named "&7Køb &6&lsharpness 4 &7til din sværd!" with lore "&2Pris: &a600" to close then run [make player execute command "vsdiamondsword4b"]
  1303.     if player is holding diamond sword of sharpness 4 with no nbt named "&a%player%" with lore "&6Sharp: &e4":
  1304.         open chest with 3 rows named "&7Køb" to player
  1305.         wait 1 tick
  1306.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin sværd er fuld opgraderet" to be unstealable
  1307.        
  1308. command /vsdiamondsword1b:
  1309.     permission: Vagt
  1310.     permission message: &4Du har ikke adgang til denne kommando.
  1311.     trigger:
  1312.         if balance of player >= 150:
  1313.             enchant the player's tool with sharpness 1
  1314.             set the lore of the player's tool to "&6Sharp: &e1"
  1315.             wait 1 tick
  1316.             remove 150 from player's balance
  1317.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 1 &ei vagt shoppen!"
  1318.             execute player command "/updatescore"
  1319.         else:
  1320.             message "{@p} &cDu har ikke nok penge!"
  1321.            
  1322. command /vsdiamondsword2b:
  1323.     permission: Vagt
  1324.     permission message: &4Du har ikke adgang til denne kommando.
  1325.     trigger:
  1326.         if balance of player >= 300:
  1327.             enchant the player's tool with sharpness 2
  1328.             set the lore of the player's tool to "&6Sharp: &e2"
  1329.             wait 1 tick
  1330.             remove 300 from player's balance
  1331.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 2 &ei vagt shoppen!"
  1332.             execute player command "/updatescore"
  1333.         else:
  1334.             message "{@p} &cDu har ikke nok penge!"
  1335. command /vsdiamondsword3b:
  1336.     permission: Vagt
  1337.     permission message: &4Du har ikke adgang til denne kommando.
  1338.     trigger:
  1339.         if balance of player >= 450:
  1340.             enchant the player's tool with sharpness 3
  1341.             set the lore of the player's tool to "&6Sharp: &e3"
  1342.             wait 1 tick
  1343.             remove 450 from player's balance
  1344.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 3 &ei vagt shoppen!"
  1345.             execute player command "/updatescore"
  1346.         else:
  1347.             message "{@p} &cDu har ikke nok penge!"
  1348. command /vsdiamondsword4b:
  1349.     permission: Vagt
  1350.     permission message: &4Du har ikke adgang til denne kommando.
  1351.     trigger:
  1352.         if balance of player >= 600:
  1353.             enchant the player's tool with sharpness 4
  1354.             set the lore of the player's tool to "&6Sharp: &e4"
  1355.             wait 1 tick
  1356.             remove 600 from player's balance
  1357.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 4 &ei vagt shoppen!"
  1358.             execute player command "/updatescore"
  1359.         else:
  1360.             message "{@p} &cDu har ikke nok penge!"
  1361.            
  1362.            
  1363.            
  1364.            
  1365.            
  1366.            
  1367.            
  1368.            
  1369.            
  1370. on rightclick on sign:
  1371.     line 1 is "&6&lSHOP"
  1372.     line 2 is "&eTryk for at"
  1373.     line 3 is "&ese hvad du kan"
  1374.     line 4 is "&ekøbe! &7(&b&lB&7)"
  1375.     if player is holding bow with no nbt named "&a%player%" with lore "&6Power: &e0":
  1376.         open chest with 3 rows named "&7Køb" to player
  1377.         wait 1 tick
  1378.         format slot 13 of player with shiny bow named "&7Køb &6&lpower 1 &7til din bue!" with lore "&2Pris: &a150" to close then run [make player execute command "vsbow1b"]
  1379.     if player is holding bow of power 1 with no nbt named "&a%player%" with lore "&6Power: &e1":
  1380.         open chest with 3 rows named "&7Køb" to player
  1381.         wait 1 tick
  1382.         format slot 13 of player with shiny bow named "&7Køb &6&lpower 2 &7til din bue!" with lore "&2Pris: &a300" to close then run [make player execute command "vsbow2b"]
  1383.     if player is holding bow of power 2 with no nbt named "&a%player%" with lore "&6Power: &e2":
  1384.         open chest with 3 rows named "&7Køb" to player
  1385.         wait 1 tick
  1386.         format slot 13 of player with shiny bow named "&7Køb &6&lpower 3 &7til din bue!" with lore "&2Pris: &a450" to close then run [make player execute command "vsbow3b"]
  1387.     if player is holding bow of power 3 with no nbt named "&a%player%" with lore "&6Power: &e3":
  1388.         open chest with 3 rows named "&7Køb" to player
  1389.         wait 1 tick
  1390.         format slot 13 of player with shiny bow named "&7Køb &6&lpower 4 &7til din bue!" with lore "&2Pris: &a600" to close then run [make player execute command "vsbow4b"]
  1391.     if player is holding bow of power 4 with no nbt named "&a%player%" with lore "&6Power: &e4":
  1392.         open chest with 3 rows named "&7Køb" to player
  1393.         wait 1 tick
  1394.         format slot 13 of player with 166 named "            &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin bue er fuld opgraderet" to be unstealable
  1395.        
  1396. command /vsbow1b:
  1397.     permission: Vagt
  1398.     permission message: &4Du har ikke adgang til denne kommando.
  1399.     trigger:
  1400.         if balance of player >= 150:
  1401.             enchant the player's tool with power 1
  1402.             set the lore of the player's tool to "&6Power: &e1"
  1403.             wait 1 tick
  1404.             remove 150 from player's balance
  1405.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 1 &ei vagt shoppen!"
  1406.             execute player command "/updatescore"
  1407.         else:
  1408.             message "{@p} &cDu har ikke nok penge!"
  1409.            
  1410. command /vsbow2b:
  1411.     permission: Vagt
  1412.     permission message: &4Du har ikke adgang til denne kommando.
  1413.     trigger:
  1414.         if balance of player >= 300:
  1415.             enchant the player's tool with power 2
  1416.             set the lore of the player's tool to "&6Power: &e2"
  1417.             wait 1 tick
  1418.             remove 300 from player's balance
  1419.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 2 &ei vagt shoppen!"
  1420.             execute player command "/updatescore"
  1421.         else:
  1422.             message "{@p} &cDu har ikke nok penge!"
  1423. command /vsbow3b:
  1424.     permission: Vagt
  1425.     permission message: &4Du har ikke adgang til denne kommando.
  1426.     trigger:
  1427.         if balance of player >= 450:
  1428.             enchant the player's tool with power 3
  1429.             set the lore of the player's tool to "&6Power: &e3"
  1430.             wait 1 tick
  1431.             remove 450 from player's balance
  1432.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 3 &ei vagt shoppen!"
  1433.             execute player command "/updatescore"
  1434.         else:
  1435.             message "{@p} &cDu har ikke nok penge!"
  1436. command /vsbow4b:
  1437.     permission: Vagt
  1438.     permission message: &4Du har ikke adgang til denne kommando.
  1439.     trigger:
  1440.         if balance of player >= 600:
  1441.             enchant the player's tool with power 4
  1442.             set the lore of the player's tool to "&6Power: &e4"
  1443.             wait 1 tick
  1444.             remove 600 from player's balance
  1445.             message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 4 &ei vagt shoppen!"
  1446.             execute player command "/updatescore"
  1447.         else:
  1448.             message "{@p} &cDu har ikke nok penge!"
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top