Advertisement
dai_pon

Untitled

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