Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /kits [<text>]:
- trigger:
- if arg-1 is not set:
- wait 1 ticks
- open chest with 1 row named "職業の選択" to player
- wait 1 ticks
- format slot 2 of player with wood sword named "剣士" to close then run [execute player command "/kits kisi"]
- format slot 3 of player with obsidian named "タンク" to close then run [execute player command "/kits tanku"]
- format slot 4 of player with bow named "弓兵" to close then run [execute player command "/kits yumihei"]
- format slot 5 of player with flint and steel named "パイロ" to close then run [execute player command "/kits pairo"]
- if player doesn't have permission "ks.ansatusya":
- format slot 6 of player with red stained glass pane named "暗殺者" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
- if player has permission "kits.ansatusya":
- format slot 6 of player with feather named "暗殺者" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits ansatusya"]
- if arg-1 is "kisi":
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to iron sword
- set slot 1 of player to 16 bread
- equip player with chainmail chestplate
- equip player with chainmail boots
- message "{@prefix} あなたは剣士を選択しました!"
- teleport player to {kitpvp.spawn}
- stop
- if arg-1 is "tanku":
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to wood sword
- set slot 1 of player to 16 bread
- equip player with iron chestplate
- equip player with iron leggings
- message "{@prefix} あなたはタンクを選択しました!"
- teleport player to {kitpvp.spawn}
- stop
- if arg-1 is "yumihei":
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to bow
- set slot 1 of player to 16 bread
- set slot 2 of player to 64 arrows
- equip player with leather helmet
- equip player with chainmail chestplate
- message "{@prefix} あなたは弓兵を選択しました!"
- teleport player to {kitpvp.spawn}
- stop
- if arg-1 is "pairo":
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to stone sword
- set slot 1 of player to blaze rod of fire aspect 1
- set slot 2 of player to 16 bread
- equip player with leather chestplate
- equip player with iron leggings
- message "{@prefix} あなたはパイロを選択しました!"
- teleport player to {kitpvp.spawn}
- stop
- if arg-1 is "ansatusya":
- if player has permission "ks.ansatusya":
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to stone sword
- set slot 1 of player to 1 feather named "&aダッシュ"
- set slot 2 of player to 16 bread
- equip player with leather chestplate
- equip player with leather leggings
- message "{@prefix} あなたは暗殺者を選択しました!"
- teleport player to {kitpvp.spawn}
- stop
- on right click holding feather:
- name of held item contains "&aダッシュ"
- push the player forwards at speed 1.5
- remove 1 feather from player's inventory
- on right click holding chest:
- name of held item contains "職業を選ぶ"
- make player execute command "/kits"
- on right click holding emerald:
- name of held item contains "お店"
- make player execute command "/store"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement