dai_pon

Untitled

May 13th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 111.70 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 10 of player with wood hoe named "&8Glock17" with lore "&aデフォルト武器" to close then run [execute player command "/glock"]
  1032. set {_loop1} to 0
  1033. loop 10 times:
  1034. format slot {_loop1} {@none}
  1035. add 1 to {_loop1}
  1036. set {_loop2} to 36
  1037. loop 10 times:
  1038. format slot {_loop2} {@none}
  1039. add 1 to {_loop2}
  1040. set {_loop3} to 28
  1041. loop 6 times:
  1042. format slot {_loop3} {@locked}
  1043. add 1 to {_loop3}
  1044. if player has permission "sk.desert":
  1045. format slot 11 of player with gold hoe named "&8Desert Eagle" to close then run [execute player command "/desert"]
  1046. else:
  1047. format slot 11 {@locked}
  1048. if player has permission "sk.m1911":
  1049. format slot 12 of player with iron hoe named "&8M1911" to close then run [execute player command "/m1911"]
  1050. else:
  1051. format slot 12 {@locked}
  1052. if player has permission "sk.mk5":
  1053. format slot 13 of player with stone hoe named "&8MK5" to close then run [execute player command "/mk5"]
  1054. else:
  1055. format slot 13 {@locked}
  1056. if player has permission "sk.aps":
  1057. format slot 14 of player with sugar_cane_item named "&8Stechkin APS" to close then run [execute player command "/aps"]
  1058. else:
  1059. format slot 14 {@locked}
  1060. if player has permission "sk.python":
  1061. format slot 15 of player with cat_music_disc named "&8Python" to close then run [execute player command "/python"]
  1062. else:
  1063. format slot 15 {@locked}
  1064. if player has permission "sk.shorty":
  1065. format slot 16 of player with strad_music_disc named "&8Super Shorty" to close then run [execute player command "/shorty"]
  1066. else:
  1067. format slot 16 {@locked}
  1068. if player has permission "sk.m79":
  1069. format slot 19 of player with iron axe named "&8M79 Granado Launcher" to close then run [execute player command "/m79"]
  1070. else:
  1071. format slot 19 {@locked}
  1072. if player has permission "sk.m19112":
  1073. format slot 20 of player with iron hoe named "&8M1911 Dual" to close then run [execute player command "/m19112"]
  1074. else:
  1075. format slot 20 {@locked}
  1076. if player has permission "sk.ex":
  1077. format slot 21 of player with shears named "&8Excutionner" to close then run [execute player command "/ex"]
  1078. else:
  1079. format slot 21 {@locked}
  1080. if player has permission "sk.9m":
  1081. format slot 22 of player with saddle named "&89mm機関拳銃" to close then run [execute player command "/9m"]
  1082. else:
  1083. format slot 22 {@locked}
  1084. if player has permission "sk.57":
  1085. format slot 23 of player with lead named "&8Five-Seven" to close then run [execute player command "/57"]
  1086. else:
  1087. format slot 23 {@locked}
  1088. if player has permission "sk.desert2":
  1089. format slot 24 of player with 294 named "&8Desert Eagle Dual" to close then run [execute player command "/desert2"]
  1090. else:
  1091. format slot 24 {@locked}
  1092. if player has permission "sk.glock2":
  1093. format slot 25 of player with wood hoe named "&8Glock18c" to close then run [execute player command "/glock2"]
  1094. else:
  1095. format slot 25 {@locked}
  1096.  
  1097. on right click holding book:
  1098. name of held item contains "&eGlock17 解放の書"
  1099. execute console command "pex user %player% add sk.glock"
  1100. set {_location} to location of player
  1101. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1102. send "&9》 &6&l武器が開放されました!"
  1103. remove 1 of player's held item from the player's inventory
  1104.  
  1105. on right click holding book:
  1106. name of held item contains "&eDesert Eagle 解放の書"
  1107. if {level.%player%} is greater than or equal to 16:
  1108. execute console command "pex user %player% add sk.desert"
  1109. set {_location} to location of player
  1110. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1111. send "&9》 &6&l武器が開放されました!"
  1112. remove 1 of player's held item from the player's inventory
  1113. else:
  1114. send "&9》 &c&l解放可能レベルに達していません。"
  1115.  
  1116. on right click holding book:
  1117. name of held item contains "&eM1911 解放の書"
  1118. if {level.%player%} is greater than or equal to 2:
  1119. execute console command "pex user %player% add sk.m1911"
  1120. set {_location} to location of player
  1121. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1122. send "&9》 &6&l武器が開放されました!"
  1123. remove 1 of player's held item from the player's inventory
  1124. else:
  1125. send "&9》 &c&l解放可能レベルに達していません。"
  1126.  
  1127. on right click holding book:
  1128. name of held item contains "&eMK5 解放の書"
  1129. if {level.%player%} is greater than or equal to 7:
  1130. execute console command "pex user %player% add sk.mk5"
  1131. set {_location} to location of player
  1132. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1133. send "&9》 &6&l武器が開放されました!"
  1134. remove 1 of player's held item from the player's inventory
  1135. else:
  1136. send "&9》 &c&l解放可能レベルに達していません。"
  1137.  
  1138. on right click holding book:
  1139. name of held item contains "&eStechkinAPS 解放の書"
  1140. if {level.%player%} is greater than or equal to 43:
  1141. execute console command "pex user %player% add sk.aps"
  1142. set {_location} to location of player
  1143. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1144. send "&9》 &6&l武器が開放されました!"
  1145. remove 1 of player's held item from the player's inventory
  1146. else:
  1147. send "&9》 &c&l解放可能レベルに達していません。"
  1148.  
  1149. on right click holding book:
  1150. name of held item contains "&ePython 解放の書"
  1151. execute console command "pex user %player% add sk.python"
  1152. set {_location} to location of player
  1153. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1154. send "&9》 &6&l武器が開放されました!"
  1155. remove 1 of player's held item from the player's inventory
  1156.  
  1157. on right click holding book:
  1158. name of held item contains "&eM79 Granado Launcher 解放の書"
  1159. if {level.%player%} is greater than or equal to 29:
  1160. execute console command "pex user %player% add sk.m79"
  1161. set {_location} to location of player
  1162. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1163. send "&9》 &6&l武器が開放されました!"
  1164. remove 1 of player's held item from the player's inventory
  1165. else:
  1166. send "&9》 &c&l解放可能レベルに達していません。"
  1167.  
  1168. on right click holding book:
  1169. name of held item contains "&eSuper Shorty 解放の書"
  1170. if {level.%player%} is greater than or equal to 22:
  1171. execute console command "pex user %player% add sk.shorty"
  1172. set {_location} to location of player
  1173. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1174. send "&9》 &6&l武器が開放されました!"
  1175. remove 1 of player's held item from the player's inventory
  1176. else:
  1177. send "&9》 &c&l解放可能レベルに達していません。"
  1178.  
  1179. on right click holding book:
  1180. name of held item contains "&eM1911 Dual 解放の書"
  1181. if {level.%player%} is greater than or equal to 54:
  1182. execute console command "pex user %player% add sk.m19112"
  1183. set {_location} to location of player
  1184. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1185. send "&9》 &6&l武器が開放されました!"
  1186. remove 1 of player's held item from the player's inventory
  1187. else:
  1188. send "&9》 &c&l解放可能レベルに達していません。"
  1189.  
  1190. on right click holding book:
  1191. name of held item contains "&eExcutionner 解放の書"
  1192. if {level.%player%} is greater than or equal to 20:
  1193. execute console command "pex user %player% add sk.ex"
  1194. set {_location} to location of player
  1195. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1196. send "&9》 &6&l武器が開放されました!"
  1197. remove 1 of player's held item from the player's inventory
  1198. else:
  1199. send "&9》 &c&l解放可能レベルに達していません。"
  1200.  
  1201. on right click holding book:
  1202. name of held item contains "&e9mm機関拳銃 解放の書"
  1203. if {level.%player%} is greater than or equal to 19:
  1204. execute console command "pex user %player% add sk.9m"
  1205. set {_location} to location of player
  1206. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1207. send "&9》 &6&l武器が開放されました!"
  1208. remove 1 of player's held item from the player's inventory
  1209. else:
  1210. send "&9》 &c&l解放可能レベルに達していません。"
  1211.  
  1212. on right click holding book:
  1213. name of held item contains "&eFive SeveN 解放の書"
  1214. if {level.%player%} is greater than or equal to 20:
  1215. execute console command "pex user %player% add sk.57"
  1216. set {_location} to location of player
  1217. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1218. send "&9》 &6&l武器が開放されました!"
  1219. remove 1 of player's held item from the player's inventory
  1220. else:
  1221. send "&9》 &c&l解放可能レベルに達していません。"
  1222.  
  1223. on right click holding book:
  1224. name of held item contains "&eDesert Eagle Dual 解放の書"
  1225. if {level.%player%} is greater than or equal to 5:
  1226. execute console command "pex user %player% add sk.desert2"
  1227. set {_location} to location of player
  1228. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1229. send "&9》 &6&l武器が開放されました!"
  1230. remove 1 of player's held item from the player's inventory
  1231. else:
  1232. send "&9》 &c&l解放可能レベルに達していません。"
  1233.  
  1234. on right click holding book:
  1235. name of held item contains "&eGlock18c 解放の書"
  1236. if {level.%player%} is greater than or equal to 55:
  1237. execute console command "pex user %player% add sk.glock2"
  1238. set {_location} to location of player
  1239. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1240. send "&9》 &6&l武器が開放されました!"
  1241. remove 1 of player's held item from the player's inventory
  1242. else:
  1243. send "&9》 &c&l解放可能レベルに達していません。"
  1244.  
  1245.  
  1246. command /glock:
  1247. trigger:
  1248. set {_location} to location of player
  1249. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1250. send "&9》 &a武器を選択しました!"
  1251. set {sub.%player%} to 1
  1252. wait 3 ticks
  1253. make player execute command "/custom4"
  1254.  
  1255. command /desert:
  1256. permission: sk.desert
  1257. trigger:
  1258. set {_location} to location of player
  1259. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1260. send "&9》 &a武器を選択しました!"
  1261. set {sub.%player%} to 2
  1262. wait 3 ticks
  1263. make player execute command "/custom4"
  1264.  
  1265. command /m1911:
  1266. permission: sk.m1911
  1267. trigger:
  1268. set {_location} to location of player
  1269. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1270. send "&9》 &a武器を選択しました!"
  1271. set {sub.%player%} to 3
  1272. wait 3 ticks
  1273. make player execute command "/custom4"
  1274.  
  1275. command /mk5:
  1276. permission: sk.mk5
  1277. trigger:
  1278. set {_location} to location of player
  1279. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1280. send "&9》 &a武器を選択しました!"
  1281. set {sub.%player%} to 4
  1282. wait 3 ticks
  1283. make player execute command "/custom4"
  1284.  
  1285. command /aps:
  1286. permission: sk.aps
  1287. trigger:
  1288. set {_location} to location of player
  1289. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1290. send "&9》 &a武器を選択しました!"
  1291. set {sub.%player%} to 5
  1292. wait 3 ticks
  1293. make player execute command "/custom4"
  1294.  
  1295. command /python:
  1296. permission: sk.python
  1297. trigger:
  1298. set {_location} to location of player
  1299. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1300. send "&9》 &a武器を選択しました!"
  1301. set {sub.%player%} to 6
  1302. wait 3 ticks
  1303. make player execute command "/custom4"
  1304.  
  1305. command /shorty:
  1306. permission: sk.shorty
  1307. trigger:
  1308. set {_location} to location of player
  1309. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1310. send "&9》 &a武器を選択しました!"
  1311. set {sub.%player%} to 7
  1312. wait 3 ticks
  1313. make player execute command "/custom4"
  1314.  
  1315. command /m79:
  1316. permission: sk.m79
  1317. trigger:
  1318. set {_location} to location of player
  1319. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1320. send "&9》 &a武器を選択しました!"
  1321. set {sub.%player%} to 8
  1322. wait 3 ticks
  1323. make player execute command "/custom4"
  1324.  
  1325. command /m19112:
  1326. permission: sk.m19112
  1327. trigger:
  1328. set {_location} to location of player
  1329. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1330. send "&9》 &a武器を選択しました!"
  1331. set {sub.%player%} to 9
  1332. wait 3 ticks
  1333. make player execute command "/custom4"
  1334.  
  1335. command /ex:
  1336. permission: sk.ex
  1337. trigger:
  1338. set {_location} to location of player
  1339. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1340. send "&9》 &a武器を選択しました!"
  1341. set {sub.%player%} to 10
  1342. wait 3 ticks
  1343. make player execute command "/custom4"
  1344.  
  1345. command /9m:
  1346. permission: sk.9m
  1347. trigger:
  1348. set {_location} to location of player
  1349. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1350. send "&9》 &a武器を選択しました!"
  1351. set {sub.%player%} to 11
  1352. wait 3 ticks
  1353. make player execute command "/custom4"
  1354.  
  1355. command /57:
  1356. permission: sk.57
  1357. trigger:
  1358. set {_location} to location of player
  1359. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1360. send "&9》 &a武器を選択しました!"
  1361. set {sub.%player%} to 12
  1362. wait 3 ticks
  1363. make player execute command "/custom4"
  1364.  
  1365. command /desert2:
  1366. permission: sk.desert2
  1367. trigger:
  1368. set {_location} to location of player
  1369. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1370. send "&9》 &a武器を選択しました!"
  1371. set {sub.%player%} to 13
  1372. wait 3 ticks
  1373. make player execute command "/custom4"
  1374.  
  1375. command /glock2:
  1376. permission: sk.glock2
  1377. trigger:
  1378. set {_location} to location of player
  1379. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1380. send "&9》 &a武器を選択しました!"
  1381. set {sub.%player%} to 14
  1382. wait 3 ticks
  1383. make player execute command "/custom4"
  1384.  
  1385.  
  1386. #shotgun
  1387.  
  1388. Options:
  1389. none: of player with black stained glass pane named "&7." to be unstealable
  1390. locked: of player with red concrete named "&c未開放" to be unstealable
  1391.  
  1392. command /custom5:
  1393. trigger:
  1394. open chest with 6 row named "武器の選択" to player
  1395. wait 1 ticks
  1396. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  1397. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  1398. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  1399. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  1400. format slot 50 of player with barrier named "&c既に選択中" to be unstealable
  1401. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  1402. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  1403. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  1404. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  1405. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  1406. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  1407. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  1408. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  1409. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1410. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  1411. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  1412. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  1413. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  1414. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  1415. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  1416. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  1417. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  1418. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  1419. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  1420. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  1421. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  1422. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1423. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  1424. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  1425. set {_loop1} to 0
  1426. loop 10 times:
  1427. format slot {_loop1} {@none}
  1428. add 1 to {_loop1}
  1429. set {_loop2} to 36
  1430. loop 10 times:
  1431. format slot {_loop2} {@none}
  1432. add 1 to {_loop2}
  1433. set {_loop3} to 28
  1434. loop 6 times:
  1435. format slot {_loop3} {@locked}
  1436. add 1 to {_loop3}
  1437. if player has permission "sk.striker":
  1438. format slot 10 of player with iron shovel named "&8Striker12" to close then run [execute player command "/striker"]
  1439. else:
  1440. format slot 10 {@locked}
  1441. if player has permission "sk.striker2":
  1442. format slot 11 of player with iron shovel named "&8Striker12 Dual" to close then run [execute player command "/striker2"]
  1443. else:
  1444. format slot 11 {@locked}
  1445. if player has permission "sk.spas":
  1446. format slot 12 of player with stick named "&8SPAS-15" to close then run [execute player command "/spas"]
  1447. else:
  1448. format slot 12 {@locked}
  1449. if player has permission "sk.m870":
  1450. format slot 13 of player with 13-disc named "&8M870" to close then run [execute player command "/m870"]
  1451. else:
  1452. format slot 13 {@locked}
  1453. if player has permission "sk.win":
  1454. format slot 14 of player with clay_ball named "&8Winchester Shotgun" to close then run [execute player command "/win"]
  1455. else:
  1456. format slot 14 {@locked}
  1457. if player has permission "sk.spas12":
  1458. format slot 15 of player with 352 named "&8SPAS-12" to close then run [execute player command "/spas12"]
  1459. else:
  1460. format slot 15 {@locked}
  1461.  
  1462.  
  1463.  
  1464. on right click holding book:
  1465. name of held item contains "&eStriker12 解放の書"
  1466. if {level.%player%} is greater than or equal to 17:
  1467. execute console command "pex user %player% add sk.striker"
  1468. set {_location} to location of player
  1469. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1470. send "&9》 &6&l武器が開放されました!"
  1471. remove 1 of player's held item from the player's inventory
  1472. else:
  1473. send "&9》 &c&l解放可能レベルに達していません。"
  1474.  
  1475. on right click holding book:
  1476. name of held item contains "&eStriker12 Dual 解放の書"
  1477. if {level.%player%} is greater than or equal to 48:
  1478. execute console command "pex user %player% add sk.striker2"
  1479. set {_location} to location of player
  1480. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1481. send "&9》 &6&l武器が開放されました!"
  1482. remove 1 of player's held item from the player's inventory
  1483. else:
  1484. send "&9》 &c&l解放可能レベルに達していません。"
  1485.  
  1486. on right click holding book:
  1487. name of held item contains "&eSPAS-15 解放の書"
  1488. if {level.%player%} is greater than or equal to 28:
  1489. execute console command "pex user %player% add sk.spas"
  1490. set {_location} to location of player
  1491. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1492. send "&9》 &6&l武器が開放されました!"
  1493. remove 1 of player's held item from the player's inventory
  1494. else:
  1495. send "&9》 &c&l解放可能レベルに達していません。"
  1496.  
  1497. on right click holding book:
  1498. name of held item contains "&eM870 解放の書"
  1499. if {level.%player%} is greater than or equal to 9:
  1500. execute console command "pex user %player% add sk.m870"
  1501. set {_location} to location of player
  1502. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1503. send "&9》 &6&l武器が開放されました!"
  1504. remove 1 of player's held item from the player's inventory
  1505. else:
  1506. send "&9》 &c&l解放可能レベルに達していません。"
  1507.  
  1508. on right click holding book:
  1509. name of held item contains "&eWinchester Shotgun 解放の書"
  1510. if {level.%player%} is greater than or equal to 19:
  1511. execute console command "pex user %player% add sk.f2000"
  1512. set {_location} to location of player
  1513. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1514. send "&9》 &6&l武器が開放されました!"
  1515. remove 1 of player's held item from the player's inventory
  1516. else:
  1517. send "&9》 &c&l解放可能レベルに達していません。"
  1518.  
  1519. on right click holding book:
  1520. name of held item contains "&eSPAS-12 解放の書"
  1521. if {level.%player%} is greater than or equal to 60:
  1522. execute console command "pex user %player% add sk.spas12"
  1523. set {_location} to location of player
  1524. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1525. send "&9》 &6&l武器が開放されました!"
  1526. remove 1 of player's held item from the player's inventory
  1527. else:
  1528. send "&9》 &c&l解放可能レベルに達していません。"
  1529.  
  1530. command /striker:
  1531. permission: sk.striker
  1532. trigger:
  1533. set {_location} to location of player
  1534. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1535. send "&9》 &a武器を選択しました!"
  1536. set {main.%player%} to 17
  1537. wait 3 ticks
  1538. make player execute command "/custom5"
  1539.  
  1540. command /striker2:
  1541. permission: sk.striker2
  1542. trigger:
  1543. set {_location} to location of player
  1544. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1545. send "&9》 &a武器を選択しました!"
  1546. set {main.%player%} to 18
  1547. wait 3 ticks
  1548. make player execute command "/custom5"
  1549.  
  1550. command /spas:
  1551. permission: sk.spas
  1552. trigger:
  1553. set {_location} to location of player
  1554. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1555. send "&9》 &a武器を選択しました!"
  1556. set {main.%player%} to 19
  1557. wait 3 ticks
  1558. make player execute command "/custom5"
  1559.  
  1560. command /m870:
  1561. permission: sk.m870
  1562. trigger:
  1563. set {_location} to location of player
  1564. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1565. send "&9》 &a武器を選択しました!"
  1566. set {main.%player%} to 20
  1567. wait 3 ticks
  1568. make player execute command "/custom5"
  1569.  
  1570. command /win:
  1571. permission: sk.win
  1572. trigger:
  1573. set {_location} to location of player
  1574. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1575. send "&9》 &a武器を選択しました!"
  1576. set {main.%player%} to 25
  1577. wait 3 ticks
  1578. make player execute command "/custom5"
  1579.  
  1580. command /spas12:
  1581. permission: sk.spas12
  1582. trigger:
  1583. set {_location} to location of player
  1584. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1585. send "&9》 &a武器を選択しました!"
  1586. set {main.%player%} to 55
  1587. wait 3 ticks
  1588. make player execute command "/custom5"
  1589.  
  1590. #lightmachinegun
  1591.  
  1592. Options:
  1593. none: of player with black stained glass pane named "&7." to be unstealable
  1594. locked: of player with red concrete named "&c未開放" to be unstealable
  1595.  
  1596. command /custom6:
  1597. trigger:
  1598. open chest with 6 row named "武器の選択" to player
  1599. wait 1 ticks
  1600. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  1601. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  1602. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  1603. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  1604. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  1605. format slot 51 of player with barrier named "&c既に選択中" to be unstealable
  1606. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  1607. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  1608. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  1609. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  1610. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  1611. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  1612. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  1613. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1614. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  1615. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  1616. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  1617. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  1618. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  1619. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  1620. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  1621. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  1622. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  1623. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  1624. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  1625. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  1626. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1627. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  1628. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  1629. set {_loop1} to 0
  1630. loop 10 times:
  1631. format slot {_loop1} {@none}
  1632. add 1 to {_loop1}
  1633. set {_loop2} to 36
  1634. loop 10 times:
  1635. format slot {_loop2} {@none}
  1636. add 1 to {_loop2}
  1637. set {_loop3} to 28
  1638. loop 6 times:
  1639. format slot {_loop3} {@locked}
  1640. add 1 to {_loop3}
  1641. if player has permission "sk.mg3":
  1642. format slot 10 of player with diamond hoe named "&8MG3" to close then run [execute player command "/mg3"]
  1643. else:
  1644. format slot 10 {@locked}
  1645. if player has permission "sk.rpk":
  1646. format slot 11 of player with gold axe named "&8RPK" to close then run [execute player command "/rpk"]
  1647. else:
  1648. format slot 11 {@locked}
  1649. if player has permission "sk.m134":
  1650. format slot 12 of player with diamond_horse_armour named "&8M134" to close then run [execute player command "/m134"]
  1651. else:
  1652. format slot 12 {@locked}
  1653. if player has permission "sk.mg34":
  1654. format slot 13 of player with feather named "&8MG34" to close then run [execute player command "/mg34"]
  1655. else:
  1656. format slot 13 {@locked}
  1657. if player has permission "sk.64":
  1658. format slot 14 of player with leather named "&864式小銃" to close then run [execute player command "/64"]
  1659. else:
  1660. format slot 14 {@locked}
  1661. if player has permission "sk.89":
  1662. format slot 15 of player with 380 named "&889式小銃" to close then run [execute player command "/89"]
  1663. else:
  1664. format slot 15 {@locked}
  1665.  
  1666.  
  1667.  
  1668. on right click holding book:
  1669. name of held item contains "&eMG3 解放の書"
  1670. if {level.%player%} is greater than or equal to 20:
  1671. execute console command "pex user %player% add sk.mg3"
  1672. set {_location} to location of player
  1673. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1674. send "&9》 &6&l武器が開放されました!"
  1675. remove 1 of player's held item from the player's inventory
  1676. else:
  1677. send "&9》 &c&l解放可能レベルに達していません。"
  1678.  
  1679. on right click holding book:
  1680. name of held item contains "&eRPK 解放の書"
  1681. if {level.%player%} is greater than or equal to 51:
  1682. execute console command "pex user %player% add sk.rpk"
  1683. set {_location} to location of player
  1684. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1685. send "&9》 &6&l武器が開放されました!"
  1686. remove 1 of player's held item from the player's inventory
  1687. else:
  1688. send "&9》 &c&l解放可能レベルに達していません。"
  1689.  
  1690. on right click holding book:
  1691. name of held item contains "&eM134 解放の書"
  1692. if {level.%player%} is greater than or equal to 65:
  1693. execute console command "pex user %player% add sk.m134"
  1694. set {_location} to location of player
  1695. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1696. send "&9》 &6&l武器が開放されました!"
  1697. remove 1 of player's held item from the player's inventory
  1698. else:
  1699. send "&9》 &c&l解放可能レベルに達していません。"
  1700.  
  1701. on right click holding book:
  1702. name of held item contains "&eMG34 解放の書"
  1703. if {level.%player%} is greater than or equal to 30:
  1704. execute console command "pex user %player% add sk.mg34"
  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 "&e64式小銃 解放の書"
  1714. if {level.%player%} is greater than or equal to 43:
  1715. execute console command "pex user %player% add sk.64"
  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 "&e89式小銃 解放の書"
  1725. if {level.%player%} is greater than or equal to 46:
  1726. execute console command "pex user %player% add sk.89"
  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.  
  1735. command /mg3:
  1736. permission: sk.mg3
  1737. trigger:
  1738. set {_location} to location of player
  1739. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1740. send "&9》 &a武器を選択しました!"
  1741. set {main.%player%} to 21
  1742. wait 3 ticks
  1743. make player execute command "/custom6"
  1744.  
  1745. command /rpk:
  1746. permission: sk.rpk
  1747. trigger:
  1748. set {_location} to location of player
  1749. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1750. send "&9》 &a武器を選択しました!"
  1751. set {main.%player%} to 22
  1752. wait 3 ticks
  1753. make player execute command "/custom6"
  1754.  
  1755. command /m134:
  1756. permission: sk.m134
  1757. trigger:
  1758. set {_location} to location of player
  1759. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1760. send "&9》 &a武器を選択しました!"
  1761. set {main.%player%} to 23
  1762. wait 3 ticks
  1763. make player execute command "/custom6"
  1764.  
  1765. command /mg34:
  1766. permission: sk.mg34
  1767. trigger:
  1768. set {_location} to location of player
  1769. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1770. send "&9》 &a武器を選択しました!"
  1771. set {main.%player%} to 26
  1772. wait 3 ticks
  1773. make player execute command "/custom6"
  1774.  
  1775. command /64:
  1776. permission: sk.64
  1777. trigger:
  1778. set {_location} to location of player
  1779. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1780. send "&9》 &a武器を選択しました!"
  1781. set {main.%player%} to 48
  1782. wait 3 ticks
  1783. make player execute command "/custom6"
  1784.  
  1785. command /89:
  1786. permission: sk.89
  1787. trigger:
  1788. set {_location} to location of player
  1789. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1790. send "&9》 &a武器を選択しました!"
  1791. set {main.%player%} to 56
  1792. wait 3 ticks
  1793. make player execute command "/custom6"
  1794.  
  1795.  
  1796. #special
  1797.  
  1798. Options:
  1799. none: of player with black stained glass pane named "&7." to be unstealable
  1800. locked: of player with red concrete named "&c未開放" to be unstealable
  1801.  
  1802. command /custom7:
  1803. trigger:
  1804. open chest with 6 row named "武器の選択" to player
  1805. wait 1 ticks
  1806. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  1807. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  1808. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  1809. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  1810. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  1811. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  1812. format slot 52 of player with barrier named "&c既に選択中" to be unstealable
  1813. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  1814. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  1815. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  1816. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  1817. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  1818. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  1819. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1820. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  1821. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  1822. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  1823. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  1824. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  1825. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  1826. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  1827. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  1828. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  1829. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  1830. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  1831. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  1832. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1833. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  1834. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  1835. set {_loop1} to 0
  1836. loop 10 times:
  1837. format slot {_loop1} {@none}
  1838. add 1 to {_loop1}
  1839. set {_loop2} to 36
  1840. loop 10 times:
  1841. format slot {_loop2} {@none}
  1842. add 1 to {_loop2}
  1843. set {_loop3} to 28
  1844. loop 6 times:
  1845. format slot {_loop3} {@locked}
  1846. add 1 to {_loop3}
  1847. if player has permission "sk.hinawa":
  1848. format slot 10 of player with glowstone_dust named "&8火縄銃" to close then run [execute player command "/hinawa"]
  1849. else:
  1850. format slot 10 {@locked}
  1851. if player has permission "sk.bow":
  1852. format slot 11 of player with diamond axe named "&8X-Bow" to close then run [execute player command "/bow"]
  1853. else:
  1854. format slot 11 {@locked}
  1855. if player has permission "sk.bow2":
  1856. format slot 12 of player with diamond axe named "&8X-Bow.Mk.2" to close then run [execute player command "/bow2"]
  1857. else:
  1858. format slot 12 {@locked}
  1859. if player has permission "sk.bow3":
  1860. format slot 13 of player with diamond axe named "&8X-Bow.Mk.3" to close then run [execute player command "/bow3"]
  1861. else:
  1862. format slot 13 {@locked}
  1863. if player has permission "sk.bow4":
  1864. format slot 14 of player with diamond axe named "&8X-Bow.Mk.4" to close then run [execute player command "/bow4"]
  1865. else:
  1866. format slot 14 {@locked}
  1867. if player has permission "sk.rpg":
  1868. format slot 15 of player with gold_horse_armour named "&8RPG-7" to close then run [execute player command "/rpg"]
  1869. else:
  1870. format slot 15 {@locked}
  1871. if player has permission "sk.katana":
  1872. format slot 16 of player with gold sword named "&8日本刀" to close then run [execute player command "/katana"]
  1873. else:
  1874. format slot 16 {@locked}
  1875. if player has permission "sk.flame":
  1876. format slot 19 of player with iron_horse_armour named "&8火炎放射器" to close then run [execute player command "/flame"]
  1877. else:
  1878. format slot 19 {@locked}
  1879. if player has permission "sk.war":
  1880. format slot 20 of player with coal named "&8War Machine" to close then run [execute player command "/war"]
  1881. else:
  1882. format slot 20 {@locked}
  1883. if player has permission "sk.rail":
  1884. format slot 21 of player with diamond shovel named "&8Rail Gun" to close then run [execute player command "/rail"]
  1885. else:
  1886. format slot 21 {@locked}
  1887. if player has permission "sk.kuuki":
  1888. format slot 22 of player with 369 named "&8空気砲" to close then run [execute player command "/kuuki"]
  1889. else:
  1890. format slot 22 {@locked}
  1891. if player has permission "sk.katana2":
  1892. format slot 23 of player with gold sword named "&8妖刀村正" to close then run [execute player command "/katana2"]
  1893. else:
  1894. format slot 23 {@locked}
  1895.  
  1896.  
  1897. on right click holding book:
  1898. name of held item contains "&eX-Bow 解放の書"
  1899. if {level.%player%} is greater than or equal to 10:
  1900. execute console command "pex user %player% add sk.bow"
  1901. set {_location} to location of player
  1902. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1903. send "&9》 &6&l武器が開放されました!"
  1904. remove 1 of player's held item from the player's inventory
  1905. else:
  1906. send "&9》 &c&l解放可能レベルに達していません。"
  1907.  
  1908. on right click holding book:
  1909. name of held item contains "&eMk.2.X-Bow 解放の書"
  1910. if {level.%player%} is greater than or equal to 33:
  1911. execute console command "pex user %player% add sk.bow2"
  1912. set {_location} to location of player
  1913. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1914. send "&9》 &6&l武器が開放されました!"
  1915. remove 1 of player's held item from the player's inventory
  1916. else:
  1917. send "&9》 &c&l解放可能レベルに達していません。"
  1918.  
  1919. on right click holding book:
  1920. name of held item contains "&eMk.3.X-Bow 解放の書"
  1921. if {level.%player%} is greater than or equal to 44:
  1922. execute console command "pex user %player% add sk.bow3"
  1923. set {_location} to location of player
  1924. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1925. send "&9》 &6&l武器が開放されました!"
  1926. remove 1 of player's held item from the player's inventory
  1927. else:
  1928. send "&9》 &c&l解放可能レベルに達していません。"
  1929.  
  1930. on right click holding book:
  1931. name of held item contains "&eMk.4.X-Bow 解放の書"
  1932. if {level.%player%} is greater than or equal to 56:
  1933. execute console command "pex user %player% add sk.bow4"
  1934. set {_location} to location of player
  1935. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1936. send "&9》 &6&l武器が開放されました!"
  1937. remove 1 of player's held item from the player's inventory
  1938. else:
  1939. send "&9》 &c&l解放可能レベルに達していません。"
  1940.  
  1941. on right click holding book:
  1942. name of held item contains "&e火縄銃 解放の書"
  1943. if {level.%player%} is greater than or equal to 36:
  1944. execute console command "pex user %player% add sk.hinawa"
  1945. set {_location} to location of player
  1946. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1947. send "&9》 &6&l武器が開放されました!"
  1948. remove 1 of player's held item from the player's inventory
  1949. else:
  1950. send "&9》 &c&l解放可能レベルに達していません。"
  1951.  
  1952. on right click holding book:
  1953. name of held item contains "&eRPG-7 解放の書"
  1954. if {level.%player%} is greater than or equal to 10:
  1955. execute console command "pex user %player% add sk.rpg"
  1956. set {_location} to location of player
  1957. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1958. send "&9》 &6&l武器が開放されました!"
  1959. remove 1 of player's held item from the player's inventory
  1960. else:
  1961. send "&9》 &c&l解放可能レベルに達していません。"
  1962.  
  1963. on right click holding book:
  1964. name of held item contains "&e火炎放射器 解放の書"
  1965. if {level.%player%} is greater than or equal to 5:
  1966. execute console command "pex user %player% add sk.flame"
  1967. set {_location} to location of player
  1968. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1969. send "&9》 &6&l武器が開放されました!"
  1970. remove 1 of player's held item from the player's inventory
  1971. else:
  1972. send "&9》 &c&l解放可能レベルに達していません。"
  1973.  
  1974. on right click holding book:
  1975. name of held item contains "&eWar-Machine 解放の書"
  1976. if {level.%player%} is greater than or equal to 62:
  1977. execute console command "pex user %player% add sk.war"
  1978. set {_location} to location of player
  1979. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1980. send "&9》 &6&l武器が開放されました!"
  1981. remove 1 of player's held item from the player's inventory
  1982. else:
  1983. send "&9》 &c&l解放可能レベルに達していません。"
  1984.  
  1985. on right click holding book:
  1986. name of held item contains "&e日本刀 解放の書"
  1987. if {level.%player%} is greater than or equal to 22:
  1988. execute console command "pex user %player% add sk.katana"
  1989. set {_location} to location of player
  1990. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1991. send "&9》 &6&l武器が開放されました!"
  1992. remove 1 of player's held item from the player's inventory
  1993. else:
  1994. send "&9》 &c&l解放可能レベルに達していません。"
  1995.  
  1996. on right click holding book:
  1997. name of held item contains "&eRail Gun 解放の書"
  1998. if {level.%player%} is greater than or equal to 80:
  1999. execute console command "pex user %player% add sk.rail"
  2000. set {_location} to location of player
  2001. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  2002. send "&9》 &6&l武器が開放されました!"
  2003. remove 1 of player's held item from the player's inventory
  2004. else:
  2005. send "&9》 &c&l解放可能レベルに達していません。"
  2006.  
  2007. on right click holding book:
  2008. name of held item contains "&e空気砲 解放の書"
  2009. if {level.%player%} is greater than or equal to 5:
  2010. execute console command "pex user %player% add sk.kuuki"
  2011. set {_location} to location of player
  2012. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  2013. send "&9》 &6&l武器が開放されました!"
  2014. remove 1 of player's held item from the player's inventory
  2015. else:
  2016. send "&9》 &c&l解放可能レベルに達していません。"
  2017.  
  2018. on right click holding book:
  2019. name of held item contains "&e妖刀村正 解放の書"
  2020. if {level.%player%} is greater than or equal to 50:
  2021. execute console command "pex user %player% add sk.katana2"
  2022. set {_location} to location of player
  2023. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  2024. send "&9》 &6&l武器が開放されました!"
  2025. remove 1 of player's held item from the player's inventory
  2026. else:
  2027. send "&9》 &c&l解放可能レベルに達していません。"
  2028.  
  2029. command /hinawa:
  2030. permission: sk.hinawa
  2031. trigger:
  2032. set {_location} to location of player
  2033. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2034. send "&9》 &a武器を選択しました!"
  2035. set {main.%player%} to 33
  2036. wait 3 ticks
  2037. make player execute command "/custom7"
  2038.  
  2039. command /bow:
  2040. permission: sk.bow
  2041. trigger:
  2042. set {_location} to location of player
  2043. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2044. send "&9》 &a武器を選択しました!"
  2045. set {main.%player%} to 34
  2046. wait 3 ticks
  2047. make player execute command "/custom7"
  2048.  
  2049. command /bow2:
  2050. permission: sk.bow2
  2051. trigger:
  2052. set {_location} to location of player
  2053. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2054. send "&9》 &a武器を選択しました!"
  2055. set {main.%player%} to 35
  2056. wait 3 ticks
  2057. make player execute command "/custom7"
  2058.  
  2059. command /bow3:
  2060. permission: sk.bow3
  2061. trigger:
  2062. set {_location} to location of player
  2063. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2064. send "&9》 &a武器を選択しました!"
  2065. set {main.%player%} to 36
  2066. wait 3 ticks
  2067. make player execute command "/custom7"
  2068.  
  2069. command /rpg:
  2070. permission: sk.rpg
  2071. trigger:
  2072. set {_location} to location of player
  2073. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2074. send "&9》 &a武器を選択しました!"
  2075. set {main.%player%} to 37
  2076. wait 3 ticks
  2077. make player execute command "/custom7"
  2078.  
  2079. command /flame:
  2080. permission: sk.flame
  2081. trigger:
  2082. set {_location} to location of player
  2083. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2084. send "&9》 &a武器を選択しました!"
  2085. set {main.%player%} to 38
  2086. wait 3 ticks
  2087. make player execute command "/custom7"
  2088.  
  2089. command /katana:
  2090. permission: sk.katana
  2091. trigger:
  2092. set {_location} to location of player
  2093. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2094. send "&9》 &a武器を選択しました!"
  2095. set {main.%player%} to 49
  2096. wait 3 ticks
  2097. make player execute command "/custom7"
  2098.  
  2099. command /rail:
  2100. permission: sk.rail
  2101. trigger:
  2102. set {_location} to location of player
  2103. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2104. send "&9》 &a武器を選択しました!"
  2105. set {main.%player%} to 47
  2106. wait 3 ticks
  2107. make player execute command "/custom7"
  2108.  
  2109. command /war:
  2110. permission: sk.war
  2111. trigger:
  2112. set {_location} to location of player
  2113. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2114. send "&9》 &a武器を選択しました!"
  2115. set {main.%player%} to 51
  2116. wait 3 ticks
  2117. make player execute command "/custom7"
  2118.  
  2119. command /bow4:
  2120. permission: sk.bow4
  2121. trigger:
  2122. set {_location} to location of player
  2123. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2124. send "&9》 &a武器を選択しました!"
  2125. set {main.%player%} to 50
  2126. wait 3 ticks
  2127. make player execute command "/custom7"
  2128.  
  2129. command /kuuki:
  2130. permission: sk.kuuki
  2131. trigger:
  2132. set {_location} to location of player
  2133. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2134. send "&9》 &a武器を選択しました!"
  2135. set {main.%player%} to 57
  2136. wait 3 ticks
  2137. make player execute command "/custom7"
  2138.  
  2139. command /katana2:
  2140. permission: sk.katana2
  2141. trigger:
  2142. set {_location} to location of player
  2143. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2144. send "&9》 &a武器を選択しました!"
  2145. set {main.%player%} to 58
  2146. wait 3 ticks
  2147. make player execute command "/custom7"
  2148.  
  2149.  
  2150. on right click holding nether star:
  2151. name of held item contains "&aゲームに参加する"
  2152. execute console command "scoreboard players set %player% join 1"
  2153. set {_location} to location of player
  2154. set {ready.%player%} to 1
  2155. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2156. send "&9》 &aゲームに参加しました。"
  2157.  
  2158. on right click holding emerald:
  2159. name of held item contains "&5武器のカスタマイズ"
  2160. execute console command "custom"
  2161. set {_location} to location of player
  2162. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  2163. send "&9》 &eカスタム画面を開きます...."
  2164.  
  2165. command /main:
  2166. permission: sk.main
  2167. trigger:
  2168. if {main.%player%} is equal to 1:
  2169. execute console command "menu grab %player% vss"
  2170. else if {main.%player%} is equal to 2:
  2171. execute console command "menu grab %player% barret"
  2172. else if {main.%player%} is equal to 3:
  2173. execute console command "menu grab %player% wa2000"
  2174. else if {main.%player%} is equal to 4:
  2175. execute console command "menu grab %player% dsr"
  2176. else if {main.%player%} is equal to 5:
  2177. execute console command "menu grab %player% svd"
  2178. else if {main.%player%} is equal to 6:
  2179. execute console command "menu grab %player% m40a3"
  2180. else if {main.%player%} is equal to 7:
  2181. execute console command "menu grab %player% ak"
  2182. else if {main.%player%} is equal to 8:
  2183. execute console command "menu grab %player% ots"
  2184. else if {main.%player%} is equal to 9:
  2185. execute console command "menu grab %player% m16"
  2186. else if {main.%player%} is equal to 10:
  2187. execute console command "menu grab %player% galil"
  2188. else if {main.%player%} is equal to 11:
  2189. execute console command "menu grab %player% aug"
  2190. else if {main.%player%} is equal to 12:
  2191. execute console command "menu grab %player% aks"
  2192. else if {main.%player%} is equal to 13:
  2193. execute console command "menu grab %player% mp7"
  2194. else if {main.%player%} is equal to 14:
  2195. execute console command "menu grab %player% mp5"
  2196. else if {main.%player%} is equal to 15:
  2197. execute console command "menu grab %player% vector"
  2198. else if {main.%player%} is equal to 16:
  2199. execute console command "menu grab %player% mac"
  2200. else if {main.%player%} is equal to 17:
  2201. execute console command "menu grab %player% striker"
  2202. else if {main.%player%} is equal to 18:
  2203. execute console command "menu grab %player% striker2"
  2204. else if {main.%player%} is equal to 19:
  2205. execute console command "menu grab %player% spas"
  2206. else if {main.%player%} is equal to 20:
  2207. execute console command "menu grab %player% m870"
  2208. else if {main.%player%} is equal to 21:
  2209. execute console command "menu grab %player% mg3"
  2210. else if {main.%player%} is equal to 22:
  2211. execute console command "menu grab %player% rpk"
  2212. else if {main.%player%} is equal to 23:
  2213. execute console command "menu grab %player% m134"
  2214. else if {main.%player%} is equal to 24:
  2215. execute console command "menu grab %player% ppsh"
  2216. else if {main.%player%} is equal to 25:
  2217. execute console command "menu grab %player% win"
  2218. else if {main.%player%} is equal to 26:
  2219. execute console command "menu grab %player% mg34"
  2220. else if {main.%player%} is equal to 27:
  2221. execute console command "menu grab %player% m1"
  2222. else if {main.%player%} is equal to 28:
  2223. execute console command "menu grab %player% barret2"
  2224. else if {main.%player%} is equal to 29:
  2225. execute console command "menu grab %player% bizon"
  2226. else if {main.%player%} is equal to 30:
  2227. execute console command "menu grab %player% scar"
  2228. else if {main.%player%} is equal to 31:
  2229. execute console command "menu grab %player% uzi"
  2230. else if {main.%player%} is equal to 32:
  2231. execute console command "menu grab %player% shorty"
  2232. else if {main.%player%} is equal to 33:
  2233. execute console command "menu grab %player% hinawa"
  2234. else if {main.%player%} is equal to 34:
  2235. execute console command "menu grab %player% bow"
  2236. else if {main.%player%} is equal to 35:
  2237. execute console command "menu grab %player% bow2"
  2238. else if {main.%player%} is equal to 36:
  2239. execute console command "menu grab %player% bow3"
  2240. else if {main.%player%} is equal to 37:
  2241. execute console command "menu grab %player% rpg"
  2242. else if {main.%player%} is equal to 38:
  2243. execute console command "menu grab %player% flame"
  2244. else if {main.%player%} is equal to 39:
  2245. execute console command "menu grab %player% bum"
  2246. else if {main.%player%} is equal to 40:
  2247. execute console command "menu grab %player% p90"
  2248. else if {main.%player%} is equal to 41:
  2249. execute console command "menu grab %player% fsw"
  2250. else if {main.%player%} is equal to 42:
  2251. execute console command "menu grab %player% x95"
  2252. else if {main.%player%} is equal to 43:
  2253. execute console command "menu grab %player% mosin"
  2254. else if {main.%player%} is equal to 44:
  2255. execute console command "menu grab %player% war"
  2256. else if {main.%player%} is equal to 45:
  2257. execute console command "menu grab %player% bizon"
  2258. else if {main.%player%} is equal to 46:
  2259. execute console command "menu grab %player% hinawa"
  2260. else if {main.%player%} is equal to 47:
  2261. execute console command "menu grab %player% rail"
  2262. else if {main.%player%} is equal to 48:
  2263. execute console command "menu grab %player% 64"
  2264. else if {main.%player%} is equal to 49:
  2265. execute console command "menu grab %player% katana"
  2266. else if {main.%player%} is equal to 50:
  2267. execute console command "menu grab %player% bow4"
  2268. else if {main.%player%} is equal to 51:
  2269. execute console command "menu grab %player% ballista"
  2270. else if {main.%player%} is equal to 53:
  2271. execute console command "menu grab %player% m162"
  2272. else if {main.%player%} is equal to 52:
  2273. execute console command "menu grab %player% scar2"
  2274. else if {main.%player%} is equal to 54:
  2275. execute console command "menu grab %player% famas"
  2276. else if {main.%player%} is equal to 55:
  2277. execute console command "menu grab %player% spas12"
  2278. else if {main.%player%} is equal to 56:
  2279. execute console command "menu grab %player% 89"
  2280. else if {main.%player%} is equal to 57:
  2281. execute console command "menu grab %player% kuuki"
  2282. else if {main.%player%} is equal to 58:
  2283. execute console command "menu grab %player% youtou"
  2284.  
  2285. command /subs:
  2286. permission: sk.sub
  2287. trigger:
  2288. if {sub.%player%} is equal to 1:
  2289. execute console command "menu grab %player% glock"
  2290. else if {sub.%player%} is equal to 2:
  2291. execute console command "menu grab %player% desert"
  2292. else if {sub.%player%} is equal to 3:
  2293. execute console command "menu grab %player% m1911"
  2294. else if {sub.%player%} is equal to 4:
  2295. execute console command "menu grab %player% mk5"
  2296. else if {sub.%player%} is equal to 5:
  2297. execute console command "menu grab %player% aps"
  2298. else if {sub.%player%} is equal to 6:
  2299. execute console command "menu grab %player% python"
  2300. else if {sub.%player%} is equal to 7:
  2301. execute console command "menu grab %player% shorty"
  2302. else if {sub.%player%} is equal to 8:
  2303. execute console command "menu grab %player% m79"
  2304. else if {sub.%player%} is equal to 9:
  2305. execute console command "menu grab %player% m19112"
  2306. else if {sub.%player%} is equal to 10:
  2307. execute console command "menu grab %player% ex"
  2308. else if {sub.%player%} is equal to 11:
  2309. execute console command "menu grab %player% 9m"
  2310. else if {sub.%player%} is equal to 12:
  2311. execute console command "menu grab %player% 57"
  2312. else if {sub.%player%} is equal to 13:
  2313. execute console command "menu grab %player% desert2"
  2314. else if {sub.%player%} is equal to 14:
  2315. execute console command "menu grab %player% glock2"
Add Comment
Please, Sign In to add comment