Advertisement
dai_pon

Untitled

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