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 close
- locked: of player with red concrete named "&c未開放" to close
- command /custom:
- trigger:
- open chest with 6 row named "武器の選択" to player
- wait 1 ticks
- format slot of 17 player with black stained glass pane named "&7." to close
- format slot of 26 player with black stained glass pane named "&7." to close
- format slot of 35 player with black stained glass pane named "&7." to close
- format slot of 18 player with black stained glass pane named "&7." to close
- format slot of 27 player with black stained glass pane named "&7." to close
- 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}
- 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}
- stop
- 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}
- stop
- if player has permission "sk.ots":
- format slot 10 of player with gold shovel named "&8Ots-14" to close then run [execute player command "/ots"]
- else:
- format slot 10 {@locked}
- stop
- on right click holding book:
- name of held item contains "&e解放の書1"
- 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武器を開放しました!"
- on right click holding book:
- name of held item contains "&e解放の書2"
- 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武器を開放しました!"
- 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"
- 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"
- 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"
Advertisement
Add Comment
Please, Sign In to add comment