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 /custom7:
- 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.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 diamond_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 "&eX-Bow.Mk.2 解放の書"
- 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 "&eX-Bow.Mk.3 解放の書"
- 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 "&eX-Bow.Mk.4 解放の書"
- 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% sub 50"
- wait 3 ticks
- make player execute command "/custom7"
Advertisement
Add Comment
Please, Sign In to add comment