Advertisement
MilkTeaPopcorn

Untitled

Oct 17th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.69 KB | None | 0 0
  1. command /kitselect [<text>]:
  2. aliases: /ks
  3. trigger:
  4. if arg-1 is not set:
  5. wait 2 ticks
  6. open chest with 3 row named "&7[&aキットを選択&7]" to player
  7. wait 2 ticks
  8. format slot 0 of player with white stained glass pane named "&l" to close
  9. format slot 1 of player with white stained glass pane named "&l" to close
  10. format slot 2 of player with white stained glass pane named "&l" to close
  11. format slot 3 of player with white stained glass pane named "&l" to close
  12. format slot 4 of player with white stained glass pane named "&l" to close
  13. format slot 5 of player with white stained glass pane named "&l" to close
  14. format slot 6 of player with white stained glass pane named "&l" to close
  15. format slot 7 of player with white stained glass pane named "&l" to close
  16. format slot 8 of player with white stained glass pane named "&l" to close
  17. format slot 9 of player with white stained glass pane named "&l" to close
  18. format slot 10 of player with white stained glass pane named "&l" to close
  19. format slot 16 of player with white stained glass pane named "&l" to close
  20. format slot 17 of player with white stained glass pane named "&l" to close
  21. format slot 18 of player with white stained glass pane named "&l" to close
  22. format slot 19 of player with white stained glass pane named "&l" to close
  23. format slot 20 of player with white stained glass pane named "&l" to close
  24. format slot 21 of player with white stained glass pane named "&l" to close
  25. format slot 22 of player with white stained glass pane named "&l" to close
  26. format slot 23 of player with white stained glass pane named "&l" to close
  27. format slot 24 of player with white stained glass pane named "&l" to close
  28. format slot 25 of player with white stained glass pane named "&l" to close
  29. format slot 26 of player with white stained glass pane named "&l" to close
  30. format slot 11 of player with diamond sword named "&7[&f&lKnight&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect knight"]
  31. format slot 12 of player with diamond chestplate named "&7[&b&lTank&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect tank"]
  32. format slot 13 of player with bow named "&7[&6&lArcher&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect archer"]
  33. if player doesn't have permission "kitselect.*" or "ks.pyro":
  34. format slot 14 of player with red stained glass pane of unbreaking 1 named "&7[&c&lPyro&e]" with lore "&7[&c&lこのキットは購入することで使用可能になります&7]" to be unstealable
  35. if player has permission "kitselect.*" or "ks.pyro":
  36. format slot 14 of player with flint and steel named "&7[&c&lPyro&7]" with lore "&7[&a&lこのキットは購入済みです&7]" to close then run [execute player command "/kitselect pyro"]
  37. if player doesn't have permission "kitselect.*" or "ks.horse":
  38. format slot 15 of player with red stained glass pane of unbreaking 1 named "&7[&a&lHorse&e]" with lore "&7[&c&lこのキットは購入することで使用可能になります&7]" to be unstealable
  39. if player has permission "kitselect.*" or "ks.horse":
  40. format slot 15 of player with diamond horse armor named "&7[&a&lHorse&7]" with lore "&7[&a&lこのキットは購入済みです&7]" to close then run [execute player command "/kitselect horse"]
  41.  
  42. if arg-1 is "knight":
  43. loop all players:
  44. make console execute command "/effect %player% clear"
  45. clear player's inventory
  46. set slot 0 of player to diamond sword of sharpness 3 and unbreaking 3
  47. set slot 1 of player to bow of power 1 and unbreaking 3
  48. set slot 2 of player to 4 golden apple
  49. set slot 3 of player to 64 arrows
  50. set slot 4 of player to diamond pickaxe of efficiency 3 and unbreaking 3
  51. set slot 6 of player to lava bucket
  52. set slot 7 of player to water bucket
  53. set slot 8 of player to 64 cobblestone
  54. set slot 33 of player to lava bucket
  55. set slot 34 of player to water bucket
  56. set slot 35 of player to 64 cobblestone
  57. equip player with all diamond armour of protection 1 and projectile protection 3 and unbreaking 3
  58. message "[&6Kit&r] あなたはナイトを選択しました!"
  59.  
  60. if arg-1 is "tank":
  61. loop all players:
  62. make console execute command "/effect %player% clear"
  63. clear player's inventory
  64. set slot 0 of player to diamond sword of sharpness 2 and unbreaking 3
  65. set slot 1 of player to bow of power 2 and unbreaking 3
  66. set slot 2 of player to 4 golden apple
  67. set slot 3 of player to 64 arrows
  68. set slot 5 of player to diamond pickaxe of efficiency 3 and unbreaking 3
  69. set slot 6 of player to lava bucket
  70. set slot 7 of player to water bucket
  71. set slot 8 of player to 64 cobblestone
  72. set slot 33 of player to lava bucket
  73. set slot 34 of player to water bucket
  74. set slot 35 of player to 64 cobblestone
  75. equip player with all diamond armour of protection 2 and projectile protection 2 and unbreaking 3
  76. message "[&6Kit&r] あなたはタンクを選択しました!"
  77.  
  78. if arg-1 is "archer":
  79. loop all players:
  80. make console execute command "/effect %player% clear"
  81. clear player's inventory
  82. set slot 0 of player to diamond sword of sharpness 1 and unbreaking 3
  83. set slot 1 of player to bow of power 3 and unbreaking 3
  84. set slot 2 of player to 4 golden apple
  85. set slot 3 of player to 64 arrows
  86. set slot 5 of player to diamond pickaxe of efficiency 3 and unbreaking 3
  87. set slot 6 of player to lava bucket
  88. set slot 7 of player to water bucket
  89. set slot 8 of player to 64 cobblestone
  90. set slot 33 of player to lava bucket
  91. set slot 34 of player to water bucket
  92. set slot 35 of player to 64 cobblestone
  93. equip player with all diamond armour of protection 3 and projectile protection 1 and unbreaking 3
  94. message "[&6Kit&r]あなたはアーチャーを選択しました!"
  95.  
  96. if arg-1 is "pyro":
  97. loop all players:
  98. make console execute command "/effect %player% clear"
  99. clear player's inventory
  100. set slot 0 of player to diamond sword of sharpness 2 and fire aspect 2 and unbreaking 3
  101. set slot 1 of player to bow of power 1 and unbreaking 3
  102. set slot 2 of player to 4 golden apple
  103. set slot 3 of player to 64 arrows
  104. set slot 4 of player to diamond pickaxe of efficiency 3 and unbreaking 3
  105. set slot 6 of player to lava bucket
  106. set slot 7 of player to water bucket
  107. set slot 8 of player to 64 cobblestone
  108. set slot 33 of player to lava bucket
  109. set slot 34 of player to water bucket
  110. set slot 35 of player to 64 cobblestone
  111. equip player with all diamond armour of protection 1 and projectile protection 3 and unbreaking 3
  112. message "[&6Kit&r] あなたはパイロを選択しました!"
  113.  
  114. if arg-1 is "horse":
  115. loop all players:
  116. make console execute command "/effect %player% clear"
  117. clear player's inventory
  118. set slot 0 of player to diamond sword of sharpness 1 and unbreaking 3
  119. set slot 1 of player to bow of power 1 and unbreaking 3
  120. set slot 2 of player to 4 golden apple
  121. set slot 3 of player to 64 arrows
  122. set slot 4 of player to diamond pickaxe of efficiency 3 and unbreaking 3
  123. set slot 6 of player to lava bucket
  124. set slot 7 of player to water bucket
  125. set slot 8 of player to 64 cobblestone
  126. set slot 33 of player to lava bucket
  127. set slot 34 of player to water bucket
  128. set slot 35 of player to 64 cobblestone
  129. equip player with all diamond armour of protection 1 and projectile protection 3 and unbreaking 3
  130. message "[&6Kit&r] あなたはホースを選択しました!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement