Advertisement
dai_pon

Untitled

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