dai_pon

Untitled

Mar 20th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.01 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.ots":
  58. format slot 12 of player with 11-disc named "&8Ots-14" to close then run [execute player command "/ots"]
  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 "&eOts-14 解放の書"
  117. execute console command "pex user %player% add sk.ots"
  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 /ots:
  215. permission: sk.ots
  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.vss":
  431. format slot 15 of player with stone shovel named "&8VSS" to close then run [execute player command "/vss"]
  432. else:
  433. format slot 15 {@locked}
  434. if player has permission "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.  
  443. on right click holding book:
  444. name of held item contains "&eM40A3 解放の書"
  445. execute console command "pex user %player% add sk.m40a3"
  446. set {_location} to location of player
  447. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  448. send "&9>>> &e武器を開放しました!"
  449. remove 1 of player's held item from the player's inventory
  450.  
  451. on right click holding book:
  452. name of held item contains "&eBarret-M82A1 解放の書"
  453. execute console command "pex user %player% add sk.barret"
  454. set {_location} to location of player
  455. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  456. send "&9>>> &e武器を開放しました!"
  457. remove 1 of player's held item from the player's inventory
  458.  
  459. on right click holding book:
  460. name of held item contains "&eWA2000 解放の書"
  461. execute console command "pex user %player% add sk.wa2000"
  462. set {_location} to location of player
  463. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  464. send "&9>>> &e武器を開放しました!"
  465. remove 1 of player's held item from the player's inventory
  466.  
  467. on right click holding book:
  468. name of held item contains "&eDSR-1 解放の書"
  469. execute console command "pex user %player% add sk.dsr"
  470. set {_location} to location of player
  471. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  472. send "&9>>> &e武器を開放しました!"
  473. remove 1 of player's held item from the player's inventory
  474.  
  475. on right click holding book:
  476. name of held item contains "&eSVD 解放の書"
  477. execute console command "pex user %player% add sk.svd"
  478. set {_location} to location of player
  479. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  480. send "&9>>> &e武器を開放しました!"
  481. remove 1 of player's held item from the player's inventory
  482.  
  483. on right click holding book:
  484. name of held item contains "&eVSS 解放の書"
  485. execute console command "pex user %player% add sk.vss"
  486. set {_location} to location of player
  487. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  488. send "&9>>> &e武器を開放しました!"
  489. remove 1 of player's held item from the player's inventory
  490.  
  491. on right click holding book:
  492. name of held item contains "&eBarret M82 解放の書"
  493. execute console command "pex user %player% add sk.barret2"
  494. set {_location} to location of player
  495. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  496. send "&9>>> &e武器を開放しました!"
  497. remove 1 of player's held item from the player's inventory
  498.  
  499. on right click holding book:
  500. name of held item contains "&eMosin-Nagant 解放の書"
  501. execute console command "pex user %player% add sk.mosin"
  502. set {_location} to location of player
  503. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  504. send "&9>>> &e武器を開放しました!"
  505. remove 1 of player's held item from the player's inventory
  506.  
  507.  
  508. command /m40a3:
  509. trigger:
  510. set {_location} to location of player
  511. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  512. send "&9>>> &a武器を選択しました!"
  513. make console execute command "/scoreboard players set %player% main 6"
  514. wait 3 ticks
  515. make player execute command "/custom2"
  516.  
  517. command /barret:
  518. permission: sk.barret
  519. trigger:
  520. set {_location} to location of player
  521. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  522. send "&9>>> &a武器を選択しました!"
  523. make console execute command "/scoreboard players set %player% main 2"
  524. wait 3 ticks
  525. make player execute command "/custom2"
  526.  
  527. command /wa2000:
  528. permission: sk.wa2000
  529. trigger:
  530. set {_location} to location of player
  531. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  532. send "&9>>> &a武器を選択しました!"
  533. make console execute command "/scoreboard players set %player% main 3"
  534. wait 3 ticks
  535. make player execute command "/custom2"
  536.  
  537. command /dsr:
  538. permission: sk.dsr
  539. trigger:
  540. set {_location} to location of player
  541. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  542. send "&9>>> &a武器を選択しました!"
  543. make console execute command "/scoreboard players set %player% main 4"
  544. wait 3 ticks
  545. make player execute command "/custom2"
  546.  
  547. command /svd:
  548. permission: sk.svd
  549. trigger:
  550. set {_location} to location of player
  551. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  552. send "&9>>> &a武器を選択しました!"
  553. make console execute command "/scoreboard players set %player% main 5"
  554. wait 3 ticks
  555. make player execute command "/custom2"
  556.  
  557. command /barret2:
  558. permission: sk.barret2
  559. trigger:
  560. set {_location} to location of player
  561. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  562. send "&9>>> &a武器を選択しました!"
  563. make console execute command "/scoreboard players set %player% main 28"
  564. wait 3 ticks
  565. make player execute command "/custom2"
  566.  
  567. command /mosin:
  568. permission: sk.mosin
  569. trigger:
  570. set {_location} to location of player
  571. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  572. send "&9>>> &a武器を選択しました!"
  573. make console execute command "/scoreboard players set %player% main 43"
  574. wait 3 ticks
  575. make player execute command "/custom2"
  576.  
  577. command /vss:
  578. permission: sk.vss
  579. trigger:
  580. set {_location} to location of player
  581. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  582. send "&9>>> &a武器を選択しました!"
  583. make console execute command "/scoreboard players set %player% main 1"
  584. wait 3 ticks
  585. make player execute command "/custom2"
  586.  
  587.  
  588. #submachinegun
  589.  
  590. Options:
  591. none: of player with black stained glass pane named "&7." to be unstealable
  592. locked: of player with red concrete named "&c未開放" to be unstealable
  593.  
  594. command /custom3:
  595. trigger:
  596. open chest with 6 row named "武器の選択" to player
  597. wait 1 ticks
  598. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  599. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  600. format slot 48 of player with barrier named "&c既に選択中" to be unstealable
  601. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  602. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  603. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  604. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  605. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  606. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  607. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  608. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  609. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  610. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  611. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  612. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  613. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  614. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  615. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  616. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  617. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  618. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  619. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  620. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  621. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  622. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  623. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  624. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  625. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  626. format slot 10 of player with prismarine crystals named "&8MP7" with lore "&aデフォルト武器" to close then run [execute player command "/mp7"]
  627. set {_loop1} to 0
  628. loop 10 times:
  629. format slot {_loop1} {@none}
  630. add 1 to {_loop1}
  631. set {_loop2} to 36
  632. loop 10 times:
  633. format slot {_loop2} {@none}
  634. add 1 to {_loop2}
  635. set {_loop3} to 28
  636. loop 6 times:
  637. format slot {_loop3} {@locked}
  638. add 1 to {_loop3}
  639. if player has permission "sk.mp5":
  640. format slot 11 of player with nether_quartz_item named "&8MP5" to close then run [execute player command "/mp5"]
  641. else:
  642. format slot 11 {@locked}
  643. if player has permission "sk.vector":
  644. format slot 12 of player with clay_bricks_item named "&8Kriss-Vector" to close then run [execute player command "/vector"]
  645. else:
  646. format slot 12 {@locked}
  647. if player has permission "sk.mac":
  648. format slot 13 of player with nether_brick_item named "&8MAC-10" to close then run [execute player command "/mac"]
  649. else:
  650. format slot 13 {@locked}
  651. if player has permission "sk.ppsh":
  652. format slot 14 of player with stal_music_disc named "&8PPSH-41" to close then run [execute player command "/ppsh"]
  653. else:
  654. format slot 14 {@locked}
  655. if player has permission "sk.uzi":
  656. format slot 15 of player with gunpowder named "&8Dual-UZI" to close then run [execute player command "/uzi"]
  657. else:
  658. format slot 15 {@locked}
  659. if player has permission "sk.p90":
  660. format slot 16 of player with far_music_disc named "&8P90" to close then run [execute player command "/p90"]
  661. else:
  662. format slot 16 {@locked}
  663. if player has permission "sk.bizon":
  664. format slot 19 of player with ward_music_disc named "&8PP-19 Bizon" to close then run [execute player command "/bizon"]
  665. else:
  666. format slot 19 {@locked}
  667.  
  668. on right click holding book:
  669. name of held item contains "&eMP7 解放の書"
  670. execute console command "pex user %player% add sk.mp7"
  671. set {_location} to location of player
  672. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  673. send "&9>>> &e武器を開放しました!"
  674. remove 1 of player's held item from the player's inventory
  675.  
  676. on right click holding book:
  677. name of held item contains "&eMP5 解放の書"
  678. execute console command "pex user %player% add sk.mp5"
  679. set {_location} to location of player
  680. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  681. send "&9>>> &e武器を開放しました!"
  682. remove 1 of player's held item from the player's inventory
  683.  
  684. on right click holding book:
  685. name of held item contains "&eKriss-Vector 解放の書"
  686. execute console command "pex user %player% add sk.vector"
  687. set {_location} to location of player
  688. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  689. send "&9>>> &e武器を開放しました!"
  690. remove 1 of player's held item from the player's inventory
  691.  
  692. on right click holding book:
  693. name of held item contains "&eMAC-10 解放の書"
  694. execute console command "pex user %player% add sk.mac"
  695. set {_location} to location of player
  696. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  697. send "&9>>> &e武器を開放しました!"
  698. remove 1 of player's held item from the player's inventory
  699.  
  700. on right click holding book:
  701. name of held item contains "&ePPSH-41 解放の書"
  702. execute console command "pex user %player% add sk.ppsh"
  703. set {_location} to location of player
  704. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  705. send "&9>>> &e武器を開放しました!"
  706. remove 1 of player's held item from the player's inventory
  707.  
  708. on right click holding book:
  709. name of held item contains "&eDual-UZI 解放の書"
  710. execute console command "pex user %player% add sk.uzi"
  711. set {_location} to location of player
  712. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  713. send "&9>>> &e武器を開放しました!"
  714. remove 1 of player's held item from the player's inventory
  715.  
  716. on right click holding book:
  717. name of held item contains "&eP90 解放の書"
  718. execute console command "pex user %player% add sk.p90"
  719. set {_location} to location of player
  720. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  721. send "&9>>> &e武器を開放しました!"
  722. remove 1 of player's held item from the player's inventory
  723.  
  724. on right click holding book:
  725. name of held item contains "&ePP-19 Bizon 解放の書"
  726. execute console command "pex user %player% add sk.bizon"
  727. set {_location} to location of player
  728. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  729. send "&9>>> &e武器を開放しました!"
  730. remove 1 of player's held item from the player's inventory
  731.  
  732. command /mp7:
  733. permission: sk.mp7
  734. trigger:
  735. set {_location} to location of player
  736. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  737. send "&9>>> &a武器を選択しました!"
  738. make console execute command "/scoreboard players set %player% main 13"
  739. wait 3 ticks
  740. make player execute command "/custom3"
  741.  
  742. command /mp5:
  743. trigger:
  744. set {_location} to location of player
  745. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  746. send "&9>>> &a武器を選択しました!"
  747. make console execute command "/scoreboard players set %player% main 14"
  748. wait 3 ticks
  749. make player execute command "/custom3"
  750.  
  751. command /vector:
  752. permission: sk.vector
  753. trigger:
  754. set {_location} to location of player
  755. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  756. send "&9>>> &a武器を選択しました!"
  757. make console execute command "/scoreboard players set %player% main 15"
  758. wait 3 ticks
  759. make player execute command "/custom3"
  760.  
  761. command /mac:
  762. permission: sk.mac
  763. trigger:
  764. set {_location} to location of player
  765. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  766. send "&9>>> &a武器を選択しました!"
  767. make console execute command "/scoreboard players set %player% main 16"
  768. wait 3 ticks
  769. make player execute command "/custom3"
  770.  
  771. command /ppsh:
  772. permission: sk.ppsh
  773. trigger:
  774. set {_location} to location of player
  775. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  776. send "&9>>> &a武器を選択しました!"
  777. make console execute command "/scoreboard players set %player% main 24"
  778. wait 3 ticks
  779. make player execute command "/custom3"
  780.  
  781. command /uzi:
  782. permission: sk.uzi
  783. trigger:
  784. set {_location} to location of player
  785. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  786. send "&9>>> &a武器を選択しました!"
  787. make console execute command "/scoreboard players set %player% main 31"
  788. wait 3 ticks
  789. make player execute command "/custom3"
  790.  
  791. command /p90:
  792. permission: sk.p90
  793. trigger:
  794. set {_location} to location of player
  795. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  796. send "&9>>> &a武器を選択しました!"
  797. make console execute command "/scoreboard players set %player% main 40"
  798. wait 3 ticks
  799. make player execute command "/custom3"
  800.  
  801. command /bizon:
  802. permission: sk.bizon
  803. trigger:
  804. set {_location} to location of player
  805. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  806. send "&9>>> &a武器を選択しました!"
  807. make console execute command "/scoreboard players set %player% main 29"
  808. wait 3 ticks
  809. make player execute command "/custom3"
  810.  
  811. #handgun
  812.  
  813. Options:
  814. none: of player with black stained glass pane named "&7." to be unstealable
  815. locked: of player with red concrete named "&c未開放" to be unstealable
  816.  
  817. command /custom4:
  818. trigger:
  819. open chest with 6 row named "武器の選択" to player
  820. wait 1 ticks
  821. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  822. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  823. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  824. format slot 49 of player with barrier named "&c既に選択中" to be unstealable
  825. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  826. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  827. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  828. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  829. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  830. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  831. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  832. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  833. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  834. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  835. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  836. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  837. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  838. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  839. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  840. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  841. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  842. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  843. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  844. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  845. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  846. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  847. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  848. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  849. format slot 10 of player with wood hoe named "&8Glock17" with lore "&aデフォルト武器" to close then run [execute player command "/glock"]
  850. set {_loop1} to 0
  851. loop 10 times:
  852. format slot {_loop1} {@none}
  853. add 1 to {_loop1}
  854. set {_loop2} to 36
  855. loop 10 times:
  856. format slot {_loop2} {@none}
  857. add 1 to {_loop2}
  858. set {_loop3} to 28
  859. loop 6 times:
  860. format slot {_loop3} {@locked}
  861. add 1 to {_loop3}
  862. if player has permission "sk.desert":
  863. format slot 11 of player with gold hoe named "&8Desert Eagle" to close then run [execute player command "/desert"]
  864. else:
  865. format slot 11 {@locked}
  866. if player has permission "sk.m1911":
  867. format slot 12 of player with iron hoe named "&8M1911" to close then run [execute player command "/m1911"]
  868. else:
  869. format slot 12 {@locked}
  870. if player has permission "sk.mk5":
  871. format slot 13 of player with stone hoe named "&8MK5" to close then run [execute player command "/mk5"]
  872. else:
  873. format slot 13 {@locked}
  874. if player has permission "sk.aps":
  875. format slot 14 of player with sugar_cane_item named "&8Stechkin APS" to close then run [execute player command "/aps"]
  876. else:
  877. format slot 14 {@locked}
  878. if player has permission "sk.python":
  879. format slot 15 of player with cat_music_disc named "&8Python" to close then run [execute player command "/python"]
  880. else:
  881. format slot 15 {@locked}
  882. if player has permission "sk.shorty":
  883. format slot 16 of player with strad_music_disc named "&8Super Shorty" to close then run [execute player command "/shorty"]
  884. else:
  885. format slot 16 {@locked}
  886. if player has permission "sk.m79":
  887. format slot 19 of player with iron axe named "&8M79 Granado Launcher" to close then run [execute player command "/m79"]
  888. else:
  889. format slot 19 {@locked}
  890. if player has permission "sk.m19112":
  891. format slot 20 of player with iron hoe named "&8M1911 Dual" to close then run [execute player command "/m19112"]
  892. else:
  893. format slot 20 {@locked}
  894. if player has permission "sk.ex":
  895. format slot 21 of player with shears named "&8Excutionner" to close then run [execute player command "/ex"]
  896. else:
  897. format slot 21 {@locked}
  898.  
  899. on right click holding book:
  900. name of held item contains "&eGlock17 解放の書"
  901. execute console command "pex user %player% add sk.glock"
  902. set {_location} to location of player
  903. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  904. send "&9>>> &e武器を開放しました!"
  905. remove 1 of player's held item from the player's inventory
  906.  
  907. on right click holding book:
  908. name of held item contains "&eDesert Eagle 解放の書"
  909. execute console command "pex user %player% add sk.desert"
  910. set {_location} to location of player
  911. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  912. send "&9>>> &e武器を開放しました!"
  913. remove 1 of player's held item from the player's inventory
  914.  
  915. on right click holding book:
  916. name of held item contains "&eM1911 解放の書"
  917. execute console command "pex user %player% add sk.m1911"
  918. set {_location} to location of player
  919. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  920. send "&9>>> &e武器を開放しました!"
  921. remove 1 of player's held item from the player's inventory
  922.  
  923. on right click holding book:
  924. name of held item contains "&eMK5 解放の書"
  925. execute console command "pex user %player% add sk.mk5"
  926. set {_location} to location of player
  927. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  928. send "&9>>> &e武器を開放しました!"
  929. remove 1 of player's held item from the player's inventory
  930.  
  931. on right click holding book:
  932. name of held item contains "&eStechkin APS 解放の書"
  933. execute console command "pex user %player% add sk.aps"
  934. set {_location} to location of player
  935. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  936. send "&9>>> &e武器を開放しました!"
  937. remove 1 of player's held item from the player's inventory
  938.  
  939. on right click holding book:
  940. name of held item contains "&ePython 解放の書"
  941. execute console command "pex user %player% add sk.python"
  942. set {_location} to location of player
  943. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  944. send "&9>>> &e武器を開放しました!"
  945. remove 1 of player's held item from the player's inventory
  946.  
  947. on right click holding book:
  948. name of held item contains "&eM79 Granado Launcher 解放の書"
  949. execute console command "pex user %player% add sk.m79"
  950. set {_location} to location of player
  951. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  952. send "&9>>> &e武器を開放しました!"
  953. remove 1 of player's held item from the player's inventory
  954.  
  955. on right click holding book:
  956. name of held item contains "&eSuper Shorty 解放の書"
  957. execute console command "pex user %player% add sk.shorty"
  958. set {_location} to location of player
  959. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  960. send "&9>>> &e武器を開放しました!"
  961. remove 1 of player's held item from the player's inventory
  962.  
  963. on right click holding book:
  964. name of held item contains "&eM1911 Dual 解放の書"
  965. execute console command "pex user %player% add sk.m19112"
  966. set {_location} to location of player
  967. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  968. send "&9>>> &e武器を開放しました!"
  969. remove 1 of player's held item from the player's inventory
  970.  
  971. on right click holding book:
  972. name of held item contains "&eExcutionner 解放の書"
  973. execute console command "pex user %player% add sk.ex"
  974. set {_location} to location of player
  975. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  976. send "&9>>> &e武器を開放しました!"
  977. remove 1 of player's held item from the player's inventory
  978.  
  979. command /glock:
  980. trigger:
  981. set {_location} to location of player
  982. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  983. send "&9>>> &a武器を選択しました!"
  984. make console execute command "/scoreboard players set %player% sub 1"
  985. wait 3 ticks
  986. make player execute command "/custom4"
  987.  
  988. command /desert:
  989. permission: sk.desert
  990. trigger:
  991. set {_location} to location of player
  992. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  993. send "&9>>> &a武器を選択しました!"
  994. make console execute command "/scoreboard players set %player% sub 2"
  995. wait 3 ticks
  996. make player execute command "/custom4"
  997.  
  998. command /m1911:
  999. permission: sk.m1911
  1000. trigger:
  1001. set {_location} to location of player
  1002. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1003. send "&9>>> &a武器を選択しました!"
  1004. make console execute command "/scoreboard players set %player% sub 3"
  1005. wait 3 ticks
  1006. make player execute command "/custom4"
  1007.  
  1008. command /mk5:
  1009. permission: sk.mk5
  1010. trigger:
  1011. set {_location} to location of player
  1012. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1013. send "&9>>> &a武器を選択しました!"
  1014. make console execute command "/scoreboard players set %player% sub 4"
  1015. wait 3 ticks
  1016. make player execute command "/custom4"
  1017.  
  1018. command /aps:
  1019. permission: sk.aps
  1020. trigger:
  1021. set {_location} to location of player
  1022. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1023. send "&9>>> &a武器を選択しました!"
  1024. make console execute command "/scoreboard players set %player% sub 5"
  1025. wait 3 ticks
  1026. make player execute command "/custom4"
  1027.  
  1028. command /python:
  1029. permission: sk.python
  1030. trigger:
  1031. set {_location} to location of player
  1032. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1033. send "&9>>> &a武器を選択しました!"
  1034. make console execute command "/scoreboard players set %player% sub 6"
  1035. wait 3 ticks
  1036. make player execute command "/custom4"
  1037.  
  1038. command /shorty:
  1039. permission: sk.shorty
  1040. trigger:
  1041. set {_location} to location of player
  1042. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1043. send "&9>>> &a武器を選択しました!"
  1044. make console execute command "/scoreboard players set %player% sub 7"
  1045. wait 3 ticks
  1046. make player execute command "/custom4"
  1047.  
  1048. command /m79:
  1049. permission: sk.m79
  1050. trigger:
  1051. set {_location} to location of player
  1052. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1053. send "&9>>> &a武器を選択しました!"
  1054. make console execute command "/scoreboard players set %player% sub 8"
  1055. wait 3 ticks
  1056. make player execute command "/custom4"
  1057.  
  1058. command /m19112:
  1059. permission: sk.m19112
  1060. trigger:
  1061. set {_location} to location of player
  1062. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1063. send "&9>>> &a武器を選択しました!"
  1064. make console execute command "/scoreboard players set %player% sub 9"
  1065. wait 3 ticks
  1066. make player execute command "/custom4"
  1067.  
  1068. command /ex:
  1069. permission: sk.ex
  1070. trigger:
  1071. set {_location} to location of player
  1072. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1073. send "&9>>> &a武器を選択しました!"
  1074. make console execute command "/scoreboard players set %player% sub 10"
  1075. wait 3 ticks
  1076. make player execute command "/custom4"
  1077.  
  1078. #shotgun
  1079.  
  1080. Options:
  1081. none: of player with black stained glass pane named "&7." to be unstealable
  1082. locked: of player with red concrete named "&c未開放" to be unstealable
  1083.  
  1084. command /custom5:
  1085. trigger:
  1086. open chest with 6 row named "武器の選択" to player
  1087. wait 1 ticks
  1088. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  1089. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  1090. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  1091. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  1092. format slot 50 of player with barrier named "&c既に選択中" to be unstealable
  1093. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  1094. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  1095. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  1096. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  1097. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  1098. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  1099. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  1100. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  1101. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1102. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  1103. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  1104. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  1105. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  1106. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  1107. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  1108. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  1109. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  1110. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  1111. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  1112. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  1113. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  1114. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1115. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  1116. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  1117. set {_loop1} to 0
  1118. loop 10 times:
  1119. format slot {_loop1} {@none}
  1120. add 1 to {_loop1}
  1121. set {_loop2} to 36
  1122. loop 10 times:
  1123. format slot {_loop2} {@none}
  1124. add 1 to {_loop2}
  1125. set {_loop3} to 28
  1126. loop 6 times:
  1127. format slot {_loop3} {@locked}
  1128. add 1 to {_loop3}
  1129. if player has permission "sk.striker":
  1130. format slot 10 of player with iron shovel named "&8Striker12" to close then run [execute player command "/striker"]
  1131. else:
  1132. format slot 10 {@locked}
  1133. if player has permission "sk.striker2":
  1134. format slot 11 of player with iron shovel named "&8Striker12 Dual" to close then run [execute player command "/striker2"]
  1135. else:
  1136. format slot 11 {@locked}
  1137. if player has permission "sk.spas":
  1138. format slot 12 of player with stick named "&8SPAS-15" to close then run [execute player command "/spas"]
  1139. else:
  1140. format slot 12 {@locked}
  1141. if player has permission "sk.m870":
  1142. format slot 13 of player with 13-disc named "&8M870" to close then run [execute player command "/m870"]
  1143. else:
  1144. format slot 13 {@locked}
  1145. if player has permission "sk.win":
  1146. format slot 14 of player with clay_ball named "&8Winchester Shotgun" to close then run [execute player command "/win"]
  1147. else:
  1148. format slot 14 {@locked}
  1149.  
  1150.  
  1151. on right click holding book:
  1152. name of held item contains "&eStriker12 解放の書"
  1153. execute console command "pex user %player% add sk.striker"
  1154. set {_location} to location of player
  1155. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1156. send "&9>>> &e武器を開放しました!"
  1157. remove 1 of player's held item from the player's inventory
  1158.  
  1159. on right click holding book:
  1160. name of held item contains "&eStriker12 Dual 解放の書"
  1161. execute console command "pex user %player% add sk.striker"
  1162. set {_location} to location of player
  1163. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1164. send "&9>>> &e武器を開放しました!"
  1165. remove 1 of player's held item from the player's inventory
  1166.  
  1167. on right click holding book:
  1168. name of held item contains "&eSPAS-15 解放の書"
  1169. execute console command "pex user %player% add sk.spas"
  1170. set {_location} to location of player
  1171. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1172. send "&9>>> &e武器を開放しました!"
  1173. remove 1 of player's held item from the player's inventory
  1174.  
  1175. on right click holding book:
  1176. name of held item contains "&eM870 解放の書"
  1177. execute console command "pex user %player% add sk.m870"
  1178. set {_location} to location of player
  1179. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1180. send "&9>>> &e武器を開放しました!"
  1181. remove 1 of player's held item from the player's inventory
  1182.  
  1183. on right click holding book:
  1184. name of held item contains "&eWinchester Shotgun 解放の書"
  1185. execute console command "pex user %player% add sk.win"
  1186. set {_location} to location of player
  1187. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1188. send "&9>>> &e武器を開放しました!"
  1189. remove 1 of player's held item from the player's inventory
  1190.  
  1191. command /striker:
  1192. permission: sk.striker
  1193. trigger:
  1194. set {_location} to location of player
  1195. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1196. send "&9>>> &a武器を選択しました!"
  1197. make console execute command "/scoreboard players set %player% main 17"
  1198. wait 3 ticks
  1199. make player execute command "/custom5"
  1200.  
  1201. command /striker2:
  1202. permission: sk.striker2
  1203. trigger:
  1204. set {_location} to location of player
  1205. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1206. send "&9>>> &a武器を選択しました!"
  1207. make console execute command "/scoreboard players set %player% main 18"
  1208. wait 3 ticks
  1209. make player execute command "/custom5"
  1210.  
  1211. command /spas:
  1212. permission: sk.spas
  1213. trigger:
  1214. set {_location} to location of player
  1215. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1216. send "&9>>> &a武器を選択しました!"
  1217. make console execute command "/scoreboard players set %player% main 19"
  1218. wait 3 ticks
  1219. make player execute command "/custom5"
  1220.  
  1221. command /m870:
  1222. permission: sk.m870
  1223. trigger:
  1224. set {_location} to location of player
  1225. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1226. send "&9>>> &a武器を選択しました!"
  1227. make console execute command "/scoreboard players set %player% main 20"
  1228. wait 3 ticks
  1229. make player execute command "/custom5"
  1230.  
  1231. command /win:
  1232. permission: sk.win
  1233. trigger:
  1234. set {_location} to location of player
  1235. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1236. send "&9>>> &a武器を選択しました!"
  1237. make console execute command "/scoreboard players set %player% main 25"
  1238. wait 3 ticks
  1239. make player execute command "/custom5"
  1240.  
  1241. #lightmachinegun
  1242.  
  1243. Options:
  1244. none: of player with black stained glass pane named "&7." to be unstealable
  1245. locked: of player with red concrete named "&c未開放" to be unstealable
  1246.  
  1247. command /custom6:
  1248. trigger:
  1249. open chest with 6 row named "武器の選択" to player
  1250. wait 1 ticks
  1251. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  1252. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  1253. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  1254. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  1255. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  1256. format slot 51 of player with barrier named "&c既に選択中" to be unstealable
  1257. format slot 52 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
  1258. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  1259. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  1260. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  1261. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  1262. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  1263. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  1264. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1265. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  1266. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  1267. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  1268. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  1269. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  1270. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  1271. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  1272. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  1273. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  1274. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  1275. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  1276. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  1277. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1278. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  1279. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  1280. set {_loop1} to 0
  1281. loop 10 times:
  1282. format slot {_loop1} {@none}
  1283. add 1 to {_loop1}
  1284. set {_loop2} to 36
  1285. loop 10 times:
  1286. format slot {_loop2} {@none}
  1287. add 1 to {_loop2}
  1288. set {_loop3} to 28
  1289. loop 6 times:
  1290. format slot {_loop3} {@locked}
  1291. add 1 to {_loop3}
  1292. if player has permission "sk.mg3":
  1293. format slot 10 of player with diamond hoe named "&8MG3" to close then run [execute player command "/mg3"]
  1294. else:
  1295. format slot 10 {@locked}
  1296. if player has permission "sk.rpk":
  1297. format slot 11 of player with gold axe named "&8RPK" to close then run [execute player command "/rpk"]
  1298. else:
  1299. format slot 11 {@locked}
  1300. if player has permission "sk.m134":
  1301. format slot 12 of player with diamond_horse_armour named "&8M134" to close then run [execute player command "/m134"]
  1302. else:
  1303. format slot 12 {@locked}
  1304. if player has permission "sk.mg34":
  1305. format slot 13 of player with feather named "&8MG34" to close then run [execute player command "/mg34"]
  1306. else:
  1307. format slot 13 {@locked}
  1308. if player has permission "sk.64":
  1309. format slot 14 of player with leather named "&864式小銃" to close then run [execute player command "/64"]
  1310. else:
  1311. format slot 14 {@locked}
  1312.  
  1313.  
  1314. on right click holding book:
  1315. name of held item contains "&eMG3 解放の書"
  1316. execute console command "pex user %player% add sk.mg3"
  1317. set {_location} to location of player
  1318. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1319. send "&9>>> &e武器を開放しました!"
  1320. remove 1 of player's held item from the player's inventory
  1321.  
  1322. on right click holding book:
  1323. name of held item contains "&eRPK 解放の書"
  1324. execute console command "pex user %player% add sk.rpk"
  1325. set {_location} to location of player
  1326. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1327. send "&9>>> &e武器を開放しました!"
  1328. remove 1 of player's held item from the player's inventory
  1329.  
  1330. on right click holding book:
  1331. name of held item contains "&eM134 解放の書"
  1332. execute console command "pex user %player% add sk.m134"
  1333. set {_location} to location of player
  1334. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1335. send "&9>>> &e武器を開放しました!"
  1336. remove 1 of player's held item from the player's inventory
  1337.  
  1338. on right click holding book:
  1339. name of held item contains "&eMG34 解放の書"
  1340. execute console command "pex user %player% add sk.mg34"
  1341. set {_location} to location of player
  1342. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1343. send "&9>>> &e武器を開放しました!"
  1344. remove 1 of player's held item from the player's inventory
  1345.  
  1346. on right click holding book:
  1347. name of held item contains "&e64式小銃 解放の書"
  1348. execute console command "pex user %player% add sk.64"
  1349. set {_location} to location of player
  1350. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1351. send "&9>>> &e武器を開放しました!"
  1352. remove 1 of player's held item from the player's inventory
  1353.  
  1354. command /mg3:
  1355. permission: sk.mg3
  1356. trigger:
  1357. set {_location} to location of player
  1358. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1359. send "&9>>> &a武器を選択しました!"
  1360. make console execute command "/scoreboard players set %player% main 21"
  1361. wait 3 ticks
  1362. make player execute command "/custom6"
  1363.  
  1364. command /rpk:
  1365. permission: sk.rpk
  1366. trigger:
  1367. set {_location} to location of player
  1368. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1369. send "&9>>> &a武器を選択しました!"
  1370. make console execute command "/scoreboard players set %player% main 22"
  1371. wait 3 ticks
  1372. make player execute command "/custom6"
  1373.  
  1374. command /m134:
  1375. permission: sk.m134
  1376. trigger:
  1377. set {_location} to location of player
  1378. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1379. send "&9>>> &a武器を選択しました!"
  1380. make console execute command "/scoreboard players set %player% main 23"
  1381. wait 3 ticks
  1382. make player execute command "/custom6"
  1383.  
  1384. command /mg34:
  1385. permission: sk.mg34
  1386. trigger:
  1387. set {_location} to location of player
  1388. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1389. send "&9>>> &a武器を選択しました!"
  1390. make console execute command "/scoreboard players set %player% main 26"
  1391. wait 3 ticks
  1392. make player execute command "/custom6"
  1393.  
  1394. command /64:
  1395. permission: sk.64
  1396. trigger:
  1397. set {_location} to location of player
  1398. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1399. send "&9>>> &a武器を選択しました!"
  1400. make console execute command "/scoreboard players set %player% main 48"
  1401. wait 3 ticks
  1402. make player execute command "/custom6"
  1403.  
  1404. #special
  1405.  
  1406. Options:
  1407. none: of player with black stained glass pane named "&7." to be unstealable
  1408. locked: of player with red concrete named "&c未開放" to be unstealable
  1409.  
  1410. command /custom7:
  1411. trigger:
  1412. open chest with 6 row named "武器の選択" to player
  1413. wait 1 ticks
  1414. format slot 46 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
  1415. format slot 47 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
  1416. format slot 48 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
  1417. format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
  1418. format slot 50 of player with purple stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
  1419. format slot 51 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
  1420. format slot 52 of player with barrier named "&c既に選択中" to be unstealable
  1421. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  1422. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  1423. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  1424. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  1425. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  1426. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  1427. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1428. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  1429. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  1430. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  1431. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  1432. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  1433. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  1434. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  1435. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  1436. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  1437. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  1438. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  1439. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  1440. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  1441. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  1442. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  1443. set {_loop1} to 0
  1444. loop 10 times:
  1445. format slot {_loop1} {@none}
  1446. add 1 to {_loop1}
  1447. set {_loop2} to 36
  1448. loop 10 times:
  1449. format slot {_loop2} {@none}
  1450. add 1 to {_loop2}
  1451. set {_loop3} to 28
  1452. loop 6 times:
  1453. format slot {_loop3} {@locked}
  1454. add 1 to {_loop3}
  1455. if player has permission "sk.hinawa":
  1456. format slot 10 of player with glowstone_dust named "&8火縄銃" to close then run [execute player command "/hinawa"]
  1457. else:
  1458. format slot 10 {@locked}
  1459. if player has permission "sk.bow":
  1460. format slot 11 of player with diamond axe named "&8X-Bow" to close then run [execute player command "/bow"]
  1461. else:
  1462. format slot 11 {@locked}
  1463. if player has permission "sk.bow2":
  1464. format slot 12 of player with diamond axe named "&8X-Bow.Mk.2" to close then run [execute player command "/bow2"]
  1465. else:
  1466. format slot 12 {@locked}
  1467. if player has permission "sk.bow3":
  1468. format slot 13 of player with diamond axe named "&8X-Bow.Mk.3" to close then run [execute player command "/bow3"]
  1469. else:
  1470. format slot 13 {@locked}
  1471. if player has permission "sk.bow4":
  1472. format slot 14 of player with diamond axe named "&8X-Bow.Mk.4" to close then run [execute player command "/bow4"]
  1473. else:
  1474. format slot 14 {@locked}
  1475. if player has permission "sk.rpg":
  1476. format slot 15 of player with gold_horse_armour named "&8RPG-7" to close then run [execute player command "/rpg"]
  1477. else:
  1478. format slot 15 {@locked}
  1479. if player has permission "sk.katana":
  1480. format slot 16 of player with gold sword named "&8日本刀" to close then run [execute player command "/katana"]
  1481. else:
  1482. format slot 16 {@locked}
  1483. if player has permission "sk.flame":
  1484. format slot 19 of player with iron_horse_armour named "&8火炎放射器" to close then run [execute player command "/flame"]
  1485. else:
  1486. format slot 19 {@locked}
  1487. if player has permission "sk.war":
  1488. format slot 20 of player with coal named "&8War Machine" to close then run [execute player command "/war"]
  1489. else:
  1490. format slot 20 {@locked}
  1491. if player has permission "sk.rail":
  1492. format slot 21 of player with diamond shovel named "&8Rail Gun" to close then run [execute player command "/rail"]
  1493. else:
  1494. format slot 21 {@locked}
  1495.  
  1496. on right click holding book:
  1497. name of held item contains "&eX-Bow 解放の書"
  1498. execute console command "pex user %player% add sk.bow"
  1499. set {_location} to location of player
  1500. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1501. send "&9>>> &e武器を開放しました!"
  1502. remove 1 of player's held item from the player's inventory
  1503.  
  1504. on right click holding book:
  1505. name of held item contains "&eMk.2.X-Bow 解放の書"
  1506. execute console command "pex user %player% add sk.bow2"
  1507. set {_location} to location of player
  1508. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1509. send "&9>>> &e武器を開放しました!"
  1510. remove 1 of player's held item from the player's inventory
  1511.  
  1512. on right click holding book:
  1513. name of held item contains "&eMk.3.X-Bow 解放の書"
  1514. execute console command "pex user %player% add sk.bow3"
  1515. set {_location} to location of player
  1516. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1517. send "&9>>> &e武器を開放しました!"
  1518. remove 1 of player's held item from the player's inventory
  1519.  
  1520. on right click holding book:
  1521. name of held item contains "&eMk.4.X-Bow 解放の書"
  1522. execute console command "pex user %player% add sk.bow4"
  1523. set {_location} to location of player
  1524. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1525. send "&9>>> &e武器を開放しました!"
  1526. remove 1 of player's held item from the player's inventory
  1527.  
  1528. on right click holding book:
  1529. name of held item contains "&e火縄銃 解放の書"
  1530. execute console command "pex user %player% add sk.hinawa"
  1531. set {_location} to location of player
  1532. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1533. send "&9>>> &e武器を開放しました!"
  1534. remove 1 of player's held item from the player's inventory
  1535.  
  1536. on right click holding book:
  1537. name of held item contains "&eRPG 解放の書"
  1538. execute console command "pex user %player% add sk.rpg"
  1539. set {_location} to location of player
  1540. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1541. send "&9>>> &e武器を開放しました!"
  1542. remove 1 of player's held item from the player's inventory
  1543.  
  1544. on right click holding book:
  1545. name of held item contains "&e火炎放射器 解放の書"
  1546. execute console command "pex user %player% add sk.flame"
  1547. set {_location} to location of player
  1548. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1549. send "&9>>> &e武器を開放しました!"
  1550. remove 1 of player's held item from the player's inventory
  1551.  
  1552. on right click holding book:
  1553. name of held item contains "&eWar Machine 解放の書"
  1554. execute console command "pex user %player% add sk.shorty"
  1555. set {_location} to location of player
  1556. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1557. send "&9>>> &e武器を開放しました!"
  1558. remove 1 of player's held item from the player's inventory
  1559.  
  1560. on right click holding book:
  1561. name of held item contains "&e日本刀 解放の書"
  1562. execute console command "pex user %player% add sk.katana"
  1563. set {_location} to location of player
  1564. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1565. send "&9>>> &e武器を開放しました!"
  1566. remove 1 of player's held item from the player's inventory
  1567.  
  1568. on right click holding book:
  1569. name of held item contains "&eRail Gun 解放の書"
  1570. execute console command "pex user %player% add sk.rail"
  1571. set {_location} to location of player
  1572. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  1573. send "&9>>> &e武器を開放しました!"
  1574. remove 1 of player's held item from the player's inventory
  1575.  
  1576. command /hinawa:
  1577. permission: sk.glock
  1578. trigger:
  1579. set {_location} to location of player
  1580. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1581. send "&9>>> &a武器を選択しました!"
  1582. make console execute command "/scoreboard players set %player% main 33"
  1583. wait 3 ticks
  1584. make player execute command "/custom7"
  1585.  
  1586. command /bow:
  1587. permission: sk.bow
  1588. trigger:
  1589. set {_location} to location of player
  1590. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1591. send "&9>>> &a武器を選択しました!"
  1592. make console execute command "/scoreboard players set %player% main 34"
  1593. wait 3 ticks
  1594. make player execute command "/custom7"
  1595.  
  1596. command /bow2:
  1597. permission: sk.bow2
  1598. trigger:
  1599. set {_location} to location of player
  1600. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1601. send "&9>>> &a武器を選択しました!"
  1602. make console execute command "/scoreboard players set %player% main 35"
  1603. wait 3 ticks
  1604. make player execute command "/custom7"
  1605.  
  1606. command /bow3:
  1607. permission: sk.bow3
  1608. trigger:
  1609. set {_location} to location of player
  1610. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1611. send "&9>>> &a武器を選択しました!"
  1612. make console execute command "/scoreboard players set %player% main 36"
  1613. wait 3 ticks
  1614. make player execute command "/custom7"
  1615.  
  1616. command /rpg:
  1617. permission: sk.rpg
  1618. trigger:
  1619. set {_location} to location of player
  1620. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1621. send "&9>>> &a武器を選択しました!"
  1622. make console execute command "/scoreboard players set %player% main 37"
  1623. wait 3 ticks
  1624. make player execute command "/custom7"
  1625.  
  1626. command /flame:
  1627. permission: sk.flame
  1628. trigger:
  1629. set {_location} to location of player
  1630. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1631. send "&9>>> &a武器を選択しました!"
  1632. make console execute command "/scoreboard players set %player% main 38"
  1633. wait 3 ticks
  1634. make player execute command "/custom7"
  1635.  
  1636. command /katana:
  1637. permission: sk.katana
  1638. trigger:
  1639. set {_location} to location of player
  1640. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1641. send "&9>>> &a武器を選択しました!"
  1642. make console execute command "/scoreboard players set %player% main 49"
  1643. wait 3 ticks
  1644. make player execute command "/custom7"
  1645.  
  1646. command /rail:
  1647. permission: sk.rail
  1648. trigger:
  1649. set {_location} to location of player
  1650. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1651. send "&9>>> &a武器を選択しました!"
  1652. make console execute command "/scoreboard players set %player% main 47"
  1653. wait 3 ticks
  1654. make player execute command "/custom7"
  1655.  
  1656. command /war:
  1657. permission: sk.war
  1658. trigger:
  1659. set {_location} to location of player
  1660. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1661. send "&9>>> &a武器を選択しました!"
  1662. make console execute command "/scoreboard players set %player% main 51"
  1663. wait 3 ticks
  1664. make player execute command "/custom7"
  1665.  
  1666. command /bow4:
  1667. permission: sk.bow4
  1668. trigger:
  1669. set {_location} to location of player
  1670. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1671. send "&9>>> &a武器を選択しました!"
  1672. make console execute command "/scoreboard players set %player% main 50"
  1673. wait 3 ticks
  1674. make player execute command "/custom7"
  1675.  
  1676. on right click holding nether star:
  1677. name of held item contains "&aゲームに参加する"
  1678. execute console command "scoreboard players set %player% join 1"
  1679. set {_location} to location of player
  1680. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1681. send "&9>> &aゲームに参加しました。"
  1682.  
  1683. on right click holding emerald:
  1684. name of held item contains "&5武器のカスタマイズ"
  1685. execute console command "custom"
  1686. set {_location} to location of player
  1687. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  1688. send "&9>> &eカスタム画面を開きます...."
Advertisement
Add Comment
Please, Sign In to add comment