dai_pon

Untitled

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