dai_pon

Untitled

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