dai_pon

Untitled

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