Advertisement
dai_pon

Untitled

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