dai_pon

Untitled

Mar 13th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.46 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 unstealable
  5.  
  6. command /custom:
  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 {_loop1} to 0
  33. loop 10 times:
  34. format slot {_loop1} {@none}
  35. add 1 to {_loop1}
  36. set {_loop2} to 36
  37. loop 10 times:
  38. format slot {_loop2} {@none}
  39. add 1 to {_loop2}
  40. set {_loop3} to 28
  41. loop 6 times:
  42. format slot {_loop3} {@locked}
  43. add 1 to {_loop3}
  44. set {_loop4} to 46
  45. loop 7 times:
  46. format slot {_loop4} {@none2}
  47. add 1 to {_loop4}
  48. if player has permission "sk.ak47":
  49. format slot 10 of player with gold shovel named "&8AK-47" to close then run [execute player command "/ak"]
  50. else:
  51. format slot 10 {@locked}
  52. if player has permission "sk.m16":
  53. format slot 11 of player with wood axe named "&8M16" to close then run [execute player command "/m16"]
  54. else:
  55. format slot 11 {@locked}
  56. if player has permission "sk.ots":
  57. format slot 12 of player with 2266 named "&8Ots-14" to close then run [execute player command "/ots"]
  58. else:
  59. format slot 12 {@locked}
  60. if player has permission "sk.galil":
  61. format slot 13 of player with prismarine shard named "&8Galil" to close then run [execute player command "/galil"]
  62. else:
  63. format slot 13 {@locked}
  64. if player has permission "sk.aug":
  65. format slot 14 of player with rabbit hide named "&8Aug" to close then run [execute player command "/aug"]
  66. else:
  67. format slot 14 {@locked}
  68. if player has permission "sk.aks":
  69. format slot 15 of player with 2267 named "&8AKS-74U" to close then run [execute player command "/aks"]
  70. else:
  71. format slot 15 {@locked}
  72. if player has permission "sk.m1":
  73. format slot 16 of player with 2262 named "&8M1-Garand" to close then run [execute player command "/m1"]
  74. else:
  75. format slot 16 {@locked}
  76. if player has permission "sk.camrs":
  77. format slot 19 of player with stone axe named "&8CAMRS" to close then run [execute player command "/camrs"]
  78. else:
  79. format slot 19 {@locked}
  80. if player has permission "sk.scar":
  81. format slot 20 of player with wheat named "&8SCAR-L" to close then run [execute player command "/scar"]
  82. else:
  83. format slot 20 {@locked}
  84. if player has permission "sk.bum":
  85. format slot 21 of player with 2261 named "&8Bumblebee" to close then run [execute player command "/bum"]
  86. else:
  87. format slot 21 {@locked}
  88. if player has permission "sk.sfw":
  89. format slot 22 of player with wood pickaxe named "&8C8-SFW" to close then run [execute player command "/sfw"]
  90. else:
  91. format slot 22 {@locked}
  92. if player has permission "sk.x95":
  93. format slot 23 of player with string named "&8X95" to close then run [execute player command "/x95"]
  94. else:
  95. format slot 23 {@locked}
  96.  
  97.  
  98. on right click holding book:
  99. name of held item contains "&eAK-47 解放の書"
  100. execute console command "pex user %player% add sk.ak47"
  101. set {_location} to location of player
  102. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  103. send "&9>>> &e武器を開放しました!"
  104. remove 1 of player's held item from the player's inventory
  105.  
  106. on right click holding book:
  107. name of held item contains "&eM16 解放の書"
  108. execute console command "pex user %player% add sk.m16"
  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.  
  114. on right click holding book:
  115. name of held item contains "&eOts-14 解放の書"
  116. execute console command "pex user %player% add sk.ots"
  117. set {_location} to location of player
  118. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  119. send "&9>>> &e武器を開放しました!"
  120. remove 1 of player's held item from the player's inventory
  121.  
  122. on right click holding book:
  123. name of held item contains "&eGalil 解放の書"
  124. execute console command "pex user %player% add sk.galil"
  125. set {_location} to location of player
  126. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  127. send "&9>>> &e武器を開放しました!"
  128. remove 1 of player's held item from the player's inventory
  129.  
  130. on right click holding book:
  131. name of held item contains "&eAug 解放の書"
  132. execute console command "pex user %player% add sk.aug"
  133. set {_location} to location of player
  134. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  135. send "&9>>> &e武器を開放しました!"
  136. remove 1 of player's held item from the player's inventory
  137.  
  138. on right click holding book:
  139. name of held item contains "&eAKS-74U 解放の書"
  140. execute console command "pex user %player% add sk.aks"
  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.  
  146. on right click holding book:
  147. name of held item contains "&eM1-Garand 解放の書"
  148. execute console command "pex user %player% add sk.m1"
  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.  
  154. on right click holding book:
  155. name of held item contains "&eCAMRS 解放の書"
  156. execute console command "pex user %player% add sk.camrs"
  157. set {_location} to location of player
  158. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  159. send "&9>>> &e武器を開放しました!"
  160. remove 1 of player's held item from the player's inventory
  161.  
  162. on right click holding book:
  163. name of held item contains "&eSCAR-L 解放の書"
  164. execute console command "pex user %player% add sk.scar"
  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.  
  170. on right click holding book:
  171. name of held item contains "&eBumblebee 解放の書"
  172. execute console command "pex user %player% add sk.bum"
  173. set {_location} to location of player
  174. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  175. send "&9>>> &e武器を開放しました!"
  176. remove 1 of player's held item from the player's inventory
  177.  
  178. on right click holding book:
  179. name of held item contains "&eC8-SFW 解放の書"
  180. execute console command "pex user %player% add sk.sfw"
  181. set {_location} to location of player
  182. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  183. send "&9>>> &e武器を開放しました!"
  184. remove 1 of player's held item from the player's inventory
  185.  
  186. on right click holding book:
  187. name of held item contains "&eX95 解放の書"
  188. execute console command "pex user %player% add sk.x95"
  189. set {_location} to location of player
  190. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  191. send "&9>>> &e武器を開放しました!"
  192. remove 1 of player's held item from the player's inventory
  193.  
  194. command /ak:
  195. permission: sk.ak47
  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 7"
  201. wait 1 ticks
  202. make player execute command "/custom"
  203.  
  204. command /m16:
  205. permission: sk.m16
  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 9"
  211. wait 1 ticks
  212. make player execute command "/custom"
  213.  
  214. command /ots:
  215. permission: sk.ots
  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 8"
  221. wait 1 ticks
  222. make player execute command "/custom"
  223.  
  224. command /galil:
  225. permission: sk.galil
  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 10"
  231. wait 1 ticks
  232. make player execute command "/custom"
  233.  
  234. command /aug:
  235. permission: sk.aug
  236. trigger:
  237. set {_location} to location of player
  238. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  239. send "&9>>> &a武器を選択しました!"
  240. make console execute command "/scoreboard players set %player% main 11"
  241. wait 1 ticks
  242. make player execute command "/custom"
  243.  
  244. command /aks:
  245. permission: sk.aks
  246. trigger:
  247. set {_location} to location of player
  248. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  249. send "&9>>> &a武器を選択しました!"
  250. make console execute command "/scoreboard players set %player% main 12"
  251. wait 1 ticks
  252. make player execute command "/custom"
  253.  
  254. command /m1:
  255. permission: sk.m1
  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 27"
  261. wait 1 ticks
  262. make player execute command "/custom"
  263.  
  264. command /camrs:
  265. permission: sk.camrs
  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 29"
  271. wait 1 ticks
  272. make player execute command "/custom"
  273.  
  274. command /scar:
  275. permission: sk.scar
  276. trigger:
  277. set {_location} to location of player
  278. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  279. send "&9>>> &a武器を選択しました!"
  280. make console execute command "/scoreboard players set %player% main 30"
  281. wait 1 ticks
  282. make player execute command "/custom"
  283.  
  284. command /bum:
  285. permission: sk.bum
  286. trigger:
  287. set {_location} to location of player
  288. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  289. send "&9>>> &a武器を選択しました!"
  290. make console execute command "/scoreboard players set %player% main 39"
  291. wait 1 ticks
  292. make player execute command "/custom"
  293.  
  294. command /sfw:
  295. permission: sk.sfw
  296. trigger:
  297. set {_location} to location of player
  298. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  299. send "&9>>> &a武器を選択しました!"
  300. make console execute command "/scoreboard players set %player% main 41"
  301. wait 1 ticks
  302. make player execute command "/custom"
  303.  
  304. command /x95:
  305. permission: sk.x95
  306. trigger:
  307. set {_location} to location of player
  308. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  309. send "&9>>> &a武器を選択しました!"
  310. make console execute command "/scoreboard players set %player% main 42"
  311. wait 1 ticks
  312. make player execute command "/custom"
Advertisement
Add Comment
Please, Sign In to add comment