dai_pon

Untitled

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