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
- command /custom6:
- trigger:
- open chest with 6 row named "武器の選択" to player
- wait 1 ticks
- format slot 52 of player with iron_bars_block named "&7." to be unstealable
- format slot 51 of player with iron_bars_block named "&7." to be unstealable
- format slot 50 of player with iron_bars_block named "&7." to be unstealable
- format slot 49 of player with iron_bars_block named "&7." to be unstealable
- format slot 48 of player with iron_bars_block named "&7." to be unstealable
- format slot 47 of player with iron_bars_block named "&7." to be unstealable
- format slot 46 of player with iron_bars_block named "&7." to be unstealable
- format slot 45 of player with iron_bars_block named "&7." 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.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 419 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"
Advertisement
Add Comment
Please, Sign In to add comment