dai_pon

Untitled

Mar 15th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.77 KB | None | 0 0
  1. Options:
  2. none: of player with black stained glass pane named "&7." to be unstealable
  3. locked: of player with red concrete named "&c未開放" to be unstealable
  4. none2: of player with iron_bars_block named "&8." to be unstealablew
  5.  
  6. command /custom:
  7. trigger:
  8. open chest with 6 row named "武器の選択" to player
  9. wait 1 ticks
  10. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  11. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  12. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  13. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  14. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  15. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  16. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  17. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  18. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  19. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  20. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  21. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  22. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  23. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  24. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  25. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  26. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  27. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  28. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  29. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  30. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  31. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  32. set {_loop1} to 0
  33. loop 10 times:
  34. format slot {_loop1} {@none}
  35. add 1 to {_loop1}
  36. set {_loop2} to 36
  37. loop 10 times:
  38. format slot {_loop2} {@none}
  39. add 1 to {_loop2}
  40. set {_loop3} to 28
  41. loop 6 times:
  42. format slot {_loop3} {@locked}
  43. add 1 to {_loop3}
  44. set {_loop4} to 46
  45. loop 7 times:
  46. format slot {_loop4} {@none2}
  47. add 1 to {_loop4}
  48. if player has permission "sk.striker":
  49. format slot 10 of player with iron shovel named "&8Striker12" to close then run [execute player command "/striker"]
  50. else:
  51. format slot 10 {@locked}
  52. if player has permission "sk.striker2":
  53. format slot 11 of player with iron shovel named "&8Striker12 Dual" to close then run [execute player command "/striker2"]
  54. else:
  55. format slot 11 {@locked}
  56. if player has permission "sk.spas":
  57. format slot 12 of player with stick named "&8SPAS-15" to close then run [execute player command "/spas"]
  58. else:
  59. format slot 12 {@locked}
  60. if player has permission "sk.m870":
  61. format slot 13 of player with 13_music_disc named "&8M870" to close then run [execute player command "/m870"]
  62. else:
  63. format slot 13 {@locked}
  64. if player has permission "sk.win":
  65. format slot 14 of player with clay_ball named "&8Winchester Shotgun" to close then run [execute player command "/win"]
  66. else:
  67. format slot 14 {@locked}
  68.  
  69.  
  70. on right click holding book:
  71. name of held item contains "&eStriker12 解放の書"
  72. execute console command "pex user %player% add sk.striker"
  73. set {_location} to location of player
  74. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  75. send "&9>>> &e武器を開放しました!"
  76. remove 1 of player's held item from the player's inventory
  77.  
  78. on right click holding book:
  79. name of held item contains "&eStriker12 Dual 解放の書"
  80. execute console command "pex user %player% add sk.striker"
  81. set {_location} to location of player
  82. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  83. send "&9>>> &e武器を開放しました!"
  84. remove 1 of player's held item from the player's inventory
  85.  
  86. on right click holding book:
  87. name of held item contains "&eSPAS-15 解放の書"
  88. execute console command "pex user %player% add sk.spas"
  89. set {_location} to location of player
  90. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  91. send "&9>>> &e武器を開放しました!"
  92. remove 1 of player's held item from the player's inventory
  93.  
  94. on right click holding book:
  95. name of held item contains "&eM870 解放の書"
  96. execute console command "pex user %player% add sk.m870"
  97. set {_location} to location of player
  98. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  99. send "&9>>> &e武器を開放しました!"
  100. remove 1 of player's held item from the player's inventory
  101.  
  102. on right click holding book:
  103. name of held item contains "&eWinchester Shotgun 解放の書"
  104. execute console command "pex user %player% add sk.win"
  105. set {_location} to location of player
  106. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  107. send "&9>>> &e武器を開放しました!"
  108. remove 1 of player's held item from the player's inventory
  109.  
  110. command /striker:
  111. permission: sk.striker
  112. trigger:
  113. set {_location} to location of player
  114. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  115. send "&9>>> &a武器を選択しました!"
  116. make console execute command "/scoreboard players set %player% main 17"
  117. wait 1 ticks
  118. make player execute command "/custom5"
  119.  
  120. command /striker2:
  121. permission: sk.striker2
  122. trigger:
  123. set {_location} to location of player
  124. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  125. send "&9>>> &a武器を選択しました!"
  126. make console execute command "/scoreboard players set %player% main 18"
  127. wait 1 ticks
  128. make player execute command "/custom5"
  129.  
  130. command /spas:
  131. permission: sk.spas
  132. trigger:
  133. set {_location} to location of player
  134. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  135. send "&9>>> &a武器を選択しました!"
  136. make console execute command "/scoreboard players set %player% main 19"
  137. wait 1 ticks
  138. make player execute command "/custom5"
  139.  
  140. command /m870:
  141. permission: sk.m870
  142. trigger:
  143. set {_location} to location of player
  144. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  145. send "&9>>> &a武器を選択しました!"
  146. make console execute command "/scoreboard players set %player% main 20"
  147. wait 1 ticks
  148. make player execute command "/custom5"
  149.  
  150. command /win:
  151. permission: sk.win
  152. trigger:
  153. set {_location} to location of player
  154. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  155. send "&9>>> &a武器を選択しました!"
  156. make console execute command "/scoreboard players set %player% main 25"
  157. wait 1 ticks
  158. make player execute command "/custom5"
Advertisement
Add Comment
Please, Sign In to add comment