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 iron_bars_block named "&8." to be unstealablew
- command /custom:
- 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 {_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}
- set {_loop4} to 46
- loop 7 times:
- format slot {_loop4} {@none2}
- add 1 to {_loop4}
- 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_music_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 1 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 1 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 1 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 1 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 1 ticks
- make player execute command "/custom5"
Advertisement
Add Comment
Please, Sign In to add comment