dai_pon

Untitled

Mar 15th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.28 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.  
  5. command /custom2:
  6. trigger:
  7. open chest with 6 row named "武器の選択" to player
  8. wait 1 ticks
  9. format slot 52 of player with green stained glass pane named "&6SubMachineGun →" to close then run [execute player command "/sub"]
  10. format slot 51 of player with iron_bars_block named "&7." to be unstealable
  11. format slot 50 of player with iron_bars_block named "&7." to be unstealable
  12. format slot 49 of player with iron_bars_block named "&7." to be unstealable
  13. format slot 48 of player with iron_bars_block named "&7." to be unstealable
  14. format slot 47 of player with iron_bars_block named "&7." to be unstealable
  15. format slot 46 of player with iron_bars_block named "&7." to be unstealable
  16. format slot 45 of player with blue stained glass pane named "&6← AssaultRifle" to close then run [execute player command "/assault"]
  17. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  18. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  19. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  20. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  21. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  22. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  23. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  24. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  25. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  26. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  27. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  28. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  29. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  30. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  31. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  32. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  33. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  34. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  35. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  36. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  37. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  38. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  39. set {_loop5} to 0
  40. loop 10 times:
  41. format slot {_loop5} {@none}
  42. add 1 to {_loop5}
  43. set {_loop6} to 36
  44. loop 10 times:
  45. format slot {_loop6} {@none}
  46. add 1 to {_loop6}
  47. set {_loop7} to 28
  48. loop 6 times:
  49. format slot {_loop7} {@locked}
  50. add 1 to {_loop7}
  51. if player has permission "sk.m40a3":
  52. format slot 10 of player with wood shovel named "&8M40A3" to close then run [execute player command "/m40a3"]
  53. else:
  54. format slot 10 {@locked}
  55. if player has permission "sk.barret":
  56. format slot 11 of player with diamond pickaxe named "&8Barret-M82A1" to close then run [execute player command "/barret"]
  57. else:
  58. format slot 11 {@locked}
  59. if player has permission "sk.wa2000":
  60. format slot 12 of player with gold pickaxe named "&8WA2000" to close then run [execute player command "/wa2000"]
  61. else:
  62. format slot 12 {@locked}
  63. if player has permission "sk.dsr":
  64. format slot 13 of player with blocks_music_disc named "&8DSR-1" to close then run [execute player command "/dsr"]
  65. else:
  66. format slot 13 {@locked}
  67. if player has permission "sk.svd":
  68. format slot 14 of player with chirp_music_disc named "&8SVD" to close then run [execute player command "/svd"]
  69. else:
  70. format slot 14 {@locked}
  71. if player has permission "sk.vss":
  72. format slot 15 of player with stone shovel named "&8VSS" to close then run [execute player command "/vss"]
  73. else:
  74. format slot 15 {@locked}
  75. if player has permission "barret2":
  76. format slot 16 of player with iron pickaxe named "&8Barret-M82" to close then run [execute player command "/barret2"]
  77. else:
  78. format slot 16 {@locked}
  79. if player has permission "sk.mosin":
  80. format slot 19 of player with 433 named "&8Mosin-Nagant" to close then run [execute player command "/mosin"]
  81. else:
  82. format slot 19 {@locked}
  83.  
  84. on right click holding book:
  85. name of held item contains "&eM40A3 解放の書"
  86. execute console command "pex user %player% add sk.m40a3"
  87. set {_location} to location of player
  88. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  89. send "&9>>> &e武器を開放しました!"
  90. remove 1 of player's held item from the player's inventory
  91.  
  92. on right click holding book:
  93. name of held item contains "&eBarret-M82A1 解放の書"
  94. execute console command "pex user %player% add sk.barret"
  95. set {_location} to location of player
  96. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  97. send "&9>>> &e武器を開放しました!"
  98. remove 1 of player's held item from the player's inventory
  99.  
  100. on right click holding book:
  101. name of held item contains "&eWA2000 解放の書"
  102. execute console command "pex user %player% add sk.wa2000"
  103. set {_location} to location of player
  104. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  105. send "&9>>> &e武器を開放しました!"
  106. remove 1 of player's held item from the player's inventory
  107.  
  108. on right click holding book:
  109. name of held item contains "&eDSR-1 解放の書"
  110. execute console command "pex user %player% add sk.dsr"
  111. set {_location} to location of player
  112. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  113. send "&9>>> &e武器を開放しました!"
  114. remove 1 of player's held item from the player's inventory
  115.  
  116. on right click holding book:
  117. name of held item contains "&eSVD 解放の書"
  118. execute console command "pex user %player% add sk.svd"
  119. set {_location} to location of player
  120. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  121. send "&9>>> &e武器を開放しました!"
  122. remove 1 of player's held item from the player's inventory
  123.  
  124. on right click holding book:
  125. name of held item contains "&eVSS 解放の書"
  126. execute console command "pex user %player% add sk.vss"
  127. set {_location} to location of player
  128. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  129. send "&9>>> &e武器を開放しました!"
  130. remove 1 of player's held item from the player's inventory
  131.  
  132. on right click holding book:
  133. name of held item contains "&eBarret-M82 解放の書"
  134. execute console command "pex user %player% add sk.barret2"
  135. set {_location} to location of player
  136. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  137. send "&9>>> &e武器を開放しました!"
  138. remove 1 of player's held item from the player's inventory
  139.  
  140. on right click holding book:
  141. name of held item contains "&eMosin-Nagant 解放の書"
  142. execute console command "pex user %player% add sk.mosin"
  143. set {_location} to location of player
  144. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  145. send "&9>>> &e武器を開放しました!"
  146. remove 1 of player's held item from the player's inventory
  147.  
  148.  
  149. command /m40a3:
  150. permission: sk.m40a3
  151. trigger:
  152. set {_location} to location of player
  153. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  154. send "&9>>> &a武器を選択しました!"
  155. make console execute command "/scoreboard players set %player% main 6"
  156. wait 3 ticks
  157. make player execute command "/custom2"
  158.  
  159. command /barret:
  160. permission: sk.barret
  161. trigger:
  162. set {_location} to location of player
  163. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  164. send "&9>>> &a武器を選択しました!"
  165. make console execute command "/scoreboard players set %player% main 2"
  166. wait 3 ticks
  167. make player execute command "/custom2"
  168.  
  169. command /wa2000:
  170. permission: sk.wa2000
  171. trigger:
  172. set {_location} to location of player
  173. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  174. send "&9>>> &a武器を選択しました!"
  175. make console execute command "/scoreboard players set %player% main 3"
  176. wait 3 ticks
  177. make player execute command "/custom2"
  178.  
  179. command /dsr:
  180. permission: sk.dsr
  181. trigger:
  182. set {_location} to location of player
  183. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  184. send "&9>>> &a武器を選択しました!"
  185. make console execute command "/scoreboard players set %player% main 4"
  186. wait 3 ticks
  187. make player execute command "/custom2"
  188.  
  189. command /svd:
  190. permission: sk.svd
  191. trigger:
  192. set {_location} to location of player
  193. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  194. send "&9>>> &a武器を選択しました!"
  195. make console execute command "/scoreboard players set %player% main 5"
  196. wait 3 ticks
  197. make player execute command "/custom2"
  198.  
  199. command /barret2:
  200. permission: sk.barret2
  201. trigger:
  202. set {_location} to location of player
  203. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  204. send "&9>>> &a武器を選択しました!"
  205. make console execute command "/scoreboard players set %player% main 28"
  206. wait 3 ticks
  207. make player execute command "/custom2"
  208.  
  209. command /mosin:
  210. permission: sk.mosin
  211. trigger:
  212. set {_location} to location of player
  213. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  214. send "&9>>> &a武器を選択しました!"
  215. make console execute command "/scoreboard players set %player% main 43"
  216. wait 3 ticks
  217. make player execute command "/custom2"
  218.  
  219. command /vss:
  220. permission: sk.vss
  221. trigger:
  222. set {_location} to location of player
  223. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  224. send "&9>>> &a武器を選択しました!"
  225. make console execute command "/scoreboard players set %player% main 1"
  226. wait 3 ticks
  227. make player execute command "/custom2"
Advertisement
Add Comment
Please, Sign In to add comment