Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #KitPvP 2.1 by Tapioca_MilkTea
- options:
- prefix: [KitPvP]
- command /kits [<text>]:
- trigger:
- if arg-1 is not set:
- wait 1 ticks
- open chest with 2 row named "Kitの選択" to player
- wait 1 ticks
- format slot 1 of player with wood sword named "&8剣士" to close then run [execute player command "/kits kisi"]
- format slot 2 of player with obsidian named "&e傭兵" to close then run [execute player command "/kits tanku"]
- if player doesn't have permission "ks.yumihei":
- format slot 3 of player with yellow stained glass pane named "弓使い" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
- if player has permission "ks.yumihei":
- format slot 3 of player with Arrow named "&1弓使い" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits yumihei"]
- if player doesn't have permission "ks.fire":
- format slot 4 of player with pink stained glass pane named "ファイアーマン" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
- if player has permission "ks.fire":
- format slot 4 of player with flint and steel named "&cファイアーマン" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits pairo"]
- if player doesn't have permission "ks.ansatusya":
- format slot 5 of player with red stained glass pane named "神速" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
- if player has permission "ks.ansatusya":
- format slot 5 of player with feather named "&b神速" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits ansatusya"]
- if player doesn't have permission "ks.ghost":
- format slot 6 of player with light gray stained glass pane named "ghost" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
- if player has permission "ks.ghost":
- format slot 6 of player with pumpkin named "&7ghost" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits ghost"]
- if player doesn't have permission "ks.gya":
- format slot 7 of player with Brown stained glass pane named "ギャンブラー" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
- if player has permission "ks.gya":
- format slot 7 of player with gold ingot named "&6ギャンブラー" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits gya"]
- if player doesn't have permission "ks.mosya":
- format slot 8 of player with Yellow stained glass pane named "猛者" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
- if player has permission "ks.mosya":
- format slot 8 of player with iron axe named "&c猛者" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits mosya"]
- if {stats.%player%.kill} <= 30:
- format slot 10 of player with Orange Stained Glass Pane named "ヒーラー" with lore "&aこのキットは&c30KILLで使用可能になります" to be unstealable
- if {stats.%player%.kill} >= 30:
- format slot 10 of player with Golden Apple named "&dヒーラー" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits hira"]
- if {stats.%player%.kill} <= 60:
- format slot 11 of player with green Stained Glass Pane named "アーチャー" with lore "&aこのキットは&c60KILLで使用可能になります" to be unstealable
- if {stats.%player%.kill} >= 60:
- format slot 11 of player with bow named "&aアーチャー" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits atya"]
- if {stats.%player%.kill} <= 100:
- format slot 12 of player with Magenta Stained Glass Pane named "勇者" with lore "&aこのキットは&4&n100KILLで使用可能になります" to be unstealable
- if {stats.%player%.kill} >= 100:
- format slot 12 of player with golden sword named "&4&n勇者" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits yuusya"]
- if {stats.%player%.kill} <= 300:
- format slot 13 of player with Brown Stained Glass Pane named "エンダーマン" with lore "&aこのキットは&c300KILLで使用可能になります" to be unstealable
- if {stats.%player%.kill} >= 300:
- format slot 13 of player with ender pearl named "&5エンダーマン" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits ender"]
- if {stats.%player%.kill} <= 600:
- format slot 14 of player with Cyan Stained Glass Pane named "コック" with lore "&aこのキットは&c600KILLで使用可能になります" to be unstealable
- if {stats.%player%.kill} >= 600:
- format slot 14 of player with cookie named "&2コック" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits koku"]
- if {stats.%player%.kill} <= 1000:
- format slot 15 of player with Black Stained Glass Pane named "End" with lore "&aこのキットは&5&n1000KILLで使用可能になります" to be unstealable
- if {stats.%player%.kill} >= 1000:
- format slot 15 of player with Dragon Egg named "&5&nEnd" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits end"]
- 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 64 bread
- set slot 2 of player to brick named "&8防御"
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- equip player with chainmail chestplate
- equip player with leather boots
- equip player with chainmail leggings
- message "{@prefix} あなたは剣士を選択しました!"
- stop
- if arg-1 is "tanku":
- 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 64 bread
- set slot 2 of player to nether wart named "&d回復"
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- equip player with iron chestplate
- equip player with chainmail leggings
- message "{@prefix} あなたは傭兵を選択しました!"
- stop
- if arg-1 is "yumihei":
- if player has permission "ks.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 64 bread
- set slot 2 of player to 32 arrows
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- equip player with leather helmet
- equip player with leather chestplate
- stop
- if arg-1 is "pairo":
- if player has permission "ks.fire":
- 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 64 bread
- set slot 3 of player to brick named "&8防御"
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- equip player with chainmail chestplate
- equip player with chainmail leggings
- equip player with iron boots
- message "{@prefix} あなたはパイロを選択しました!"
- 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 2 of player to 1 feather named "&bSpeed"
- set slot 1 of player to 64 bread
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- equip player with chainmail chestplate
- equip player with leather leggings
- equip player with iron helmet
- apply potion of speed 1 to the player for 1000 seconds
- message "{@prefix} あなたは神速を選択しました!"
- stop
- if arg 1 is "ghost":
- if player has permission "ks.ghost":
- apply potion of Resistance 1 to the player for 1000 seconds
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to diamond sword of Sharpness 1
- set slot 1 of player to 64 bread
- set slot 2 of player to 1 feather named "&bSpeed"
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- apply potion of Invisibility 1 to the player for 1000 seconds
- message "{@prefix} あなたはghostを選択しました!"
- set {%player%.ghost} to true
- stop
- if arg 1 is "hira":
- if {stats.%player%.kill} >= 30:
- make console execute command "/effect %player% clear"
- clear player's inventory
- apply potion of Regeneration 1 to the player for 1000 seconds
- set slot 0 of player to iron sword of Sharpness 1
- set slot 1 of player to 64 bread
- set slot 2 of player to nether wart named "&d回復"
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- equip player with leather chestplate
- message "{@prefix} あなたはヒーラーを選択しました!"
- set {%player%.hira} to true
- stop
- if arg 1 is "atya":
- if {stats.%player%.kill} >= 60:
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to wooden sword
- set slot 1 of player to bow of Power 2
- set slot 2 of player to 64 bread
- set slot 3 of player to 32 arrows
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- equip player with leather chestplate
- equip player with leather leggings
- message "{@prefix} あなたはアーチャーを選択しました!"
- stop
- if arg 1 is "yuusya":
- if {stats.%player%.kill} >= 100:
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to wooden sword named "&5&nSharp of you" with lore "&cあなたがキルすればするほど強くなる"
- set slot 1 of player to 64 bread
- set slot 2 of player to 2 golden apple
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- equip player with diamond helmet
- equip player with diamond boots
- set {_Berst.%player%} to true
- message "{@prefix} あなたは勇者を選択しました!"
- stop
- if arg 1 is "gya":
- if player has permission "ks.gya":
- set {%player%.luck} to true
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to golden sword named "&6luck"
- set slot 1 of player to 64 bread
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- message "{@prefix} あなたはギャンブラーを選択しました!"
- stop
- if arg 1 is "ender":
- if {stats.%player%.kill} >= 300:
- 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 64 bread
- set slot 2 of player to 16 ender pearl
- set slot 3 of player to nether wart named "&d回復"
- equip player with iron chestplate
- equip player with chainmail leggings
- equip player with chainmail boots
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- message "{@prefix} あなたはギャンブラーを選択しました!"
- if arg 1 is "mosya":
- if player has permission "ks.mosya":
- set {%player%.mosya} to true
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to iron sword of sharpness 4
- set slot 1 of player to 64 bread
- remove 7 from the player's health
- equip player with iron chestplate
- equip player with leather leggings
- equip player with leather boots
- equip player with leather chestplate
- equip player with leather helmet
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- message "{@prefix} あなたは猛者を選択しました!"
- if arg 1 is "koku":
- if {stats.%player%.kill} >= 600:
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to apple of sharpness 6 named "食べるな危険"
- set slot 1 of player to 64 bread named "美味しいパン"
- set slot 2 of player to bowl named "&2錬金書" with lore "&6食べ物を生み出します"
- equip player with diamond boots
- set slot 8 of player to barrier block named "&cKit選択に戻る"
- message "{@prefix} あなたはコックを選択しました!"
- on right click holding brick:
- name of held item contains "防御"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 8 seconds:
- message "&5%difference between 8 seconds and {_cooldown}% &6後に使用可能"
- stop
- apply potion of Resistance 1 to the player for 5 seconds
- message "&7防御力が上がった"
- set {skill.%player%.lastused} to now
- on right click holding feather:
- name of held item contains "Speed"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 14 seconds:
- message "&5%difference between 14 seconds and {_cooldown}% &6後に使用可能"
- stop
- apply potion of Speed 2 to the player for 8 seconds
- message "&b体が軽くなった"
- set {skill.%player%.lastused} to now
- on rightclick holding nether wart:
- name of held item contains "回復"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 15 seconds:
- message "&5%difference between 15 seconds and {_cooldown}% &6後に使用可能"
- stop
- add 3 to the player's health
- message "&a回復した"
- set {skill.%player%.lastused} to now
- on damage of player:
- if {%victim%.ghost} is true:
- push the victim upwards at speed 100
- on respawn:
- if {%player%.ghost} is true:
- wait 25 tick
- apply potion of Invisibility 1 to the player for 1000 seconds
- if {%player%.hira} is true:
- wait 25 tick
- apply potion of Regeneration 1 to the player for 1000 seconds
- if {%player%.mosya} is true:
- wait 25 tick
- remove 7 from the player's health
- on right click holding chest:
- name of held item contains "Kit選択"
- make player execute command "/kits"
- stop
- on death of player:
- if attacker's tool is wooden sword:
- name of held item contains "sharp of you"
- if {_Berst.%attacker%} is true:
- wait 1 tick
- add 1 to {_Berst.%attacker%}
- if {_Berst.%attacker%} is 1:
- enchant the player's tool with sharpness 1
- if {_Berst.%attacker%} is 3:
- enchant the player's tool with sharpness 2
- if {_Berst.%attacker%} is 5:
- enchant the player's tool with sharpness 3
- if {_Berst.%attacker%} is 7:
- enchant the player's tool with sharpness 4
- if {_Berst.%attacker%} is 10:
- enchant the player's tool with sharpness 5
- if {_Berst.%attacker%} is 15:
- enchant the player's tool with sharpness 10
- on right click holding barrier block:
- make console execute command "/effect %player% clear"
- clear player's inventory
- if {%player%.ghost} is true:
- set {%player%.ghost} to false
- if {_Berst.%player%} is true:
- set {_Berst.%player%} to false
- if {%player%.hira} is true:
- set {%player%.hira} to false
- if {%player%.luck} is true:
- set {%player%.luck} to false
- if {%player%.mosya} is true:
- set {%player%.mosya} to false
- execute console command "/heal %player%"
- set slot 2 of player to chest named "&bKit選択"
- set slot 4 of player to emerald named "&6Kit購入"
- set slot 6 of player to book named "&5あなたの情報"
Add Comment
Please, Sign In to add comment