Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #assault
- Options:
- none: of player with black stained glass pane named "&7." to be unstealable
- locked: of player with red concrete named "&c未開放" to be unstealable
- none2: of player with iron_bars_block named "&8." to be unstealablew
- command /custom:
- trigger:
- open chest with 6 row named "武器の選択" to player
- wait 1 ticks
- format slot 52 of player with barrier pane named "&c既に選択中" to be unstealable
- format slot 51 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
- format slot 50 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
- format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
- format slot 48 of player with lime stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
- format slot 47 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
- format slot 46 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
- format slot 17 of player with black stained glass pane named "&7." to be unstealable
- format slot 26 of player with black stained glass pane named "&7." to be unstealable
- format slot 35 of player with black stained glass pane named "&7." to be unstealable
- format slot 18 of player with black stained glass pane named "&7." to be unstealable
- format slot 27 of player with black stained glass pane named "&7." to be unstealable
- format slot 53 of player with black stained glass pane named "&7." to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 10 of player with red concrete named "&c未開放" to be unstealable
- format slot 11 of player with red concrete named "&c未開放" to be unstealable
- format slot 12 of player with red concrete named "&c未開放" to be unstealable
- format slot 13 of player with red concrete named "&c未開放" to be unstealable
- format slot 14 of player with red concrete named "&c未開放" to be unstealable
- format slot 15 of player with red concrete named "&c未開放" to be unstealable
- format slot 16 of player with red concrete named "&c未開放" to be unstealable
- format slot 19 of player with red concrete named "&c未開放" to be unstealable
- format slot 20 of player with red concrete named "&c未開放" to be unstealable
- format slot 21 of player with red concrete named "&c未開放" to be unstealable
- format slot 22 of player with red concrete named "&c未開放" to be unstealable
- format slot 23 of player with red concrete named "&c未開放" to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 25 of player with red concrete named "&c未開放" to be unstealable
- format slot 24 of player with red concrete named "&c未開放" to be unstealable
- set {_loop1} to 0
- loop 10 times:
- format slot {_loop1} {@none}
- add 1 to {_loop1}
- set {_loop2} to 36
- loop 10 times:
- format slot {_loop2} {@none}
- add 1 to {_loop2}
- set {_loop3} to 28
- loop 6 times:
- format slot {_loop3} {@locked}
- add 1 to {_loop3}
- if player has permission "sk.ak47":
- format slot 10 of player with gold shovel named "&8AK-47" to close then run [execute player command "/ak"]
- else:
- format slot 10 {@locked}
- if player has permission "sk.m16":
- format slot 11 of player with wood axe named "&8M16" to close then run [execute player command "/m16"]
- else:
- format slot 11 {@locked}
- if player has permission "sk.ots":
- format slot 12 of player with 11-disc named "&8Ots-14" to close then run [execute player command "/ots"]
- else:
- format slot 12 {@locked}
- if player has permission "sk.galil":
- format slot 13 of player with prismarine shard named "&8Galil" to close then run [execute player command "/galil"]
- else:
- format slot 13 {@locked}
- if player has permission "sk.aug":
- format slot 14 of player with rabbit hide named "&8Aug" to close then run [execute player command "/aug"]
- else:
- format slot 14 {@locked}
- if player has permission "sk.aks":
- format slot 15 of player with wait_music_disc named "&8AKS-74U" to close then run [execute player command "/aks"]
- else:
- format slot 15 {@locked}
- if player has permission "sk.m1":
- format slot 16 of player with mellohi_music_disc named "&8M1-Garand" to close then run [execute player command "/m1"]
- else:
- format slot 16 {@locked}
- if player has permission "sk.camrs":
- format slot 19 of player with stone axe named "&8CAMRS" to close then run [execute player command "/camrs"]
- else:
- format slot 19 {@locked}
- if player has permission "sk.scar":
- format slot 20 of player with wheat named "&8SCAR-L" to close then run [execute player command "/scar"]
- else:
- format slot 20 {@locked}
- if player has permission "sk.bum":
- format slot 21 of player with mall_music_disc named "&8Bumblebee" to close then run [execute player command "/bum"]
- else:
- format slot 21 {@locked}
- if player has permission "sk.sfw":
- format slot 22 of player with wood pickaxe named "&8C8-SFW" to close then run [execute player command "/sfw"]
- else:
- format slot 22 {@locked}
- if player has permission "sk.x95":
- format slot 23 of player with string named "&8X95" to close then run [execute player command "/x95"]
- else:
- format slot 23 {@locked}
- on right click holding book:
- name of held item contains "&eAK-47 解放の書"
- execute console command "pex user %player% add sk.ak47"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eM16 解放の書"
- execute console command "pex user %player% add sk.m16"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eOts-14 解放の書"
- execute console command "pex user %player% add sk.ots"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eGalil 解放の書"
- execute console command "pex user %player% add sk.galil"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eAug 解放の書"
- execute console command "pex user %player% add sk.aug"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eAKS-74U 解放の書"
- execute console command "pex user %player% add sk.aks"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eM1-Garand 解放の書"
- execute console command "pex user %player% add sk.m1"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eCAMRS 解放の書"
- execute console command "pex user %player% add sk.camrs"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eSCAR-L 解放の書"
- execute console command "pex user %player% add sk.scar"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eBumblebee 解放の書"
- execute console command "pex user %player% add sk.bum"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eC8-SFW 解放の書"
- execute console command "pex user %player% add sk.sfw"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eX95 解放の書"
- execute console command "pex user %player% add sk.x95"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- command /ak:
- permission: sk.ak47
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 7"
- wait 3 ticks
- make player execute command "/custom"
- command /m16:
- permission: sk.m16
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 9"
- wait 3 ticks
- make player execute command "/custom"
- command /ots:
- permission: sk.ots
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 8"
- wait 3 ticks
- make player execute command "/custom"
- command /galil:
- permission: sk.galil
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 10"
- wait 3 ticks
- make player execute command "/custom"
- command /aug:
- permission: sk.aug
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 11"
- wait 3 ticks
- make player execute command "/custom"
- command /aks:
- permission: sk.aks
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 12"
- wait 3 ticks
- make player execute command "/custom"
- command /m1:
- permission: sk.m1
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 27"
- wait 3 ticks
- make player execute command "/custom"
- command /camrs:
- permission: sk.camrs
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 29"
- wait 3 ticks
- make player execute command "/custom"
- command /scar:
- permission: sk.scar
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 30"
- wait 3 ticks
- make player execute command "/custom"
- command /bum:
- permission: sk.bum
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 39"
- wait 3 ticks
- make player execute command "/custom"
- command /sfw:
- permission: sk.sfw
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 41"
- wait 3 ticks
- make player execute command "/custom"
- command /x95:
- permission: sk.x95
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 42"
- wait 3 ticks
- make player execute command "/custom"
- command /assault:
- trigger:
- set {_location} to location of player
- play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
- wait 3 ticks
- make player execute command "/custom"
- command /sniper:
- trigger:
- set {_location} to location of player
- play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
- wait 3 ticks
- make player execute command "/custom2"
- command /sub:
- trigger:
- set {_location} to location of player
- play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
- wait 3 ticks
- make player execute command "/custom3"
- command /hand:
- trigger:
- set {_location} to location of player
- play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
- wait 3 ticks
- make player execute command "/custom4"
- command /shotgun:
- trigger:
- set {_location} to location of player
- play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
- wait 3 ticks
- make player execute command "/custom5"
- command /light:
- trigger:
- set {_location} to location of player
- play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
- wait 3 ticks
- make player execute command "/custom6"
- command /sp:
- trigger:
- set {_location} to location of player
- play sound "BLOCK_CHEST_OPEN" with volume 1 with pitch 1 at {_location}
- wait 3 ticks
- make player execute command "/custom7"
- #sniper
- Options:
- none: of player with black stained glass pane named "&7." to be unstealable
- locked: of player with red concrete named "&c未開放" to be unstealable
- command /custom2:
- trigger:
- open chest with 6 row named "武器の選択" to player
- wait 1 ticks
- format slot 52 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
- format slot 51 of player with barrier pane named "&c既に選択中" to be unstealable
- format slot 50 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
- format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
- format slot 48 of player with lime stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
- format slot 47 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
- format slot 46 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
- format slot 17 of player with black stained glass pane named "&7." to be unstealable
- format slot 26 of player with black stained glass pane named "&7." to be unstealable
- format slot 35 of player with black stained glass pane named "&7." to be unstealable
- format slot 18 of player with black stained glass pane named "&7." to be unstealable
- format slot 27 of player with black stained glass pane named "&7." to be unstealable
- format slot 53 of player with black stained glass pane named "&7." to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 10 of player with red concrete named "&c未開放" to be unstealable
- format slot 11 of player with red concrete named "&c未開放" to be unstealable
- format slot 12 of player with red concrete named "&c未開放" to be unstealable
- format slot 13 of player with red concrete named "&c未開放" to be unstealable
- format slot 14 of player with red concrete named "&c未開放" to be unstealable
- format slot 15 of player with red concrete named "&c未開放" to be unstealable
- format slot 16 of player with red concrete named "&c未開放" to be unstealable
- format slot 19 of player with red concrete named "&c未開放" to be unstealable
- format slot 20 of player with red concrete named "&c未開放" to be unstealable
- format slot 21 of player with red concrete named "&c未開放" to be unstealable
- format slot 22 of player with red concrete named "&c未開放" to be unstealable
- format slot 23 of player with red concrete named "&c未開放" to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 25 of player with red concrete named "&c未開放" to be unstealable
- format slot 24 of player with red concrete named "&c未開放" to be unstealable
- set {_loop5} to 0
- loop 10 times:
- format slot {_loop5} {@none}
- add 1 to {_loop5}
- set {_loop6} to 36
- loop 10 times:
- format slot {_loop6} {@none}
- add 1 to {_loop6}
- set {_loop7} to 28
- loop 6 times:
- format slot {_loop7} {@locked}
- add 1 to {_loop7}
- if player has permission "sk.m40a3":
- format slot 10 of player with wood shovel named "&8M40A3" to close then run [execute player command "/m40a3"]
- else:
- format slot 10 {@locked}
- if player has permission "sk.barret":
- format slot 11 of player with diamond pickaxe named "&8Barret-M82A1" to close then run [execute player command "/barret"]
- else:
- format slot 11 {@locked}
- if player has permission "sk.wa2000":
- format slot 12 of player with gold pickaxe named "&8WA2000" to close then run [execute player command "/wa2000"]
- else:
- format slot 12 {@locked}
- if player has permission "sk.dsr":
- format slot 13 of player with blocks_music_disc named "&8DSR-1" to close then run [execute player command "/dsr"]
- else:
- format slot 13 {@locked}
- if player has permission "sk.svd":
- format slot 14 of player with chirp_music_disc named "&8SVD" to close then run [execute player command "/svd"]
- else:
- format slot 14 {@locked}
- if player has permission "sk.vss":
- format slot 15 of player with stone shovel named "&8VSS" to close then run [execute player command "/vss"]
- else:
- format slot 15 {@locked}
- if player has permission "barret2":
- format slot 16 of player with iron pickaxe named "&8Barret-M82" to close then run [execute player command "/barret2"]
- else:
- format slot 16 {@locked}
- if player has permission "sk.mosin":
- format slot 19 of player with popped_chorus_fruit named "&8Mosin-Nagant" to close then run [execute player command "/mosin"]
- else:
- format slot 19 {@locked}
- on right click holding book:
- name of held item contains "&eM40A3 解放の書"
- execute console command "pex user %player% add sk.m40a3"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eBarret-M82A1 解放の書"
- execute console command "pex user %player% add sk.barret"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eWA2000 解放の書"
- execute console command "pex user %player% add sk.wa2000"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eDSR-1 解放の書"
- execute console command "pex user %player% add sk.dsr"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eSVD 解放の書"
- execute console command "pex user %player% add sk.svd"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eVSS 解放の書"
- execute console command "pex user %player% add sk.vss"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eBarret M82 解放の書"
- execute console command "pex user %player% add sk.barret2"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eMosin-Nagant 解放の書"
- execute console command "pex user %player% add sk.mosin"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- command /m40a3:
- permission: sk.m40a3
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 6"
- wait 3 ticks
- make player execute command "/custom2"
- command /barret:
- permission: sk.barret
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 2"
- wait 3 ticks
- make player execute command "/custom2"
- command /wa2000:
- permission: sk.wa2000
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 3"
- wait 3 ticks
- make player execute command "/custom2"
- command /dsr:
- permission: sk.dsr
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 4"
- wait 3 ticks
- make player execute command "/custom2"
- command /svd:
- permission: sk.svd
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 5"
- wait 3 ticks
- make player execute command "/custom2"
- command /barret2:
- permission: sk.barret2
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 28"
- wait 3 ticks
- make player execute command "/custom2"
- command /mosin:
- permission: sk.mosin
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 43"
- wait 3 ticks
- make player execute command "/custom2"
- command /vss:
- permission: sk.vss
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 1"
- wait 3 ticks
- make player execute command "/custom2"
- #submachinegun
- Options:
- none: of player with black stained glass pane named "&7." to be unstealable
- locked: of player with red concrete named "&c未開放" to be unstealable
- command /custom3:
- trigger:
- open chest with 6 row named "武器の選択" to player
- wait 1 ticks
- format slot 52 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
- format slot 51 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
- format slot 50 of player with barrier pane named "&c既に選択中" to be unstealable
- format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
- format slot 48 of player with lime stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
- format slot 47 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
- format slot 46 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
- format slot 17 of player with black stained glass pane named "&7." to be unstealable
- format slot 26 of player with black stained glass pane named "&7." to be unstealable
- format slot 35 of player with black stained glass pane named "&7." to be unstealable
- format slot 18 of player with black stained glass pane named "&7." to be unstealable
- format slot 27 of player with black stained glass pane named "&7." to be unstealable
- format slot 53 of player with black stained glass pane named "&7." to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 10 of player with red concrete named "&c未開放" to be unstealable
- format slot 11 of player with red concrete named "&c未開放" to be unstealable
- format slot 12 of player with red concrete named "&c未開放" to be unstealable
- format slot 13 of player with red concrete named "&c未開放" to be unstealable
- format slot 14 of player with red concrete named "&c未開放" to be unstealable
- format slot 15 of player with red concrete named "&c未開放" to be unstealable
- format slot 16 of player with red concrete named "&c未開放" to be unstealable
- format slot 19 of player with red concrete named "&c未開放" to be unstealable
- format slot 20 of player with red concrete named "&c未開放" to be unstealable
- format slot 21 of player with red concrete named "&c未開放" to be unstealable
- format slot 22 of player with red concrete named "&c未開放" to be unstealable
- format slot 23 of player with red concrete named "&c未開放" to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 25 of player with red concrete named "&c未開放" to be unstealable
- format slot 24 of player with red concrete named "&c未開放" to be unstealable
- set {_loop1} to 0
- loop 10 times:
- format slot {_loop1} {@none}
- add 1 to {_loop1}
- set {_loop2} to 36
- loop 10 times:
- format slot {_loop2} {@none}
- add 1 to {_loop2}
- set {_loop3} to 28
- loop 6 times:
- format slot {_loop3} {@locked}
- add 1 to {_loop3}
- if player has permission "sk.mp7":
- format slot 10 of player with prismarine crystals named "&8MP7" to close then run [execute player command "/mp7"]
- else:
- format slot 10 {@locked}
- if player has permission "sk.mp5":
- format slot 11 of player with nether_quartz_item named "&8MP5" to close then run [execute player command "/mp5"]
- else:
- format slot 11 {@locked}
- if player has permission "sk.vector":
- format slot 12 of player with clay_bricks_item named "&8Kriss-Vector" to close then run [execute player command "/vector"]
- else:
- format slot 12 {@locked}
- if player has permission "sk.mac":
- format slot 13 of player with nether_brick_item named "&8MAC-10" to close then run [execute player command "/mac"]
- else:
- format slot 13 {@locked}
- if player has permission "sk.ppsh":
- format slot 14 of player with stal_music_disc named "&8PPSH-41" to close then run [execute player command "/ppsh"]
- else:
- format slot 14 {@locked}
- if player has permission "sk.uzi":
- format slot 15 of player with gunpowder named "&8Dual-UZI" to close then run [execute player command "/uzi"]
- else:
- format slot 15 {@locked}
- if player has permission "sk.p90":
- format slot 16 of player with far_music_disc named "&8P90" to close then run [execute player command "/p90"]
- else:
- format slot 16 {@locked}
- if player has permission "sk.bizon":
- format slot 19 of player with ward_music_disc named "&8PP-19 Bizon" to close then run [execute player command "/bizon"]
- else:
- format slot 19 {@locked}
- on right click holding book:
- name of held item contains "&eMP7 解放の書"
- execute console command "pex user %player% add sk.mp7"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eMP5 解放の書"
- execute console command "pex user %player% add sk.mp5"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eKriss-Vector 解放の書"
- execute console command "pex user %player% add sk.vector"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eMAC-10 解放の書"
- execute console command "pex user %player% add sk.mac"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&ePPSH-41 解放の書"
- execute console command "pex user %player% add sk.ppsh"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eDual-UZI 解放の書"
- execute console command "pex user %player% add sk.uzi"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eP90 解放の書"
- execute console command "pex user %player% add sk.p90"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&ePP-19 Bizon 解放の書"
- execute console command "pex user %player% add sk.bizon"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- command /mp7:
- permission: sk.mp7
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 13"
- wait 3 ticks
- make player execute command "/custom3"
- command /mp5:
- permission: sk.mp5
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 14"
- wait 3 ticks
- make player execute command "/custom3"
- command /vector:
- permission: sk.vector
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 15"
- wait 3 ticks
- make player execute command "/custom3"
- command /mac:
- permission: sk.mac
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 16"
- wait 3 ticks
- make player execute command "/custom3"
- command /ppsh:
- permission: sk.ppsh
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 24"
- wait 3 ticks
- make player execute command "/custom3"
- command /uzi:
- permission: sk.uzi
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 31"
- wait 3 ticks
- make player execute command "/custom3"
- command /p90:
- permission: sk.p90
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 40"
- wait 3 ticks
- make player execute command "/custom3"
- command /bizon:
- permission: sk.bizon
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 29"
- wait 3 ticks
- make player execute command "/custom3"
- #handgun
- Options:
- none: of player with black stained glass pane named "&7." to be unstealable
- locked: of player with red concrete named "&c未開放" to be unstealable
- command /custom4:
- trigger:
- open chest with 6 row named "武器の選択" to player
- wait 1 ticks
- format slot 52 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
- format slot 51 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
- format slot 50 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
- format slot 49 of player with barrier pane named "&c既に選択中" to be unstealable
- format slot 48 of player with lime stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
- format slot 47 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
- format slot 46 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
- format slot 17 of player with black stained glass pane named "&7." to be unstealable
- format slot 26 of player with black stained glass pane named "&7." to be unstealable
- format slot 35 of player with black stained glass pane named "&7." to be unstealable
- format slot 18 of player with black stained glass pane named "&7." to be unstealable
- format slot 27 of player with black stained glass pane named "&7." to be unstealable
- format slot 53 of player with black stained glass pane named "&7." to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 10 of player with red concrete named "&c未開放" to be unstealable
- format slot 11 of player with red concrete named "&c未開放" to be unstealable
- format slot 12 of player with red concrete named "&c未開放" to be unstealable
- format slot 13 of player with red concrete named "&c未開放" to be unstealable
- format slot 14 of player with red concrete named "&c未開放" to be unstealable
- format slot 15 of player with red concrete named "&c未開放" to be unstealable
- format slot 16 of player with red concrete named "&c未開放" to be unstealable
- format slot 19 of player with red concrete named "&c未開放" to be unstealable
- format slot 20 of player with red concrete named "&c未開放" to be unstealable
- format slot 21 of player with red concrete named "&c未開放" to be unstealable
- format slot 22 of player with red concrete named "&c未開放" to be unstealable
- format slot 23 of player with red concrete named "&c未開放" to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 25 of player with red concrete named "&c未開放" to be unstealable
- format slot 24 of player with red concrete named "&c未開放" to be unstealable
- set {_loop1} to 0
- loop 10 times:
- format slot {_loop1} {@none}
- add 1 to {_loop1}
- set {_loop2} to 36
- loop 10 times:
- format slot {_loop2} {@none}
- add 1 to {_loop2}
- set {_loop3} to 28
- loop 6 times:
- format slot {_loop3} {@locked}
- add 1 to {_loop3}
- if player has permission "sk.glock":
- format slot 10 of player with wood hoe named "&8Glock17" to close then run [execute player command "/glock"]
- else:
- format slot 10 {@locked}
- if player has permission "sk.desert":
- format slot 11 of player with gold hoe named "&8Desert Eagle" to close then run [execute player command "/desert"]
- else:
- format slot 11 {@locked}
- if player has permission "sk.m1911":
- format slot 12 of player with iron hoe named "&8M1911" to close then run [execute player command "/m1911"]
- else:
- format slot 12 {@locked}
- if player has permission "sk.mk5":
- format slot 13 of player with stone hoe named "&8MK5" to close then run [execute player command "/mk5"]
- else:
- format slot 13 {@locked}
- if player has permission "sk.aps":
- format slot 14 of player with sugar_cane_item named "&8Stechkin APS" to close then run [execute player command "/aps"]
- else:
- format slot 14 {@locked}
- if player has permission "sk.python":
- format slot 15 of player with cat_music_disc named "&8Python" to close then run [execute player command "/python"]
- else:
- format slot 15 {@locked}
- if player has permission "sk.shorty":
- format slot 16 of player with strad_music_disc named "&8Super Shorty" to close then run [execute player command "/shorty"]
- else:
- format slot 16 {@locked}
- if player has permission "sk.m79":
- format slot 19 of player with iron axe named "&8M79 Granado Launcher" to close then run [execute player command "/m79"]
- else:
- format slot 19 {@locked}
- if player has permission "sk.m19112":
- format slot 20 of player with iron hoe named "&8M1911 Dual" to close then run [execute player command "/m19112"]
- else:
- format slot 20 {@locked}
- if player has permission "sk.ex":
- format slot 21 of player with shears named "&8Excutionner" to close then run [execute player command "/ex"]
- else:
- format slot 21 {@locked}
- on right click holding book:
- name of held item contains "&eGlock17 解放の書"
- execute console command "pex user %player% add sk.glock"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eDesert Eagle 解放の書"
- execute console command "pex user %player% add sk.desert"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eM1911 解放の書"
- execute console command "pex user %player% add sk.m1911"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eMK5 解放の書"
- execute console command "pex user %player% add sk.mk5"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eStechkin APS 解放の書"
- execute console command "pex user %player% add sk.aps"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&ePython 解放の書"
- execute console command "pex user %player% add sk.python"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eM79 Granado Launcher 解放の書"
- execute console command "pex user %player% add sk.m79"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eSuper Shorty 解放の書"
- execute console command "pex user %player% add sk.shorty"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eM1911 Dual 解放の書"
- execute console command "pex user %player% add sk.m19112"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eExcutionner 解放の書"
- execute console command "pex user %player% add sk.ex"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- command /glock:
- permission: sk.glock
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% sub 1"
- wait 3 ticks
- make player execute command "/custom4"
- command /desert:
- permission: sk.desert
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% sub 2"
- wait 3 ticks
- make player execute command "/custom4"
- command /m1911:
- permission: sk.m1911
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% sub 3"
- wait 3 ticks
- make player execute command "/custom4"
- command /mk5:
- permission: sk.mk5
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% sub 4"
- wait 3 ticks
- make player execute command "/custom4"
- command /aps:
- permission: sk.aps
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% sub 5"
- wait 3 ticks
- make player execute command "/custom4"
- command /python:
- permission: sk.python
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% sub 6"
- wait 3 ticks
- make player execute command "/custom4"
- command /shorty:
- permission: sk.shorty
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% sub 7"
- wait 3 ticks
- make player execute command "/custom4"
- command /m79:
- permission: sk.m79
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% sub 8"
- wait 3 ticks
- make player execute command "/custom4"
- command /m19112:
- permission: sk.m19112
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% sub 9"
- wait 3 ticks
- make player execute command "/custom4"
- command /ex:
- permission: sk.ex
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% sub 10"
- wait 3 ticks
- make player execute command "/custom4"
- #shotgun
- Options:
- none: of player with black stained glass pane named "&7." to be unstealable
- locked: of player with red concrete named "&c未開放" to be unstealable
- command /custom5:
- trigger:
- open chest with 6 row named "武器の選択" to player
- wait 1 ticks
- format slot 52 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
- format slot 51 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
- format slot 50 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
- format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
- format slot 48 of player with barrier pane named "&c既に選択中" to be unstealable
- format slot 47 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
- format slot 46 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
- format slot 17 of player with black stained glass pane named "&7." to be unstealable
- format slot 26 of player with black stained glass pane named "&7." to be unstealable
- format slot 35 of player with black stained glass pane named "&7." to be unstealable
- format slot 18 of player with black stained glass pane named "&7." to be unstealable
- format slot 27 of player with black stained glass pane named "&7." to be unstealable
- format slot 53 of player with black stained glass pane named "&7." to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 10 of player with red concrete named "&c未開放" to be unstealable
- format slot 11 of player with red concrete named "&c未開放" to be unstealable
- format slot 12 of player with red concrete named "&c未開放" to be unstealable
- format slot 13 of player with red concrete named "&c未開放" to be unstealable
- format slot 14 of player with red concrete named "&c未開放" to be unstealable
- format slot 15 of player with red concrete named "&c未開放" to be unstealable
- format slot 16 of player with red concrete named "&c未開放" to be unstealable
- format slot 19 of player with red concrete named "&c未開放" to be unstealable
- format slot 20 of player with red concrete named "&c未開放" to be unstealable
- format slot 21 of player with red concrete named "&c未開放" to be unstealable
- format slot 22 of player with red concrete named "&c未開放" to be unstealable
- format slot 23 of player with red concrete named "&c未開放" to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 25 of player with red concrete named "&c未開放" to be unstealable
- format slot 24 of player with red concrete named "&c未開放" to be unstealable
- set {_loop1} to 0
- loop 10 times:
- format slot {_loop1} {@none}
- add 1 to {_loop1}
- set {_loop2} to 36
- loop 10 times:
- format slot {_loop2} {@none}
- add 1 to {_loop2}
- set {_loop3} to 28
- loop 6 times:
- format slot {_loop3} {@locked}
- add 1 to {_loop3}
- if player has permission "sk.striker":
- format slot 10 of player with iron shovel named "&8Striker12" to close then run [execute player command "/striker"]
- else:
- format slot 10 {@locked}
- if player has permission "sk.striker2":
- format slot 11 of player with iron shovel named "&8Striker12 Dual" to close then run [execute player command "/striker2"]
- else:
- format slot 11 {@locked}
- if player has permission "sk.spas":
- format slot 12 of player with stick named "&8SPAS-15" to close then run [execute player command "/spas"]
- else:
- format slot 12 {@locked}
- if player has permission "sk.m870":
- format slot 13 of player with 13-disc named "&8M870" to close then run [execute player command "/m870"]
- else:
- format slot 13 {@locked}
- if player has permission "sk.win":
- format slot 14 of player with clay_ball named "&8Winchester Shotgun" to close then run [execute player command "/win"]
- else:
- format slot 14 {@locked}
- on right click holding book:
- name of held item contains "&eStriker12 解放の書"
- execute console command "pex user %player% add sk.striker"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eStriker12 Dual 解放の書"
- execute console command "pex user %player% add sk.striker"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eSPAS-15 解放の書"
- execute console command "pex user %player% add sk.spas"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eM870 解放の書"
- execute console command "pex user %player% add sk.m870"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eWinchester Shotgun 解放の書"
- execute console command "pex user %player% add sk.win"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- command /striker:
- permission: sk.striker
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 17"
- wait 3 ticks
- make player execute command "/custom5"
- command /striker2:
- permission: sk.striker2
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 18"
- wait 3 ticks
- make player execute command "/custom5"
- command /spas:
- permission: sk.spas
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 19"
- wait 3 ticks
- make player execute command "/custom5"
- command /m870:
- permission: sk.m870
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 20"
- wait 3 ticks
- make player execute command "/custom5"
- command /win:
- permission: sk.win
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 25"
- wait 3 ticks
- make player execute command "/custom5"
- #lightmachinegun
- Options:
- none: of player with black stained glass pane named "&7." to be unstealable
- locked: of player with red concrete named "&c未開放" to be unstealable
- command /custom6:
- trigger:
- open chest with 6 row named "武器の選択" to player
- wait 1 ticks
- format slot 52 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
- format slot 51 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
- format slot 50 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
- format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
- format slot 48 of player with lime stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
- format slot 47 of player with barrier pane named "&c既に選択中" to be unstealable
- format slot 46 of player with pink stained glass pane named "&6SpecialWeapon(MainWeapon)" to close then run [execute player command "/sp"]
- format slot 17 of player with black stained glass pane named "&7." to be unstealable
- format slot 26 of player with black stained glass pane named "&7." to be unstealable
- format slot 35 of player with black stained glass pane named "&7." to be unstealable
- format slot 18 of player with black stained glass pane named "&7." to be unstealable
- format slot 27 of player with black stained glass pane named "&7." to be unstealable
- format slot 53 of player with black stained glass pane named "&7." to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 10 of player with red concrete named "&c未開放" to be unstealable
- format slot 11 of player with red concrete named "&c未開放" to be unstealable
- format slot 12 of player with red concrete named "&c未開放" to be unstealable
- format slot 13 of player with red concrete named "&c未開放" to be unstealable
- format slot 14 of player with red concrete named "&c未開放" to be unstealable
- format slot 15 of player with red concrete named "&c未開放" to be unstealable
- format slot 16 of player with red concrete named "&c未開放" to be unstealable
- format slot 19 of player with red concrete named "&c未開放" to be unstealable
- format slot 20 of player with red concrete named "&c未開放" to be unstealable
- format slot 21 of player with red concrete named "&c未開放" to be unstealable
- format slot 22 of player with red concrete named "&c未開放" to be unstealable
- format slot 23 of player with red concrete named "&c未開放" to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 25 of player with red concrete named "&c未開放" to be unstealable
- format slot 24 of player with red concrete named "&c未開放" to be unstealable
- set {_loop1} to 0
- loop 10 times:
- format slot {_loop1} {@none}
- add 1 to {_loop1}
- set {_loop2} to 36
- loop 10 times:
- format slot {_loop2} {@none}
- add 1 to {_loop2}
- set {_loop3} to 28
- loop 6 times:
- format slot {_loop3} {@locked}
- add 1 to {_loop3}
- if player has permission "sk.mg3":
- format slot 10 of player with diamond hoe named "&8MG3" to close then run [execute player command "/mg3"]
- else:
- format slot 10 {@locked}
- if player has permission "sk.rpk":
- format slot 11 of player with gold axe named "&8RPK" to close then run [execute player command "/rpk"]
- else:
- format slot 11 {@locked}
- if player has permission "sk.m134":
- format slot 12 of player with diamond_horse_armour named "&8M134" to close then run [execute player command "/m134"]
- else:
- format slot 12 {@locked}
- if player has permission "sk.mg34":
- format slot 13 of player with feather named "&8MG34" to close then run [execute player command "/mg34"]
- else:
- format slot 13 {@locked}
- if player has permission "sk.64":
- format slot 14 of player with leather named "&864式小銃" to close then run [execute player command "/64"]
- else:
- format slot 14 {@locked}
- on right click holding book:
- name of held item contains "&eMG3 解放の書"
- execute console command "pex user %player% add sk.mg3"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eRPK 解放の書"
- execute console command "pex user %player% add sk.rpk"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eM134 解放の書"
- execute console command "pex user %player% add sk.m134"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eMG34 解放の書"
- execute console command "pex user %player% add sk.mg34"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&e64式小銃 解放の書"
- execute console command "pex user %player% add sk.64"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- command /mg3:
- permission: sk.mg3
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 21"
- wait 3 ticks
- make player execute command "/custom6"
- command /rpk:
- permission: sk.rpk
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 22"
- wait 3 ticks
- make player execute command "/custom6"
- command /m134:
- permission: sk.m134
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 23"
- wait 3 ticks
- make player execute command "/custom6"
- command /mg34:
- permission: sk.mg34
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 26"
- wait 3 ticks
- make player execute command "/custom6"
- command /64:
- permission: sk.64
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 48"
- wait 3 ticks
- make player execute command "/custom6"
- #special
- Options:
- none: of player with black stained glass pane named "&7." to be unstealable
- locked: of player with red concrete named "&c未開放" to be unstealable
- command /custom7:
- trigger:
- open chest with 6 row named "武器の選択" to player
- wait 1 ticks
- format slot 52 of player with red stained glass pane named "&6AssaultRifle(MainWeapon)" to close then run [execute player command "/assault"]
- format slot 51 of player with blue stained glass pane named "&6SniperRifle(MainWeapon)" to close then run [execute player command "/sniper"]
- format slot 50 of player with green stained glass pane named "&6SubMachineGun(MainWeapon)" to close then run [execute player command "/sub"]
- format slot 49 of player with yellow stained glass pane named "&6HandGun(SecondWeapon)" to close then run [execute player command "/hand"]
- format slot 48 of player with lime stained glass pane named "&6ShotGun(MainWeapon)" to close then run [execute player command "/shotgun"]
- format slot 47 of player with orange stained glass pane named "&6LightMachineGun(MainWeapon)" to close then run [execute player command "/light"]
- format slot 46 of player with barrier pane named "&c既に選択中" to be unstealable
- format slot 17 of player with black stained glass pane named "&7." to be unstealable
- format slot 26 of player with black stained glass pane named "&7." to be unstealable
- format slot 35 of player with black stained glass pane named "&7." to be unstealable
- format slot 18 of player with black stained glass pane named "&7." to be unstealable
- format slot 27 of player with black stained glass pane named "&7." to be unstealable
- format slot 53 of player with black stained glass pane named "&7." to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 10 of player with red concrete named "&c未開放" to be unstealable
- format slot 11 of player with red concrete named "&c未開放" to be unstealable
- format slot 12 of player with red concrete named "&c未開放" to be unstealable
- format slot 13 of player with red concrete named "&c未開放" to be unstealable
- format slot 14 of player with red concrete named "&c未開放" to be unstealable
- format slot 15 of player with red concrete named "&c未開放" to be unstealable
- format slot 16 of player with red concrete named "&c未開放" to be unstealable
- format slot 19 of player with red concrete named "&c未開放" to be unstealable
- format slot 20 of player with red concrete named "&c未開放" to be unstealable
- format slot 21 of player with red concrete named "&c未開放" to be unstealable
- format slot 22 of player with red concrete named "&c未開放" to be unstealable
- format slot 23 of player with red concrete named "&c未開放" to be unstealable
- format slot 34 of player with red concrete named "&c未開放" to be unstealable
- format slot 25 of player with red concrete named "&c未開放" to be unstealable
- format slot 24 of player with red concrete named "&c未開放" to be unstealable
- set {_loop1} to 0
- loop 10 times:
- format slot {_loop1} {@none}
- add 1 to {_loop1}
- set {_loop2} to 36
- loop 10 times:
- format slot {_loop2} {@none}
- add 1 to {_loop2}
- set {_loop3} to 28
- loop 6 times:
- format slot {_loop3} {@locked}
- add 1 to {_loop3}
- if player has permission "sk.hinawa":
- format slot 10 of player with glowstone_dust named "&8火縄銃" to close then run [execute player command "/hinawa"]
- else:
- format slot 10 {@locked}
- if player has permission "sk.bow":
- format slot 11 of player with diamond axe named "&8X-Bow" to close then run [execute player command "/bow"]
- else:
- format slot 11 {@locked}
- if player has permission "sk.bow2":
- format slot 12 of player with diamond axe named "&8X-Bow.Mk.2" to close then run [execute player command "/bow2"]
- else:
- format slot 12 {@locked}
- if player has permission "sk.bow3":
- format slot 13 of player with diamond axe named "&8X-Bow.Mk.3" to close then run [execute player command "/bow3"]
- else:
- format slot 13 {@locked}
- if player has permission "sk.bow4":
- format slot 14 of player with diamond axe named "&8X-Bow.Mk.4" to close then run [execute player command "/bow4"]
- else:
- format slot 14 {@locked}/
- if player has permission "sk.rpg":
- format slot 15 of player with gold_horse_armour named "&8RPG-7" to close then run [execute player command "/rpg"]
- else:
- format slot 15 {@locked}
- if player has permission "sk.katana":
- format slot 16 of player with gold sword named "&8日本刀" to close then run [execute player command "/katana"]
- else:
- format slot 16 {@locked}
- if player has permission "sk.flame":
- format slot 19 of player with iron_horse_armour named "&8火炎放射器" to close then run [execute player command "/flame"]
- else:
- format slot 19 {@locked}
- if player has permission "sk.war":
- format slot 20 of player with coal named "&8War Machine" to close then run [execute player command "/war"]
- else:
- format slot 20 {@locked}
- if player has permission "sk.rail":
- format slot 21 of player with diamond shovel named "&8Rail Gun" to close then run [execute player command "/rail"]
- else:
- format slot 21 {@locked}
- on right click holding book:
- name of held item contains "&eX-Bow 解放の書"
- execute console command "pex user %player% add sk.bow"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eMk.2.X-Bow 解放の書"
- execute console command "pex user %player% add sk.bow2"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eMk.3.X-Bow 解放の書"
- execute console command "pex user %player% add sk.bow3"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eMk.4.X-Bow 解放の書"
- execute console command "pex user %player% add sk.bow4"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&e火縄銃 解放の書"
- execute console command "pex user %player% add sk.hinawa"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eRPG 解放の書"
- execute console command "pex user %player% add sk.rpg"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&e火炎放射器 解放の書"
- execute console command "pex user %player% add sk.flame"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eWar Machine 解放の書"
- execute console command "pex user %player% add sk.shorty"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&e日本刀 解放の書"
- execute console command "pex user %player% add sk.katana"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&eRail Gun 解放の書"
- execute console command "pex user %player% add sk.rail"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
- send "&9>>> &e武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- command /hinawa:
- permission: sk.glock
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 33"
- wait 3 ticks
- make player execute command "/custom7"
- command /bow:
- permission: sk.bow
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 34"
- wait 3 ticks
- make player execute command "/custom7"
- command /bow2:
- permission: sk.bow2
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 35"
- wait 3 ticks
- make player execute command "/custom7"
- command /bow3:
- permission: sk.bow3
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 36"
- wait 3 ticks
- make player execute command "/custom7"
- command /rpg:
- permission: sk.rpg
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 37"
- wait 3 ticks
- make player execute command "/custom7"
- command /flame:
- permission: sk.flame
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 38"
- wait 3 ticks
- make player execute command "/custom7"
- command /katana:
- permission: sk.katana
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 49"
- wait 3 ticks
- make player execute command "/custom7"
- command /rail:
- permission: sk.rail
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 47"
- wait 3 ticks
- make player execute command "/custom7"
- command /war:
- permission: sk.war
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 51"
- wait 3 ticks
- make player execute command "/custom7"
- command /bow3:
- permission: sk.bow4
- trigger:
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>>> &a武器を選択しました!"
- make console execute command "/scoreboard players set %player% main 50"
- wait 3 ticks
- make player execute command "/custom7"
- on right click holding nether star:
- name of held item contains "&aゲームに参加する"
- execute console command "scoreboard players set %player% join 1"
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>> &aゲームに参加しました。"
- on right click holding emerald:
- name of held item contains "&5武器のカスタマイズ"
- execute console command "custom"
- set {_location} to location of player
- play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
- send "&9>> &eカスタム画面を開きます...."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement