dai_pon

Untitled

Mar 12th, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.93 KB | None | 0 0
  1. Options:
  2. none: of player with black stained glass pane named "&7." to close
  3. locked: of player with red concrete named "&c未開放" to close
  4. command /custom:
  5. trigger:
  6. open chest with 6 row named "武器の選択" to player
  7. wait 1 ticks
  8. format slot 17 of player with black stained glass pane named "&7." to close
  9. format slot 26 of player with black stained glass pane named "&7." to close
  10. format slot 35 of player with black stained glass pane named "&7." to close
  11. format slot 18 of player with black stained glass pane named "&7." to close
  12. format slot 27 of player with black stained glass pane named "&7." to close
  13. format slot 53 of player with black stained glass pane named "&7." to close
  14. format slot 24 of player with red concrete named "&7未開放" to close
  15. format slot 25 of player with red concrete named "&7未開放" to close
  16. format slot 26 of player with red concrete named "&7未開放" to close
  17.  
  18. set {_loop1} to 0
  19. loop 10 times:
  20. format slot {_loop1} {@none}
  21. add 1 to {_loop1}
  22. set {_loop2} to 36
  23. loop 10 times:
  24. format slot {_loop2} {@none}
  25. add 1 to {_loop2}
  26. set {_loop3} to 28
  27. loop 6 times:
  28. format slot {_loop3} {@locked}
  29. add 1 to {_loop3}
  30. if player has permission "sk.ak47":
  31. format slot 10 of player with gold shovel named "&8AK-47" to close then run [execute player command "/ak"]
  32. else:
  33. format slot 10 {@locked}
  34. stop
  35. if player has permission "sk.m16":
  36. format slot 11 of player with wood axe named "&8M16" to close then run [execute player command "/m16"]
  37. else:
  38. format slot 11 {@locked}
  39. stop
  40. if player has permission "sk.ots":
  41. format slot 12 of player with gold shovel named "&8Ots-14" to close then run [execute player command "/ots"]
  42. else:
  43. format slot 12 {@locked}
  44. stop
  45. if player has permission "sk.galil":
  46. format slot 13 of player with prismarine shard named "&8Galil" to close then run [execute player command "/galil"]
  47. else:
  48. format slot 13 {@locked}
  49. stop
  50. if player has permission "sk.aug":
  51. format slot 14 of player with rabbit hide named "&8Aug" to close then run [execute player command "/aug"]
  52. else:
  53. format slot 14 {@locked}
  54. stop
  55. if player has permission "sk.aks":
  56. format slot 15 of player with prismarine shard named "&8AKS-74U" to close then run [execute player command "/aks"]
  57. else:
  58. format slot 15 {@locked}
  59. stop
  60. if player has permission "sk.m1":
  61. format slot 16 of player with prismarine shard named "&8M1-Garand" to close then run [execute player command "/m1"]
  62. else:
  63. format slot 16 {@locked}
  64. stop
  65. if player has permission "sk.camrs":
  66. format slot 19 of player with prismarine shard named "&8CAMRS" to close then run [execute player command "/camrs"]
  67. else:
  68. format slot 19 {@locked}
  69. stop
  70. if player has permission "sk.scar":
  71. format slot 20 of player with prismarine shard named "&8SCAR-L" to close then run [execute player command "/scar"]
  72. else:
  73. format slot 20 {@locked}
  74. stop
  75. if player has permission "sk.galil":
  76. format slot 21 of player with prismarine shard named "&8Bumblebee" to close then run [execute player command "/bum"]
  77. else:
  78. format slot 21 {@locked}
  79. stop
  80. if player has permission "sk.sfw":
  81. format slot 22 of player with prismarine shard named "&8C8-SFW" to close then run [execute player command "/sfw"]
  82. else:
  83. format slot 22 {@locked}
  84. stop
  85. if player has permission "sk.x95":
  86. format slot 23 of player with prismarine shard named "&8X95" to close then run [execute player command "/x95"]
  87. else:
  88. format slot 23 {@locked}
  89. stop
  90. on right click holding book:
  91. name of held item contains "&e解放の書1"
  92. execute console command "pex user %player% add sk.ak47"
  93. set {_location} to location of player
  94. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  95. send "&9>>> &e武器を開放しました!"
  96. remove 1 of player's held item from the player's inventory
  97. on right click holding book:
  98. name of held item contains "&e解放の書2"
  99. execute console command "pex user %player% add sk.m16"
  100. set {_location} to location of player
  101. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  102. send "&9>>> &e武器を開放しました!"
  103. remove 1 of player's held item from the player's inventory
  104. on right click holding book:
  105. name of held item contains "&e解放の書3"
  106. execute console command "pex user %player% add sk.m16"
  107. set {_location} to location of player
  108. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  109. send "&9>>> &e武器を開放しました!"
  110. remove 1 of player's held item from the player's inventory
  111. on right click holding book:
  112. name of held item contains "&e解放の書4"
  113. execute console command "pex user %player% add sk.galil"
  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. on right click holding book:
  119. name of held item contains "&e解放の書5"
  120. execute console command "pex user %player% add sk.aug"
  121. set {_location} to location of player
  122. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  123. send "&9>>> &e武器を開放しました!"
  124. remove 1 of player's held item from the player's inventory
  125. on right click holding book:
  126. name of held item contains "&e解放の書6"
  127. execute console command "pex user %player% add sk.aks"
  128. set {_location} to location of player
  129. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  130. send "&9>>> &e武器を開放しました!"
  131. remove 1 of player's held item from the player's inventory
  132. on right click holding book:
  133. name of held item contains "&e解放の書7"
  134. execute console command "pex user %player% add sk.m1"
  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. on right click holding book:
  140. name of held item contains "&e解放の書8"
  141. execute console command "pex user %player% add sk.camrs"
  142. set {_location} to location of player
  143. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  144. send "&9>>> &e武器を開放しました!"
  145. remove 1 of player's held item from the player's inventory
  146. on right click holding book:
  147. name of held item contains "&e解放の書9"
  148. execute console command "pex user %player% add sk.scar"
  149. set {_location} to location of player
  150. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  151. send "&9>>> &e武器を開放しました!"
  152. remove 1 of player's held item from the player's inventory
  153. on right click holding book:
  154. name of held item contains "&e解放の書10"
  155. execute console command "pex user %player% add sk.bum"
  156. set {_location} to location of player
  157. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  158. send "&9>>> &e武器を開放しました!"
  159. remove 1 of player's held item from the player's inventory
  160. on right click holding book:
  161. name of held item contains "&e解放の書11"
  162. execute console command "pex user %player% add sk.sfw"
  163. set {_location} to location of player
  164. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  165. send "&9>>> &e武器を開放しました!"
  166. remove 1 of player's held item from the player's inventory
  167. on right click holding book:
  168. name of held item contains "&e解放の書12"
  169. execute console command "pex user %player% add sk.x95"
  170. set {_location} to location of player
  171. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  172. send "&9>>> &e武器を開放しました!"
  173. remove 1 of player's held item from the player's inventory
  174. command /ak:
  175. permission: sk.ak47
  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 7"
  181. make player execute command "/custom"
  182. command /m16:
  183. permission: sk.m16
  184. trigger:
  185. set {_location} to location of player
  186. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  187. send "&9>>> &a武器を選択しました!"
  188. make console execute command "/scoreboard players set %player% main 9"
  189. make player execute command "/custom"
  190. command /ots:
  191. permission: sk.ots
  192. trigger:
  193. set {_location} to location of player
  194. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  195. send "&9>>> &a武器を選択しました!"
  196. make console execute command "/scoreboard players set %player% main 8"
  197. make player execute command "/custom"
  198. command /galil:
  199. permission: sk.galil
  200. trigger:
  201. set {_location} to location of player
  202. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  203. send "&9>>> &a武器を選択しました!"
  204. make console execute command "/scoreboard players set %player% main 10"
  205. make player execute command "/custom"
  206. command /aug:
  207. permission: sk.aug
  208. trigger:
  209. set {_location} to location of player
  210. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  211. send "&9>>> &a武器を選択しました!"
  212. make console execute command "/scoreboard players set %player% main 11"
  213. make player execute command "/custom"
  214. command /aks:
  215. permission: sk.aks
  216. trigger:
  217. set {_location} to location of player
  218. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  219. send "&9>>> &a武器を選択しました!"
  220. make console execute command "/scoreboard players set %player% main 12"
  221. make player execute command "/custom"
  222. command /m1:
  223. permission: sk.m1
  224. trigger:
  225. set {_location} to location of player
  226. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  227. send "&9>>> &a武器を選択しました!"
  228. make console execute command "/scoreboard players set %player% main 27"
  229. make player execute command "/custom"
  230. command /camrs:
  231. permission: sk.camrs
  232. trigger:
  233. set {_location} to location of player
  234. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  235. send "&9>>> &a武器を選択しました!"
  236. make console execute command "/scoreboard players set %player% main 29"
  237. make player execute command "/custom"
  238. command /scar:
  239. permission: sk.scar
  240. trigger:
  241. set {_location} to location of player
  242. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  243. send "&9>>> &a武器を選択しました!"
  244. make console execute command "/scoreboard players set %player% main 30"
  245. make player execute command "/custom"
  246. command /bum:
  247. permission: sk.bum
  248. trigger:
  249. set {_location} to location of player
  250. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  251. send "&9>>> &a武器を選択しました!"
  252. make console execute command "/scoreboard players set %player% main 39"
  253. make player execute command "/custom"
  254. command /sfw:
  255. permission: sk.sfw
  256. trigger:
  257. set {_location} to location of player
  258. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  259. send "&9>>> &a武器を選択しました!"
  260. make console execute command "/scoreboard players set %player% main 41"
  261. make player execute command "/custom"
  262. command /x95:
  263. permission: sk.x95
  264. trigger:
  265. set {_location} to location of player
  266. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  267. send "&9>>> &a武器を選択しました!"
  268. make console execute command "/scoreboard players set %player% main 42"
  269. make player execute command "/custom"
Advertisement
Add Comment
Please, Sign In to add comment