Advertisement
dai_pon

Untitled

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