dai_pon

Untitled

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