Advertisement
dai_pon

Untitled

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