Kyorotomametan

kitmenu

Aug 6th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.60 KB | None | 0 0
  1. on join:
  2. set {true.Goblin.%player%} to "true"
  3. set {true.Slime.%player%} to "true"
  4. set {true.WereWolf.%player%} to "true"
  5.  
  6. every tick:
  7. loop all players:
  8. if "%region at loop-player%" contains "lobby":
  9. send action bar from "&6&l選択中のKIT &a&l: %{kit.%loop-player%}%" to loop-player
  10.  
  11. on rightclick:
  12. if player's tool is iron horse armor:
  13. if Name of player's tool is "&a&lKITMenu":
  14. make player execute command "kit open Nomal"
  15.  
  16. command /kit [<text>] [<text>]:
  17. trigger:
  18. if arg 1 is "sel":
  19. if {true.%arg-2%.%player%} is "true":
  20. set {kit.%player%} to arg-2
  21. message "&6KITを%{kit.%player%}%に選択しました"
  22. if arg 1 is "open":
  23. if arg 2 is "Nomal":
  24. open chest with 5 rows named "&a&lKIT&f&l(&7&lNomal&f&l)" to player
  25. wait a tick
  26. format slot 1 of player with iron bars block named "" to run [execute console command ""]
  27. format slot 2 of player with wooden sword named "&2Goblin" with lore "&fwooden_sword × 1||&fwooden_axe × 1||&dAbility : 盗難|| &a攻撃をしたときに確率で相手の持ち物を奪う" to run [make player execute command "kit sel Goblin"]
  28. format slot 3 of player with slimeball named "&aSlime" with lore "&f消化液 × 1||&fSlimeFang × 1||&dAbility : 軟体||&a攻撃を回避しやすい" to run [make player execute command "kit sel Slime"]
  29. format slot 4 of player with iron sword named "&7WereWolf" with lore "&fWolfClow × 2||&dAbility : 人喰い||&aPlayerをkillするごとに自分の攻撃力をあげる" to run [make player execute command "kit sel WereWolf"]
  30. if {true.Durahan.%player%} is "true":
  31. format slot 5 of player with iron chestplate named "&8Durahan" with lore "&firon_sword × 1||&f鉄装備一式||&dAbility : 血ぶっかけ||&a相手の視覚を一定時間失わせる" to run [make player execute command "kit sel Durahan"]
  32. else:
  33. format slot 5 of player with barrier named "&c未開放" to run [execute console command ""]
  34. if {true.Vampire.%player%} is "true":
  35. format slot 6 of player with redstone named "&4Vampire" with lore "&fVampireFang ×1||&dAbility : 日夜||&a暗いところでは攻撃力があがり、明るいところではダウンする" to run [make player execute command "kit sel Vampire"]
  36. else:
  37. format slot 6 of player with barrier named "&c未開放" to run [execute console command ""]
  38. if {true.Kyonshee.%player%} is "true":
  39. format slot 7 of player with paper named "&4KYONSHEE" with lore "&dAbility : 不死身||&a死んだときに一定確率で死ななくてすむ" to run [make player execute command "kit sel Kyonshee"]
  40. else:
  41. format slot 7 of player with barrier named "&c未開放" to run [execute console command ""]
  42. format slot 10 of player with iron bars block named "" to run [execute console command ""]
  43. format slot 19 of player with iron bars block named "" to run [execute console command ""]
  44. format slot 28 of player with iron bars block named "" to run [execute console command ""]
  45. format slot 29 of player with iron bars block named "" to run [execute console command ""]
  46. format slot 30 of player with iron bars block named "" to run [execute console command ""]
  47. format slot 31 of player with iron bars block named "" to run [execute console command ""]
  48. format slot 32 of player with iron bars block named "" to run [execute console command ""]
  49. format slot 33 of player with iron bars block named "" to run [execute console command ""]
  50. format slot 34 of player with iron bars block named "" to run [execute console command ""]
  51. format slot 35 of player with iron bars block named "" to run [execute console command ""]
  52. format slot 36 of player with red glass named "&c&lClose" to close
  53. format slot 37 of player with iron bars block named "" to run [execute console command ""]
  54. format slot 38 of player with glowstone dust named "&e&lRare" to run [make player execute command "kit open Rare"]
  55. format slot 39 of player with iron bars block named "" to run [execute console command ""]
  56. format slot 40 of player with chorus fruit named "&d&lEpic" to run [make player execute command "kit open Epic"]
  57. format slot 41 of player with iron bars block named "" to run [execute console command ""]
  58. format slot 42 of player with nether star named "&6&lLegend" to run [make player execute command "kit open Legend"]
  59. format slot 43 of player with iron bars block named "" to run [execute console command ""]
  60. format slot 44 of player with firework star named "&5&lMystery" to run [make player execute command "kit open mystery"]
  61.  
  62. if arg 2 is "Rare":
  63. open chest with 5 rows named "&a&lKIT&f&l(&e&lRare&f&l)" to player
  64. wait a tick
  65. format slot 1 of player with iron bars block named "" to run [execute console command ""]
  66. format slot 10 of player with iron bars block named "" to run [execute console command ""]
  67. format slot 19 of player with iron bars block named "" to run [execute console command ""]
  68. format slot 28 of player with iron bars block named "" to run [execute console command ""]
  69. format slot 29 of player with iron bars block named "" to run [execute console command ""]
  70. format slot 30 of player with iron bars block named "" to run [execute console command ""]
  71. format slot 31 of player with iron bars block named "" to run [execute console command ""]
  72. format slot 32 of player with iron bars block named "" to run [execute console command ""]
  73. format slot 33 of player with iron bars block named "" to run [execute console command ""]
  74. format slot 34 of player with iron bars block named "" to run [execute console command ""]
  75. format slot 35 of player with iron bars block named "" to run [execute console command ""]
  76. format slot 36 of player with red glass named "&c&lClose" to close
  77. format slot 37 of player with iron bars block named "" to run [execute console command ""]
  78. format slot 38 of player with sugar named "&7&lNomal" to run [make player execute command "kit open Nomal"]
  79. format slot 39 of player with iron bars block named "" to run [execute console command ""]
  80. format slot 40 of player with chorus fruit named "&d&lEpic" to run [make player execute command "kit open Epic"]
  81. format slot 41 of player with iron bars block named "" to run [execute console command ""]
  82. format slot 42 of player with nether star named "&6&lLegend" to run [make player execute command "kit open Legend"]
  83. format slot 43 of player with iron bars block named "" to run [execute console command ""]
  84. format slot 44 of player with firework star named "&5&lMystery" to run [make player execute command "kit open mystery"]
Add Comment
Please, Sign In to add comment