Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 101 named "&8." to be unstealablew
- command /custom2:
- trigger:
- open chest with 6 row named "武器の選択" to player
- wait 1 ticks
- 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}
- set {_loop8} to 46
- loop 7 times:
- format slot {_loop8} {@none2}
- add 1 to {_loop8}
- 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 2258 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 2259 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 433 named "&8Mosin-Nagant" to close then run [execute player command "/mosin"]
- 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 10 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 10 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 10 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 10 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 10 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 10 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 10 ticks
- make player execute command "/custom2"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement