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 iron bars named "&8." to be unstealable
- 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 24 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 34 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 6 times:
- format slot {_loop4} {@none2}
- add 1 to {_loop4}
- if player doesn't have permission "sk.ak47":
- format slot 10 {@locked}
- stop
- 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"]
- stop
- if player doesn't have permission "sk.m16":
- format slot 11 {@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"]
- stop
- if player doesn't have permission "sk.ots":
- format slot 12 {@locked}
- stop
- if player has permission "sk.ots":
- format slot 12 of player with 2266 named "&8Ots-14" to close then run [execute player command "/ots"]
- stop
- if player doesn't have permission "sk.galil":
- format slot 13 {@locked}
- stop
- if player has permission "sk.galil":
- format slot 13 of player with prismarine shard named "&8Galil" to close then run [execute player command "/galil"]
- stop
- if player doesn't have permission "sk.aug":
- format slot 14 {@locked}
- stop
- if player has permission "sk.aug":
- format slot 14 of player with rabbit hide named "&8Aug" to close then run [execute player command "/aug"]
- stop
- if player doesn't have permission "sk.aks":
- format slot 15 {@locked}
- stop
- if player has permission "sk.aks":
- format slot 15 of player with 2267 named "&8AKS-74U" to close then run [execute player command "/aks"]
- stop
- if player doesn't have permission "sk.m1":
- format slot 16 {@locked}
- stop
- if player has permission "sk.m1":
- format slot 16 of player with 2262 named "&8M1-Garand" to close then run [execute player command "/m1"]
- stop
- if player doesn't have permission "sk.camrs":
- format slot 19 {@locked}
- stop
- if player has permission "sk.camrs":
- format slot 19 of player with stone axe named "&8CAMRS" to close then run [execute player command "/camrs"]
- stop
- if player doesn't have permission "sk.scar":
- format slot 20 {@locked}
- stop
- if player has permission "sk.scar":
- format slot 20 of player with wheat named "&8SCAR-L" to close then run [execute player command "/scar"]
- stop
- if player doesn't have permission "sk.bum":
- format slot 21 {@locked}
- stop
- if player has permission "sk.bum":
- format slot 21 of player with 2261 named "&8Bumblebee" to close then run [execute player command "/bum"]
- stop
- if player doesn't have permission "sk.sfw":
- format slot 22 {@locked}
- stop
- if player has permission "sk.sfw":
- format slot 22 of player with wood pickaxe named "&8C8-SFW" to close then run [execute player command "/sfw"]
- stop
- if player doesn't have permission "sk.x95":
- format slot 23 {@locked}
- stop
- if player has permission "sk.x95":
- format slot 23 of player with string named "&8X95" to close then run [execute player command "/x95"]
- 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武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- 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武器を開放しました!"
- remove 1 of player's held item from the player's inventory
- on right click holding book:
- name of held item contains "&e解放の書3"
- execute console command "pex user %player% add sk.ots"
- 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解放の書4"
- execute console command "pex user %player% add sk.galil"
- 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解放の書5"
- execute console command "pex user %player% add sk.aug"
- 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解放の書6"
- execute console command "pex user %player% add sk.aks"
- 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解放の書7"
- execute console command "pex user %player% add sk.m1"
- 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解放の書8"
- execute console command "pex user %player% add sk.camrs"
- 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解放の書9"
- execute console command "pex user %player% add sk.scar"
- 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解放の書10"
- execute console command "pex user %player% add sk.bum"
- 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解放の書11"
- execute console command "pex user %player% add sk.sfw"
- 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解放の書12"
- execute console command "pex user %player% add sk.x95"
- 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 /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"
- wait 1 ticks
- make player execute command "/custom"
- 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"
- wait 1 ticks
- make player execute command "/custom"
- 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"
- wait 1 ticks
- make player execute command "/custom"
- command /galil:
- permission: sk.galil
- 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 10"
- wait 1 ticks
- make player execute command "/custom"
- command /aug:
- permission: sk.aug
- 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 11"
- wait 1 ticks
- make player execute command "/custom"
- command /aks:
- permission: sk.aks
- 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 12"
- wait 1 ticks
- make player execute command "/custom"
- command /m1:
- permission: sk.m1
- 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 27"
- wait 1 ticks
- make player execute command "/custom"
- command /camrs:
- permission: sk.camrs
- 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 29"
- wait 1 ticks
- make player execute command "/custom"
- command /scar:
- permission: sk.scar
- 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 30"
- wait 1 ticks
- make player execute command "/custom"
- command /bum:
- permission: sk.bum
- 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 39"
- wait 1 ticks
- make player execute command "/custom"
- command /sfw:
- permission: sk.sfw
- 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 41"
- wait 1 ticks
- make player execute command "/custom"
- command /x95:
- permission: sk.x95
- 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 42"
- wait 1 ticks
- make player execute command "/custom"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement