dai_pon

Untitled

Mar 23rd, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 85.00 KB | None | 0 0
  1. #assault
  2.  
  3. Options:
  4. none: of player with black stained glass pane named "&7." to be unstealable
  5. locked: of player with red concrete named "&c未開放" to be unstealable
  6. none2: of player with iron_bars_block named "&8." to be unstealablew
  7.  
  8. command /custom:
  9. trigger:
  10. open chest with 6 row named "武器の選択" to player
  11. wait 1 ticks
  12. format slot 46 of player with barrier named "&c既に選択中" to be unstealable
  13. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  14. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  15. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  16. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  17. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  18. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  19. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  20. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  21. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  22. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  23. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  24. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  25. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  26. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  27. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  28. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  29. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  30. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  31. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  32. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  33. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  34. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  35. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  36. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  37. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  38. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  39. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  40. format slot 10 of player with gold shovel named "&8AK-47" with lore "&aデフォルト武器" to close then run [execute player command "/ak"]
  41. set {_loop1} to 0
  42. loop 10 times:
  43. format slot {_loop1} {@none}
  44. add 1 to {_loop1}
  45. set {_loop2} to 36
  46. loop 10 times:
  47. format slot {_loop2} {@none}
  48. add 1 to {_loop2}
  49. set {_loop3} to 28
  50. loop 6 times:
  51. format slot {_loop3} {@locked}
  52. add 1 to {_loop3}
  53. if player has permission "sk.m16":
  54. format slot 11 of player with wood axe named "&8M16" to close then run [execute player command "/m16"]
  55. else:
  56. format slot 11 {@locked}
  57. if player has permission "sk.f2000":
  58. format slot 12 of player with 11-disc named "&8F2000" to close then run [execute player command "/f2000"]
  59. else:
  60. format slot 12 {@locked}
  61. if player has permission "sk.galil":
  62. format slot 13 of player with prismarine shard named "&8Galil" to close then run [execute player command "/galil"]
  63. else:
  64. format slot 13 {@locked}
  65. if player has permission "sk.aug":
  66. format slot 14 of player with rabbit hide named "&8Aug" to close then run [execute player command "/aug"]
  67. else:
  68. format slot 14 {@locked}
  69. if player has permission "sk.aks":
  70. format slot 15 of player with wait_music_disc named "&8AKS-74U" to close then run [execute player command "/aks"]
  71. else:
  72. format slot 15 {@locked}
  73. if player has permission "sk.m1":
  74. format slot 16 of player with mellohi_music_disc named "&8M1-Garand" to close then run [execute player command "/m1"]
  75. else:
  76. format slot 16 {@locked}
  77. if player has permission "sk.camrs":
  78. format slot 19 of player with stone axe named "&8CAMRS" to close then run [execute player command "/camrs"]
  79. else:
  80. format slot 19 {@locked}
  81. if player has permission "sk.scar":
  82. format slot 20 of player with wheat named "&8SCAR-L" to close then run [execute player command "/scar"]
  83. else:
  84. format slot 20 {@locked}
  85. if player has permission "sk.bum":
  86. format slot 21 of player with mall_music_disc named "&8Bumblebee" to close then run [execute player command "/bum"]
  87. else:
  88. format slot 21 {@locked}
  89. if player has permission "sk.sfw":
  90. format slot 22 of player with wood pickaxe named "&8C8-SFW" to close then run [execute player command "/sfw"]
  91. else:
  92. format slot 22 {@locked}
  93. if player has permission "sk.x95":
  94. format slot 23 of player with string named "&8X95" to close then run [execute player command "/x95"]
  95. else:
  96. format slot 23 {@locked}
  97.  
  98.  
  99. on right click holding book:
  100. name of held item contains "&eAK-47 解放の書"
  101. execute console command "pex user %player% add sk.ak47"
  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.  
  107. on right click holding book:
  108. name of held item contains "&eM16 解放の書"
  109. execute console command "pex user %player% add sk.m16"
  110. set {_location} to location of player
  111. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  112. send "&9>>> &e武器を開放しました!"
  113. remove 1 of player's held item from the player's inventory
  114.  
  115. on right click holding book:
  116. name of held item contains "&eF2000 解放の書"
  117. execute console command "pex user %player% add sk.f2000"
  118. set {_location} to location of player
  119. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  120. send "&9>>> &e武器を開放しました!"
  121. remove 1 of player's held item from the player's inventory
  122.  
  123. on right click holding book:
  124. name of held item contains "&eGalil 解放の書"
  125. execute console command "pex user %player% add sk.galil"
  126. set {_location} to location of player
  127. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  128. send "&9>>> &e武器を開放しました!"
  129. remove 1 of player's held item from the player's inventory
  130.  
  131. on right click holding book:
  132. name of held item contains "&eAug 解放の書"
  133. execute console command "pex user %player% add sk.aug"
  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.  
  139. on right click holding book:
  140. name of held item contains "&eAKS-74U 解放の書"
  141. execute console command "pex user %player% add sk.aks"
  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.  
  147. on right click holding book:
  148. name of held item contains "&eM1-Garand 解放の書"
  149. execute console command "pex user %player% add sk.m1"
  150. set {_location} to location of player
  151. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  152. send "&9>>> &e武器を開放しました!"
  153. remove 1 of player's held item from the player's inventory
  154.  
  155. on right click holding book:
  156. name of held item contains "&eCAMRS 解放の書"
  157. execute console command "pex user %player% add sk.camrs"
  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.  
  163. on right click holding book:
  164. name of held item contains "&eSCAR-L 解放の書"
  165. execute console command "pex user %player% add sk.scar"
  166. set {_location} to location of player
  167. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  168. send "&9>>> &e武器を開放しました!"
  169. remove 1 of player's held item from the player's inventory
  170.  
  171. on right click holding book:
  172. name of held item contains "&eBumblebee 解放の書"
  173. execute console command "pex user %player% add sk.bum"
  174. set {_location} to location of player
  175. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  176. send "&9>>> &e武器を開放しました!"
  177. remove 1 of player's held item from the player's inventory
  178.  
  179. on right click holding book:
  180. name of held item contains "&eC8-SFW 解放の書"
  181. execute console command "pex user %player% add sk.sfw"
  182. set {_location} to location of player
  183. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  184. send "&9>>> &e武器を開放しました!"
  185. remove 1 of player's held item from the player's inventory
  186.  
  187. on right click holding book:
  188. name of held item contains "&eX95 解放の書"
  189. execute console command "pex user %player% add sk.x95"
  190. set {_location} to location of player
  191. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  192. send "&9>>> &e武器を開放しました!"
  193. remove 1 of player's held item from the player's inventory
  194.  
  195. command /ak:
  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 3 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 3 ticks
  212. make player execute command "/custom"
  213.  
  214. command /f2000:
  215. permission: sk.f2000
  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 3 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 3 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 3 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 3 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 3 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 3 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 3 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 3 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 3 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 3 ticks
  312. make player execute command "/custom"
  313.  
  314. command /assault:
  315. trigger:
  316. set {_location} to location of player
  317. play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
  318. wait 3 ticks
  319. make player execute command "/custom"
  320.  
  321. command /sniper:
  322. trigger:
  323. set {_location} to location of player
  324. play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
  325. wait 3 ticks
  326. make player execute command "/custom2"
  327.  
  328. command /sub:
  329. trigger:
  330. set {_location} to location of player
  331. play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
  332. wait 3 ticks
  333. make player execute command "/custom3"
  334.  
  335. command /hand:
  336. trigger:
  337. set {_location} to location of player
  338. play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
  339. wait 3 ticks
  340. make player execute command "/custom4"
  341.  
  342. command /shotgun:
  343. trigger:
  344. set {_location} to location of player
  345. play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
  346. wait 3 ticks
  347. make player execute command "/custom5"
  348.  
  349. command /light:
  350. trigger:
  351. set {_location} to location of player
  352. play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
  353. wait 3 ticks
  354. make player execute command "/custom6"
  355.  
  356. command /sp:
  357. trigger:
  358. set {_location} to location of player
  359. play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
  360. wait 3 ticks
  361. make player execute command "/custom7"
  362.  
  363. #sniper
  364.  
  365. Options:
  366. none: of player with black stained glass pane named "&7." to be unstealable
  367. locked: of player with red concrete named "&c未開放" to be unstealable
  368.  
  369. command /custom2:
  370. trigger:
  371. open chest with 6 row named "武器の選択" to player
  372. wait 1 ticks
  373. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  374. format slot 47 of player with barrier named "&c既に選択中" to be unstealable
  375. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  376. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  377. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  378. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  379. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  380. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  381. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  382. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  383. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  384. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  385. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  386. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  387. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  388. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  389. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  390. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  391. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  392. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  393. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  394. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  395. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  396. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  397. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  398. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  399. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  400. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  401. format slot 10 of player with wood shovel named "&8M40A3" with lore "&aデフォルト武器" to close then run [execute player command "/m40a3"]
  402. set {_loop5} to 0
  403. loop 10 times:
  404. format slot {_loop5} {@none}
  405. add 1 to {_loop5}
  406. set {_loop6} to 36
  407. loop 10 times:
  408. format slot {_loop6} {@none}
  409. add 1 to {_loop6}
  410. set {_loop7} to 28
  411. loop 6 times:
  412. format slot {_loop7} {@locked}
  413. add 1 to {_loop7}
  414. if player has permission "sk.barret":
  415. format slot 11 of player with diamond pickaxe named "&8Barret-M82A1" to close then run [execute player command "/barret"]
  416. else:
  417. format slot 11 {@locked}
  418. if player has permission "sk.wa2000":
  419. format slot 12 of player with gold pickaxe named "&8WA2000" to close then run [execute player command "/wa2000"]
  420. else:
  421. format slot 12 {@locked}
  422. if player has permission "sk.dsr":
  423. format slot 13 of player with blocks_music_disc named "&8DSR-1" to close then run [execute player command "/dsr"]
  424. else:
  425. format slot 13 {@locked}
  426. if player has permission "sk.svd":
  427. format slot 14 of player with chirp_music_disc named "&8SVD" to close then run [execute player command "/svd"]
  428. else:
  429. format slot 14 {@locked}
  430. if player has permission "sk.val":
  431. format slot 15 of player with stone shovel named "&8AS-VAL" to close then run [execute player command "/val"]
  432. else:
  433. format slot 15 {@locked}
  434. if player has permission "barret2":
  435. format slot 16 of player with iron pickaxe named "&8Barret-M82" to close then run [execute player command "/barret2"]
  436. else:
  437. format slot 16 {@locked}
  438. if player has permission "sk.mosin":
  439. format slot 19 of player with popped_chorus_fruit named "&8Mosin-Nagant" to close then run [execute player command "/mosin"]
  440. else:
  441. format slot 19 {@locked}
  442.  
  443. on right click holding book:
  444. name of held item contains "&eM40A3 解放の書"
  445. execute console command "pex user %player% add sk.m40a3"
  446. set {_location} to location of player
  447. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  448. send "&9>>> &e武器を開放しました!"
  449. remove 1 of player's held item from the player's inventory
  450.  
  451. on right click holding book:
  452. name of held item contains "&eBarret-M82A1 解放の書"
  453. execute console command "pex user %player% add sk.barret"
  454. set {_location} to location of player
  455. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  456. send "&9>>> &e武器を開放しました!"
  457. remove 1 of player's held item from the player's inventory
  458.  
  459. on right click holding book:
  460. name of held item contains "&eWA2000 解放の書"
  461. execute console command "pex user %player% add sk.wa2000"
  462. set {_location} to location of player
  463. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  464. send "&9>>> &e武器を開放しました!"
  465. remove 1 of player's held item from the player's inventory
  466.  
  467. on right click holding book:
  468. name of held item contains "&eDSR-1 解放の書"
  469. execute console command "pex user %player% add sk.dsr"
  470. set {_location} to location of player
  471. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  472. send "&9>>> &e武器を開放しました!"
  473. remove 1 of player's held item from the player's inventory
  474.  
  475. on right click holding book:
  476. name of held item contains "&eSVD 解放の書"
  477. execute console command "pex user %player% add sk.svd"
  478. set {_location} to location of player
  479. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  480. send "&9>>> &e武器を開放しました!"
  481. remove 1 of player's held item from the player's inventory
  482.  
  483. on right click holding book:
  484. name of held item contains "&eAS-VAL 解放の書"
  485. execute console command "pex user %player% add sk.val"
  486. set {_location} to location of player
  487. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  488. send "&9>>> &e武器を開放しました!"
  489. remove 1 of player's held item from the player's inventory
  490.  
  491. on right click holding book:
  492. name of held item contains "&eBarret M82 解放の書"
  493. execute console command "pex user %player% add sk.barret2"
  494. set {_location} to location of player
  495. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  496. send "&9>>> &e武器を開放しました!"
  497. remove 1 of player's held item from the player's inventory
  498.  
  499. on right click holding book:
  500. name of held item contains "&eMosin-Nagant 解放の書"
  501. execute console command "pex user %player% add sk.mosin"
  502. set {_location} to location of player
  503. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  504. send "&9>>> &e武器を開放しました!"
  505. remove 1 of player's held item from the player's inventory
  506.  
  507.  
  508. command /m40a3:
  509. trigger:
  510. set {_location} to location of player
  511. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  512. send "&9>>> &a武器を選択しました!"
  513. make console execute command "/scoreboard players set %player% main 6"
  514. wait 3 ticks
  515. make player execute command "/custom2"
  516.  
  517. command /barret:
  518. permission: sk.barret
  519. trigger:
  520. set {_location} to location of player
  521. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  522. send "&9>>> &a武器を選択しました!"
  523. make console execute command "/scoreboard players set %player% main 2"
  524. wait 3 ticks
  525. make player execute command "/custom2"
  526.  
  527. command /wa2000:
  528. permission: sk.wa2000
  529. trigger:
  530. set {_location} to location of player
  531. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  532. send "&9>>> &a武器を選択しました!"
  533. make console execute command "/scoreboard players set %player% main 3"
  534. wait 3 ticks
  535. make player execute command "/custom2"
  536.  
  537. command /dsr:
  538. permission: sk.dsr
  539. trigger:
  540. set {_location} to location of player
  541. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  542. send "&9>>> &a武器を選択しました!"
  543. make console execute command "/scoreboard players set %player% main 4"
  544. wait 3 ticks
  545. make player execute command "/custom2"
  546.  
  547. command /svd:
  548. permission: sk.svd
  549. trigger:
  550. set {_location} to location of player
  551. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  552. send "&9>>> &a武器を選択しました!"
  553. make console execute command "/scoreboard players set %player% main 5"
  554. wait 3 ticks
  555. make player execute command "/custom2"
  556.  
  557. command /barret2:
  558. permission: sk.barret2
  559. trigger:
  560. set {_location} to location of player
  561. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  562. send "&9>>> &a武器を選択しました!"
  563. make console execute command "/scoreboard players set %player% main 28"
  564. wait 3 ticks
  565. make player execute command "/custom2"
  566.  
  567. command /mosin:
  568. permission: sk.mosin
  569. trigger:
  570. set {_location} to location of player
  571. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  572. send "&9>>> &a武器を選択しました!"
  573. make console execute command "/scoreboard players set %player% main 43"
  574. wait 3 ticks
  575. make player execute command "/custom2"
  576.  
  577. command /val:
  578. permission: sk.val
  579. trigger:
  580. set {_location} to location of player
  581. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  582. send "&9>>> &a武器を選択しました!"
  583. make console execute command "/scoreboard players set %player% main 1"
  584. wait 3 ticks
  585. make player execute command "/custom2"
  586.  
  587.  
  588. #submachinegun
  589.  
  590. Options:
  591. none: of player with black stained glass pane named "&7." to be unstealable
  592. locked: of player with red concrete named "&c未開放" to be unstealable
  593.  
  594. command /custom3:
  595. trigger:
  596. open chest with 6 row named "武器の選択" to player
  597. wait 1 ticks
  598. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  599. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  600. format slot 48 of player with barrier named "&c既に選択中" to be unstealable
  601. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  602. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  603. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  604. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  605. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  606. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  607. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  608. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  609. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  610. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  611. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  612. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  613. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  614. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  615. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  616. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  617. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  618. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  619. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  620. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  621. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  622. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  623. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  624. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  625. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  626. format slot 10 of player with prismarine crystals named "&8MP7" with lore "&aデフォルト武器" to close then run [execute player command "/mp7"]
  627. set {_loop1} to 0
  628. loop 10 times:
  629. format slot {_loop1} {@none}
  630. add 1 to {_loop1}
  631. set {_loop2} to 36
  632. loop 10 times:
  633. format slot {_loop2} {@none}
  634. add 1 to {_loop2}
  635. set {_loop3} to 28
  636. loop 6 times:
  637. format slot {_loop3} {@locked}
  638. add 1 to {_loop3}
  639. if player has permission "sk.mp5":
  640. format slot 11 of player with nether_quartz_item named "&8MP5" to close then run [execute player command "/mp5"]
  641. else:
  642. format slot 11 {@locked}
  643. if player has permission "sk.vector":
  644. format slot 12 of player with clay_bricks_item named "&8Kriss-Vector" to close then run [execute player command "/vector"]
  645. else:
  646. format slot 12 {@locked}
  647. if player has permission "sk.mac":
  648. format slot 13 of player with nether_brick_item named "&8MAC-10" to close then run [execute player command "/mac"]
  649. else:
  650. format slot 13 {@locked}
  651. if player has permission "sk.ppsh":
  652. format slot 14 of player with stal_music_disc named "&8PPSH-41" to close then run [execute player command "/ppsh"]
  653. else:
  654. format slot 14 {@locked}
  655. if player has permission "sk.uzi":
  656. format slot 15 of player with gunpowder named "&8Dual-UZI" to close then run [execute player command "/uzi"]
  657. else:
  658. format slot 15 {@locked}
  659. if player has permission "sk.p90":
  660. format slot 16 of player with far_music_disc named "&8P90" to close then run [execute player command "/p90"]
  661. else:
  662. format slot 16 {@locked}
  663. if player has permission "sk.bizon":
  664. format slot 19 of player with ward_music_disc named "&8PP-19 Bizon" to close then run [execute player command "/bizon"]
  665. else:
  666. format slot 19 {@locked}
  667.  
  668. on right click holding book:
  669. name of held item contains "&eMP7 解放の書"
  670. execute console command "pex user %player% add sk.mp7"
  671. set {_location} to location of player
  672. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  673. send "&9>>> &e武器を開放しました!"
  674. remove 1 of player's held item from the player's inventory
  675.  
  676. on right click holding book:
  677. name of held item contains "&eMP5 解放の書"
  678. execute console command "pex user %player% add sk.mp5"
  679. set {_location} to location of player
  680. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  681. send "&9>>> &e武器を開放しました!"
  682. remove 1 of player's held item from the player's inventory
  683.  
  684. on right click holding book:
  685. name of held item contains "&eKriss-Vector 解放の書"
  686. execute console command "pex user %player% add sk.vector"
  687. set {_location} to location of player
  688. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  689. send "&9>>> &e武器を開放しました!"
  690. remove 1 of player's held item from the player's inventory
  691.  
  692. on right click holding book:
  693. name of held item contains "&eMAC-10 解放の書"
  694. execute console command "pex user %player% add sk.mac"
  695. set {_location} to location of player
  696. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  697. send "&9>>> &e武器を開放しました!"
  698. remove 1 of player's held item from the player's inventory
  699.  
  700. on right click holding book:
  701. name of held item contains "&ePPSH-41 解放の書"
  702. execute console command "pex user %player% add sk.ppsh"
  703. set {_location} to location of player
  704. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  705. send "&9>>> &e武器を開放しました!"
  706. remove 1 of player's held item from the player's inventory
  707.  
  708. on right click holding book:
  709. name of held item contains "&eDual-UZI 解放の書"
  710. execute console command "pex user %player% add sk.uzi"
  711. set {_location} to location of player
  712. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  713. send "&9>>> &e武器を開放しました!"
  714. remove 1 of player's held item from the player's inventory
  715.  
  716. on right click holding book:
  717. name of held item contains "&eP90 解放の書"
  718. execute console command "pex user %player% add sk.p90"
  719. set {_location} to location of player
  720. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  721. send "&9>>> &e武器を開放しました!"
  722. remove 1 of player's held item from the player's inventory
  723.  
  724. on right click holding book:
  725. name of held item contains "&ePP-19 Bizon 解放の書"
  726. execute console command "pex user %player% add sk.bizon"
  727. set {_location} to location of player
  728. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  729. send "&9>>> &e武器を開放しました!"
  730. remove 1 of player's held item from the player's inventory
  731.  
  732. command /mp7:
  733. permission: sk.mp7
  734. trigger:
  735. set {_location} to location of player
  736. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  737. send "&9>>> &a武器を選択しました!"
  738. make console execute command "/scoreboard players set %player% main 13"
  739. wait 3 ticks
  740. make player execute command "/custom3"
  741.  
  742. command /mp5:
  743. trigger:
  744. set {_location} to location of player
  745. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  746. send "&9>>> &a武器を選択しました!"
  747. make console execute command "/scoreboard players set %player% main 14"
  748. wait 3 ticks
  749. make player execute command "/custom3"
  750.  
  751. command /vector:
  752. permission: sk.vector
  753. trigger:
  754. set {_location} to location of player
  755. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  756. send "&9>>> &a武器を選択しました!"
  757. make console execute command "/scoreboard players set %player% main 15"
  758. wait 3 ticks
  759. make player execute command "/custom3"
  760.  
  761. command /mac:
  762. permission: sk.mac
  763. trigger:
  764. set {_location} to location of player
  765. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  766. send "&9>>> &a武器を選択しました!"
  767. make console execute command "/scoreboard players set %player% main 16"
  768. wait 3 ticks
  769. make player execute command "/custom3"
  770.  
  771. command /ppsh:
  772. permission: sk.ppsh
  773. trigger:
  774. set {_location} to location of player
  775. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  776. send "&9>>> &a武器を選択しました!"
  777. make console execute command "/scoreboard players set %player% main 24"
  778. wait 3 ticks
  779. make player execute command "/custom3"
  780.  
  781. command /uzi:
  782. permission: sk.uzi
  783. trigger:
  784. set {_location} to location of player
  785. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  786. send "&9>>> &a武器を選択しました!"
  787. make console execute command "/scoreboard players set %player% main 31"
  788. wait 3 ticks
  789. make player execute command "/custom3"
  790.  
  791. command /p90:
  792. permission: sk.p90
  793. trigger:
  794. set {_location} to location of player
  795. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  796. send "&9>>> &a武器を選択しました!"
  797. make console execute command "/scoreboard players set %player% main 40"
  798. wait 3 ticks
  799. make player execute command "/custom3"
  800.  
  801. command /bizon:
  802. permission: sk.bizon
  803. trigger:
  804. set {_location} to location of player
  805. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  806. send "&9>>> &a武器を選択しました!"
  807. make console execute command "/scoreboard players set %player% main 29"
  808. wait 3 ticks
  809. make player execute command "/custom3"
  810.  
  811. #handgun
  812.  
  813. Options:
  814. none: of player with black stained glass pane named "&7." to be unstealable
  815. locked: of player with red concrete named "&c未開放" to be unstealable
  816.  
  817. command /custom4:
  818. trigger:
  819. open chest with 6 row named "武器の選択" to player
  820. wait 1 ticks
  821. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  822. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  823. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  824. format slot 49 of player with barrier named "&c既に選択中" to be unstealable
  825. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  826. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  827. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  828. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  829. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  830. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  831. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  832. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  833. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  834. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  835. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  836. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  837. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  838. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  839. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  840. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  841. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  842. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  843. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  844. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  845. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  846. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  847. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  848. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  849. format slot 10 of player with wood hoe named "&8Glock17" with lore "&aデフォルト武器" to close then run [execute player command "/glock"]
  850. set {_loop1} to 0
  851. loop 10 times:
  852. format slot {_loop1} {@none}
  853. add 1 to {_loop1}
  854. set {_loop2} to 36
  855. loop 10 times:
  856. format slot {_loop2} {@none}
  857. add 1 to {_loop2}
  858. set {_loop3} to 28
  859. loop 6 times:
  860. format slot {_loop3} {@locked}
  861. add 1 to {_loop3}
  862. if player has permission "sk.desert":
  863. format slot 11 of player with gold hoe named "&8Desert Eagle" to close then run [execute player command "/desert"]
  864. else:
  865. format slot 11 {@locked}
  866. if player has permission "sk.m1911":
  867. format slot 12 of player with iron hoe named "&8M1911" to close then run [execute player command "/m1911"]
  868. else:
  869. format slot 12 {@locked}
  870. if player has permission "sk.mk5":
  871. format slot 13 of player with stone hoe named "&8MK5" to close then run [execute player command "/mk5"]
  872. else:
  873. format slot 13 {@locked}
  874. if player has permission "sk.aps":
  875. format slot 14 of player with sugar_cane_item named "&8Stechkin APS" to close then run [execute player command "/aps"]
  876. else:
  877. format slot 14 {@locked}
  878. if player has permission "sk.python":
  879. format slot 15 of player with cat_music_disc named "&8Python" to close then run [execute player command "/python"]
  880. else:
  881. format slot 15 {@locked}
  882. if player has permission "sk.shorty":
  883. format slot 16 of player with strad_music_disc named "&8Super Shorty" to close then run [execute player command "/shorty"]
  884. else:
  885. format slot 16 {@locked}
  886. if player has permission "sk.m79":
  887. format slot 19 of player with iron axe named "&8M79 Granado Launcher" to close then run [execute player command "/m79"]
  888. else:
  889. format slot 19 {@locked}
  890. if player has permission "sk.m19112":
  891. format slot 20 of player with iron hoe named "&8M1911 Dual" to close then run [execute player command "/m19112"]
  892. else:
  893. format slot 20 {@locked}
  894. if player has permission "sk.ex":
  895. format slot 21 of player with shears named "&8Excutionner" to close then run [execute player command "/ex"]
  896. else:
  897. format slot 21 {@locked}
  898. if player has permission "sk.9m":
  899. format slot 22 of player with saddle named "&89mm機関拳銃" to close then run [execute player command "/9m"]
  900. else:
  901. format slot 22 {@locked}
  902.  
  903. on right click holding book:
  904. name of held item contains "&eGlock17 解放の書"
  905. execute console command "pex user %player% add sk.glock"
  906. set {_location} to location of player
  907. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  908. send "&9>>> &e武器を開放しました!"
  909. remove 1 of player's held item from the player's inventory
  910.  
  911. on right click holding book:
  912. name of held item contains "&eDesert Eagle 解放の書"
  913. execute console command "pex user %player% add sk.desert"
  914. set {_location} to location of player
  915. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  916. send "&9>>> &e武器を開放しました!"
  917. remove 1 of player's held item from the player's inventory
  918.  
  919. on right click holding book:
  920. name of held item contains "&eM1911 解放の書"
  921. execute console command "pex user %player% add sk.m1911"
  922. set {_location} to location of player
  923. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  924. send "&9>>> &e武器を開放しました!"
  925. remove 1 of player's held item from the player's inventory
  926.  
  927. on right click holding book:
  928. name of held item contains "&eMK5 解放の書"
  929. execute console command "pex user %player% add sk.mk5"
  930. set {_location} to location of player
  931. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  932. send "&9>>> &e武器を開放しました!"
  933. remove 1 of player's held item from the player's inventory
  934.  
  935. on right click holding book:
  936. name of held item contains "&eStechkin APS 解放の書"
  937. execute console command "pex user %player% add sk.aps"
  938. set {_location} to location of player
  939. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  940. send "&9>>> &e武器を開放しました!"
  941. remove 1 of player's held item from the player's inventory
  942.  
  943. on right click holding book:
  944. name of held item contains "&ePython 解放の書"
  945. execute console command "pex user %player% add sk.python"
  946. set {_location} to location of player
  947. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  948. send "&9>>> &e武器を開放しました!"
  949. remove 1 of player's held item from the player's inventory
  950.  
  951. on right click holding book:
  952. name of held item contains "&eM79 Granado Launcher 解放の書"
  953. execute console command "pex user %player% add sk.m79"
  954. set {_location} to location of player
  955. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  956. send "&9>>> &e武器を開放しました!"
  957. remove 1 of player's held item from the player's inventory
  958.  
  959. on right click holding book:
  960. name of held item contains "&eSuper Shorty 解放の書"
  961. execute console command "pex user %player% add sk.shorty"
  962. set {_location} to location of player
  963. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  964. send "&9>>> &e武器を開放しました!"
  965. remove 1 of player's held item from the player's inventory
  966.  
  967. on right click holding book:
  968. name of held item contains "&eM1911 Dual 解放の書"
  969. execute console command "pex user %player% add sk.m19112"
  970. set {_location} to location of player
  971. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  972. send "&9>>> &e武器を開放しました!"
  973. remove 1 of player's held item from the player's inventory
  974.  
  975. on right click holding book:
  976. name of held item contains "&eExcutionner 解放の書"
  977. execute console command "pex user %player% add sk.ex"
  978. set {_location} to location of player
  979. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  980. send "&9>>> &e武器を開放しました!"
  981. remove 1 of player's held item from the player's inventory
  982.  
  983. on right click holding book:
  984. name of held item contains "&e9mm機関拳銃 解放の書"
  985. execute console command "pex user %player% add sk.9m"
  986. set {_location} to location of player
  987. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  988. send "&9>>> &e武器を開放しました!"
  989. remove 1 of player's held item from the player's inventory
  990.  
  991. command /glock:
  992. trigger:
  993. set {_location} to location of player
  994. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  995. send "&9>>> &a武器を選択しました!"
  996. make console execute command "/scoreboard players set %player% sub 1"
  997. wait 3 ticks
  998. make player execute command "/custom4"
  999.  
  1000. command /desert:
  1001. permission: sk.desert
  1002. trigger:
  1003. set {_location} to location of player
  1004. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1005. send "&9>>> &a武器を選択しました!"
  1006. make console execute command "/scoreboard players set %player% sub 2"
  1007. wait 3 ticks
  1008. make player execute command "/custom4"
  1009.  
  1010. command /m1911:
  1011. permission: sk.m1911
  1012. trigger:
  1013. set {_location} to location of player
  1014. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1015. send "&9>>> &a武器を選択しました!"
  1016. make console execute command "/scoreboard players set %player% sub 3"
  1017. wait 3 ticks
  1018. make player execute command "/custom4"
  1019.  
  1020. command /mk5:
  1021. permission: sk.mk5
  1022. trigger:
  1023. set {_location} to location of player
  1024. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1025. send "&9>>> &a武器を選択しました!"
  1026. make console execute command "/scoreboard players set %player% sub 4"
  1027. wait 3 ticks
  1028. make player execute command "/custom4"
  1029.  
  1030. command /aps:
  1031. permission: sk.aps
  1032. trigger:
  1033. set {_location} to location of player
  1034. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1035. send "&9>>> &a武器を選択しました!"
  1036. make console execute command "/scoreboard players set %player% sub 5"
  1037. wait 3 ticks
  1038. make player execute command "/custom4"
  1039.  
  1040. command /python:
  1041. permission: sk.python
  1042. trigger:
  1043. set {_location} to location of player
  1044. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1045. send "&9>>> &a武器を選択しました!"
  1046. make console execute command "/scoreboard players set %player% sub 6"
  1047. wait 3 ticks
  1048. make player execute command "/custom4"
  1049.  
  1050. command /shorty:
  1051. permission: sk.shorty
  1052. trigger:
  1053. set {_location} to location of player
  1054. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1055. send "&9>>> &a武器を選択しました!"
  1056. make console execute command "/scoreboard players set %player% sub 7"
  1057. wait 3 ticks
  1058. make player execute command "/custom4"
  1059.  
  1060. command /m79:
  1061. permission: sk.m79
  1062. trigger:
  1063. set {_location} to location of player
  1064. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1065. send "&9>>> &a武器を選択しました!"
  1066. make console execute command "/scoreboard players set %player% sub 8"
  1067. wait 3 ticks
  1068. make player execute command "/custom4"
  1069.  
  1070. command /m19112:
  1071. permission: sk.m19112
  1072. trigger:
  1073. set {_location} to location of player
  1074. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1075. send "&9>>> &a武器を選択しました!"
  1076. make console execute command "/scoreboard players set %player% sub 9"
  1077. wait 3 ticks
  1078. make player execute command "/custom4"
  1079.  
  1080. command /ex:
  1081. permission: sk.ex
  1082. trigger:
  1083. set {_location} to location of player
  1084. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1085. send "&9>>> &a武器を選択しました!"
  1086. make console execute command "/scoreboard players set %player% sub 10"
  1087. wait 3 ticks
  1088. make player execute command "/custom4"
  1089.  
  1090. command /9m:
  1091. permission: sk.9m
  1092. trigger:
  1093. set {_location} to location of player
  1094. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1095. send "&9>>> &a武器を選択しました!"
  1096. make console execute command "/scoreboard players set %player% sub 11"
  1097. wait 3 ticks
  1098. make player execute command "/custom4"
  1099.  
  1100.  
  1101. #shotgun
  1102.  
  1103. Options:
  1104. none: of player with black stained glass pane named "&7." to be unstealable
  1105. locked: of player with red concrete named "&c未開放" to be unstealable
  1106.  
  1107. command /custom5:
  1108. trigger:
  1109. open chest with 6 row named "武器の選択" to player
  1110. wait 1 ticks
  1111. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  1112. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  1113. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  1114. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  1115. format slot 50 of player with barrier named "&c既に選択中" to be unstealable
  1116. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  1117. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  1118. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  1119. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  1120. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  1121. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  1122. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  1123. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  1124. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1125. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  1126. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  1127. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  1128. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  1129. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  1130. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  1131. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  1132. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  1133. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  1134. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  1135. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  1136. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  1137. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1138. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  1139. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  1140. set {_loop1} to 0
  1141. loop 10 times:
  1142. format slot {_loop1} {@none}
  1143. add 1 to {_loop1}
  1144. set {_loop2} to 36
  1145. loop 10 times:
  1146. format slot {_loop2} {@none}
  1147. add 1 to {_loop2}
  1148. set {_loop3} to 28
  1149. loop 6 times:
  1150. format slot {_loop3} {@locked}
  1151. add 1 to {_loop3}
  1152. if player has permission "sk.striker":
  1153. format slot 10 of player with iron shovel named "&8Striker12" to close then run [execute player command "/striker"]
  1154. else:
  1155. format slot 10 {@locked}
  1156. if player has permission "sk.striker2":
  1157. format slot 11 of player with iron shovel named "&8Striker12 Dual" to close then run [execute player command "/striker2"]
  1158. else:
  1159. format slot 11 {@locked}
  1160. if player has permission "sk.spas":
  1161. format slot 12 of player with stick named "&8SPAS-15" to close then run [execute player command "/spas"]
  1162. else:
  1163. format slot 12 {@locked}
  1164. if player has permission "sk.m870":
  1165. format slot 13 of player with 13-disc named "&8M870" to close then run [execute player command "/m870"]
  1166. else:
  1167. format slot 13 {@locked}
  1168. if player has permission "sk.win":
  1169. format slot 14 of player with clay_ball named "&8Winchester Shotgun" to close then run [execute player command "/win"]
  1170. else:
  1171. format slot 14 {@locked}
  1172.  
  1173.  
  1174. on right click holding book:
  1175. name of held item contains "&eStriker12 解放の書"
  1176. execute console command "pex user %player% add sk.striker"
  1177. set {_location} to location of player
  1178. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1179. send "&9>>> &e武器を開放しました!"
  1180. remove 1 of player's held item from the player's inventory
  1181.  
  1182. on right click holding book:
  1183. name of held item contains "&eStriker12 Dual 解放の書"
  1184. execute console command "pex user %player% add sk.striker2"
  1185. set {_location} to location of player
  1186. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1187. send "&9>>> &e武器を開放しました!"
  1188. remove 1 of player's held item from the player's inventory
  1189.  
  1190. on right click holding book:
  1191. name of held item contains "&eSPAS-15 解放の書"
  1192. execute console command "pex user %player% add sk.spas"
  1193. set {_location} to location of player
  1194. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1195. send "&9>>> &e武器を開放しました!"
  1196. remove 1 of player's held item from the player's inventory
  1197.  
  1198. on right click holding book:
  1199. name of held item contains "&eM870 解放の書"
  1200. execute console command "pex user %player% add sk.m870"
  1201. set {_location} to location of player
  1202. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1203. send "&9>>> &e武器を開放しました!"
  1204. remove 1 of player's held item from the player's inventory
  1205.  
  1206. on right click holding book:
  1207. name of held item contains "&eWinchester Shotgun 解放の書"
  1208. execute console command "pex user %player% add sk.win"
  1209. set {_location} to location of player
  1210. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1211. send "&9>>> &e武器を開放しました!"
  1212. remove 1 of player's held item from the player's inventory
  1213.  
  1214. command /striker:
  1215. permission: sk.striker
  1216. trigger:
  1217. set {_location} to location of player
  1218. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1219. send "&9>>> &a武器を選択しました!"
  1220. make console execute command "/scoreboard players set %player% main 17"
  1221. wait 3 ticks
  1222. make player execute command "/custom5"
  1223.  
  1224. command /striker2:
  1225. permission: sk.striker2
  1226. trigger:
  1227. set {_location} to location of player
  1228. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1229. send "&9>>> &a武器を選択しました!"
  1230. make console execute command "/scoreboard players set %player% main 18"
  1231. wait 3 ticks
  1232. make player execute command "/custom5"
  1233.  
  1234. command /spas:
  1235. permission: sk.spas
  1236. trigger:
  1237. set {_location} to location of player
  1238. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1239. send "&9>>> &a武器を選択しました!"
  1240. make console execute command "/scoreboard players set %player% main 19"
  1241. wait 3 ticks
  1242. make player execute command "/custom5"
  1243.  
  1244. command /m870:
  1245. permission: sk.m870
  1246. trigger:
  1247. set {_location} to location of player
  1248. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1249. send "&9>>> &a武器を選択しました!"
  1250. make console execute command "/scoreboard players set %player% main 20"
  1251. wait 3 ticks
  1252. make player execute command "/custom5"
  1253.  
  1254. command /win:
  1255. permission: sk.win
  1256. trigger:
  1257. set {_location} to location of player
  1258. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1259. send "&9>>> &a武器を選択しました!"
  1260. make console execute command "/scoreboard players set %player% main 25"
  1261. wait 3 ticks
  1262. make player execute command "/custom5"
  1263.  
  1264. #lightmachinegun
  1265.  
  1266. Options:
  1267. none: of player with black stained glass pane named "&7." to be unstealable
  1268. locked: of player with red concrete named "&c未開放" to be unstealable
  1269.  
  1270. command /custom6:
  1271. trigger:
  1272. open chest with 6 row named "武器の選択" to player
  1273. wait 1 ticks
  1274. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  1275. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  1276. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  1277. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  1278. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  1279. format slot 51 of player with barrier named "&c既に選択中" to be unstealable
  1280. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  1281. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  1282. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  1283. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  1284. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  1285. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  1286. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  1287. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1288. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  1289. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  1290. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  1291. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  1292. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  1293. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  1294. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  1295. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  1296. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  1297. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  1298. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  1299. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  1300. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1301. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  1302. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  1303. set {_loop1} to 0
  1304. loop 10 times:
  1305. format slot {_loop1} {@none}
  1306. add 1 to {_loop1}
  1307. set {_loop2} to 36
  1308. loop 10 times:
  1309. format slot {_loop2} {@none}
  1310. add 1 to {_loop2}
  1311. set {_loop3} to 28
  1312. loop 6 times:
  1313. format slot {_loop3} {@locked}
  1314. add 1 to {_loop3}
  1315. if player has permission "sk.mg3":
  1316. format slot 10 of player with diamond hoe named "&8MG3" to close then run [execute player command "/mg3"]
  1317. else:
  1318. format slot 10 {@locked}
  1319. if player has permission "sk.rpk":
  1320. format slot 11 of player with gold axe named "&8RPK" to close then run [execute player command "/rpk"]
  1321. else:
  1322. format slot 11 {@locked}
  1323. if player has permission "sk.m134":
  1324. format slot 12 of player with diamond_horse_armour named "&8M134" to close then run [execute player command "/m134"]
  1325. else:
  1326. format slot 12 {@locked}
  1327. if player has permission "sk.mg34":
  1328. format slot 13 of player with feather named "&8MG34" to close then run [execute player command "/mg34"]
  1329. else:
  1330. format slot 13 {@locked}
  1331. if player has permission "sk.64":
  1332. format slot 14 of player with leather named "&864式小銃" to close then run [execute player command "/64"]
  1333. else:
  1334. format slot 14 {@locked}
  1335.  
  1336.  
  1337. on right click holding book:
  1338. name of held item contains "&eMG3 解放の書"
  1339. execute console command "pex user %player% add sk.mg3"
  1340. set {_location} to location of player
  1341. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1342. send "&9>>> &e武器を開放しました!"
  1343. remove 1 of player's held item from the player's inventory
  1344.  
  1345. on right click holding book:
  1346. name of held item contains "&eRPK 解放の書"
  1347. execute console command "pex user %player% add sk.rpk"
  1348. set {_location} to location of player
  1349. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1350. send "&9>>> &e武器を開放しました!"
  1351. remove 1 of player's held item from the player's inventory
  1352.  
  1353. on right click holding book:
  1354. name of held item contains "&eM134 解放の書"
  1355. execute console command "pex user %player% add sk.m134"
  1356. set {_location} to location of player
  1357. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1358. send "&9>>> &e武器を開放しました!"
  1359. remove 1 of player's held item from the player's inventory
  1360.  
  1361. on right click holding book:
  1362. name of held item contains "&eMG34 解放の書"
  1363. execute console command "pex user %player% add sk.mg34"
  1364. set {_location} to location of player
  1365. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1366. send "&9>>> &e武器を開放しました!"
  1367. remove 1 of player's held item from the player's inventory
  1368.  
  1369. on right click holding book:
  1370. name of held item contains "&e64式小銃 解放の書"
  1371. execute console command "pex user %player% add sk.64"
  1372. set {_location} to location of player
  1373. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1374. send "&9>>> &e武器を開放しました!"
  1375. remove 1 of player's held item from the player's inventory
  1376.  
  1377. command /mg3:
  1378. permission: sk.mg3
  1379. trigger:
  1380. set {_location} to location of player
  1381. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1382. send "&9>>> &a武器を選択しました!"
  1383. make console execute command "/scoreboard players set %player% main 21"
  1384. wait 3 ticks
  1385. make player execute command "/custom6"
  1386.  
  1387. command /rpk:
  1388. permission: sk.rpk
  1389. trigger:
  1390. set {_location} to location of player
  1391. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1392. send "&9>>> &a武器を選択しました!"
  1393. make console execute command "/scoreboard players set %player% main 22"
  1394. wait 3 ticks
  1395. make player execute command "/custom6"
  1396.  
  1397. command /m134:
  1398. permission: sk.m134
  1399. trigger:
  1400. set {_location} to location of player
  1401. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1402. send "&9>>> &a武器を選択しました!"
  1403. make console execute command "/scoreboard players set %player% main 23"
  1404. wait 3 ticks
  1405. make player execute command "/custom6"
  1406.  
  1407. command /mg34:
  1408. permission: sk.mg34
  1409. trigger:
  1410. set {_location} to location of player
  1411. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1412. send "&9>>> &a武器を選択しました!"
  1413. make console execute command "/scoreboard players set %player% main 26"
  1414. wait 3 ticks
  1415. make player execute command "/custom6"
  1416.  
  1417. command /64:
  1418. permission: sk.64
  1419. trigger:
  1420. set {_location} to location of player
  1421. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1422. send "&9>>> &a武器を選択しました!"
  1423. make console execute command "/scoreboard players set %player% main 48"
  1424. wait 3 ticks
  1425. make player execute command "/custom6"
  1426.  
  1427. #special
  1428.  
  1429. Options:
  1430. none: of player with black stained glass pane named "&7." to be unstealable
  1431. locked: of player with red concrete named "&c未開放" to be unstealable
  1432.  
  1433. command /custom7:
  1434. trigger:
  1435. open chest with 6 row named "武器の選択" to player
  1436. wait 1 ticks
  1437. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  1438. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  1439. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  1440. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  1441. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  1442. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  1443. format slot 52 of player with barrier named "&c既に選択中" to be unstealable
  1444. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  1445. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  1446. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  1447. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  1448. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  1449. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  1450. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1451. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  1452. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  1453. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  1454. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  1455. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  1456. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  1457. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  1458. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  1459. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  1460. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  1461. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  1462. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  1463. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1464. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  1465. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  1466. set {_loop1} to 0
  1467. loop 10 times:
  1468. format slot {_loop1} {@none}
  1469. add 1 to {_loop1}
  1470. set {_loop2} to 36
  1471. loop 10 times:
  1472. format slot {_loop2} {@none}
  1473. add 1 to {_loop2}
  1474. set {_loop3} to 28
  1475. loop 6 times:
  1476. format slot {_loop3} {@locked}
  1477. add 1 to {_loop3}
  1478. if player has permission "sk.hinawa":
  1479. format slot 10 of player with glowstone_dust named "&8火縄銃" to close then run [execute player command "/hinawa"]
  1480. else:
  1481. format slot 10 {@locked}
  1482. if player has permission "sk.bow":
  1483. format slot 11 of player with diamond axe named "&8X-Bow" to close then run [execute player command "/bow"]
  1484. else:
  1485. format slot 11 {@locked}
  1486. if player has permission "sk.bow2":
  1487. format slot 12 of player with diamond axe named "&8X-Bow.Mk.2" to close then run [execute player command "/bow2"]
  1488. else:
  1489. format slot 12 {@locked}
  1490. if player has permission "sk.bow3":
  1491. format slot 13 of player with diamond axe named "&8X-Bow.Mk.3" to close then run [execute player command "/bow3"]
  1492. else:
  1493. format slot 13 {@locked}
  1494. if player has permission "sk.bow4":
  1495. format slot 14 of player with diamond axe named "&8X-Bow.Mk.4" to close then run [execute player command "/bow4"]
  1496. else:
  1497. format slot 14 {@locked}
  1498. if player has permission "sk.rpg":
  1499. format slot 15 of player with gold_horse_armour named "&8RPG-7" to close then run [execute player command "/rpg"]
  1500. else:
  1501. format slot 15 {@locked}
  1502. if player has permission "sk.katana":
  1503. format slot 16 of player with gold sword named "&8日本刀" to close then run [execute player command "/katana"]
  1504. else:
  1505. format slot 16 {@locked}
  1506. if player has permission "sk.flame":
  1507. format slot 19 of player with iron_horse_armour named "&8火炎放射器" to close then run [execute player command "/flame"]
  1508. else:
  1509. format slot 19 {@locked}
  1510. if player has permission "sk.war":
  1511. format slot 20 of player with coal named "&8War Machine" to close then run [execute player command "/war"]
  1512. else:
  1513. format slot 20 {@locked}
  1514. if player has permission "sk.rail":
  1515. format slot 21 of player with diamond shovel named "&8Rail Gun" to close then run [execute player command "/rail"]
  1516. else:
  1517. format slot 21 {@locked}
  1518.  
  1519. on right click holding book:
  1520. name of held item contains "&eX-Bow 解放の書"
  1521. execute console command "pex user %player% add sk.bow"
  1522. set {_location} to location of player
  1523. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1524. send "&9>>> &e武器を開放しました!"
  1525. remove 1 of player's held item from the player's inventory
  1526.  
  1527. on right click holding book:
  1528. name of held item contains "&eMk.2.X-Bow 解放の書"
  1529. execute console command "pex user %player% add sk.bow2"
  1530. set {_location} to location of player
  1531. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1532. send "&9>>> &e武器を開放しました!"
  1533. remove 1 of player's held item from the player's inventory
  1534.  
  1535. on right click holding book:
  1536. name of held item contains "&eMk.3.X-Bow 解放の書"
  1537. execute console command "pex user %player% add sk.bow3"
  1538. set {_location} to location of player
  1539. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1540. send "&9>>> &e武器を開放しました!"
  1541. remove 1 of player's held item from the player's inventory
  1542.  
  1543. on right click holding book:
  1544. name of held item contains "&eMk.4.X-Bow 解放の書"
  1545. execute console command "pex user %player% add sk.bow4"
  1546. set {_location} to location of player
  1547. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1548. send "&9>>> &e武器を開放しました!"
  1549. remove 1 of player's held item from the player's inventory
  1550.  
  1551. on right click holding book:
  1552. name of held item contains "&e火縄銃 解放の書"
  1553. execute console command "pex user %player% add sk.hinawa"
  1554. set {_location} to location of player
  1555. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1556. send "&9>>> &e武器を開放しました!"
  1557. remove 1 of player's held item from the player's inventory
  1558.  
  1559. on right click holding book:
  1560. name of held item contains "&eRPG 解放の書"
  1561. execute console command "pex user %player% add sk.rpg"
  1562. set {_location} to location of player
  1563. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1564. send "&9>>> &e武器を開放しました!"
  1565. remove 1 of player's held item from the player's inventory
  1566.  
  1567. on right click holding book:
  1568. name of held item contains "&e火炎放射器 解放の書"
  1569. execute console command "pex user %player% add sk.flame"
  1570. set {_location} to location of player
  1571. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1572. send "&9>>> &e武器を開放しました!"
  1573. remove 1 of player's held item from the player's inventory
  1574.  
  1575. on right click holding book:
  1576. name of held item contains "&eWar Machine 解放の書"
  1577. execute console command "pex user %player% add sk.shorty"
  1578. set {_location} to location of player
  1579. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1580. send "&9>>> &e武器を開放しました!"
  1581. remove 1 of player's held item from the player's inventory
  1582.  
  1583. on right click holding book:
  1584. name of held item contains "&e日本刀 解放の書"
  1585. execute console command "pex user %player% add sk.katana"
  1586. set {_location} to location of player
  1587. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1588. send "&9>>> &e武器を開放しました!"
  1589. remove 1 of player's held item from the player's inventory
  1590.  
  1591. on right click holding book:
  1592. name of held item contains "&eRail Gun 解放の書"
  1593. execute console command "pex user %player% add sk.rail"
  1594. set {_location} to location of player
  1595. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1596. send "&9>>> &e武器を開放しました!"
  1597. remove 1 of player's held item from the player's inventory
  1598.  
  1599. command /hinawa:
  1600. permission: sk.glock
  1601. trigger:
  1602. set {_location} to location of player
  1603. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1604. send "&9>>> &a武器を選択しました!"
  1605. make console execute command "/scoreboard players set %player% main 33"
  1606. wait 3 ticks
  1607. make player execute command "/custom7"
  1608.  
  1609. command /bow:
  1610. permission: sk.bow
  1611. trigger:
  1612. set {_location} to location of player
  1613. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1614. send "&9>>> &a武器を選択しました!"
  1615. make console execute command "/scoreboard players set %player% main 34"
  1616. wait 3 ticks
  1617. make player execute command "/custom7"
  1618.  
  1619. command /bow2:
  1620. permission: sk.bow2
  1621. trigger:
  1622. set {_location} to location of player
  1623. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1624. send "&9>>> &a武器を選択しました!"
  1625. make console execute command "/scoreboard players set %player% main 35"
  1626. wait 3 ticks
  1627. make player execute command "/custom7"
  1628.  
  1629. command /bow3:
  1630. permission: sk.bow3
  1631. trigger:
  1632. set {_location} to location of player
  1633. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1634. send "&9>>> &a武器を選択しました!"
  1635. make console execute command "/scoreboard players set %player% main 36"
  1636. wait 3 ticks
  1637. make player execute command "/custom7"
  1638.  
  1639. command /rpg:
  1640. permission: sk.rpg
  1641. trigger:
  1642. set {_location} to location of player
  1643. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1644. send "&9>>> &a武器を選択しました!"
  1645. make console execute command "/scoreboard players set %player% main 37"
  1646. wait 3 ticks
  1647. make player execute command "/custom7"
  1648.  
  1649. command /flame:
  1650. permission: sk.flame
  1651. trigger:
  1652. set {_location} to location of player
  1653. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1654. send "&9>>> &a武器を選択しました!"
  1655. make console execute command "/scoreboard players set %player% main 38"
  1656. wait 3 ticks
  1657. make player execute command "/custom7"
  1658.  
  1659. command /katana:
  1660. permission: sk.katana
  1661. trigger:
  1662. set {_location} to location of player
  1663. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1664. send "&9>>> &a武器を選択しました!"
  1665. make console execute command "/scoreboard players set %player% main 49"
  1666. wait 3 ticks
  1667. make player execute command "/custom7"
  1668.  
  1669. command /rail:
  1670. permission: sk.rail
  1671. trigger:
  1672. set {_location} to location of player
  1673. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1674. send "&9>>> &a武器を選択しました!"
  1675. make console execute command "/scoreboard players set %player% main 47"
  1676. wait 3 ticks
  1677. make player execute command "/custom7"
  1678.  
  1679. command /war:
  1680. permission: sk.war
  1681. trigger:
  1682. set {_location} to location of player
  1683. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1684. send "&9>>> &a武器を選択しました!"
  1685. make console execute command "/scoreboard players set %player% main 51"
  1686. wait 3 ticks
  1687. make player execute command "/custom7"
  1688.  
  1689. command /bow4:
  1690. permission: sk.bow4
  1691. trigger:
  1692. set {_location} to location of player
  1693. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1694. send "&9>>> &a武器を選択しました!"
  1695. make console execute command "/scoreboard players set %player% main 50"
  1696. wait 3 ticks
  1697. make player execute command "/custom7"
  1698.  
  1699. on right click holding nether star:
  1700. name of held item contains "&aゲームに参加する"
  1701. execute console command "scoreboard players set %player% join 1"
  1702. set {_location} to location of player
  1703. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1704. send "&9>> &aゲームに参加しました。"
  1705.  
  1706. on right click holding emerald:
  1707. name of held item contains "&5武器のカスタマイズ"
  1708. execute console command "custom"
  1709. set {_location} to location of player
  1710. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1711. send "&9>> &eカスタム画面を開きます...."
Advertisement
Add Comment
Please, Sign In to add comment