Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /join:
- trigger:
- if {game} is not set:
- if {join::*} contains player:
- send "&c既に参加しています。" to player
- else:
- add player to {join::*}
- broadcast "&9%player%&bさんが参加。現在&e%number of {join::*}%&b人。"
- if {joingame} is not set:
- if number of {join::*} > 1:
- set {joingame} to true
- broadcast "&930秒後にゲームを開始します。"
- wait 20 second
- broadcast "&910秒後にゲームを開始します。"
- wait 5 second
- broadcast "&95秒後にゲームを開始します。"
- wait 1 second
- broadcast "&94秒後にゲームを開始します。"
- wait 1 second
- broadcast "&93秒後にゲームを開始します。"
- wait 1 second
- broadcast "&92秒後にゲームを開始します。"
- wait 1 second
- broadcast "&91秒後にゲームを開始します。"
- wait 1 second
- set {game} to true
- if number of {join::*} > 1:
- loop {join::*}:
- clear loop-value's inventory
- delete {joingame}
- gamestart()
- else:
- delete {game}
- delete {join::*}
- delete {joingame}
- broadcast "&c人数が減ったため停止しました。"
- else:
- send "&c現在ゲームが始まっています。"
- command /reset:
- permission: admin
- trigger:
- delete {autojoin::*}
- gameend()
- command /autojoin:
- trigger:
- if {autojoin::*} contains player:
- send "&cOFF"
- remove player from {autojoin::*}
- else:
- send "&aON"
- add player to {autojoin::*}
- command /kit:
- trigger:
- open chest with 3 rows named "&8キット選択" to player
- set slot 10 of player's current inventory to rotten flesh named "&2ゾンビ" with lore "&7- パッシブ" and "&7常に再生1の効果が付く。" and "&7- アビリティ" and "&7自分から半径3m以内にいる自分を含める仲間を4♥回復させる。"
- set slot 11 of player's current inventory to bone named "&fスケルトン" with lore "&7- パッシブ" and "&7シフトをしている間の移動速度が上昇する。" and "&7- アビリティ" and "&74秒間透明状態になるが近接攻撃ができなくなる。"
- set slot 12 of player's current inventory to tnt named "&aクリーパー" with lore "&7- パッシブ" and "&7ダメージを受けると2秒間移動速度が上昇する" and "&7- アビリティ" and "&7グレネードを捨てることで発動。3秒後に爆発し、" and "&7付近にいる敵プレイヤーすべてに6ダメージ"
- set slot 13 of player's current inventory to ender pearl named "&5エンダーマン" with lore "&7- パッシブ" and "&7移動速度が上昇する。" and "&7- アビリティ" and "&7トーテムを設置し、そのトーテムにテレポートできるようになる。"
- function gamestart():
- loop 20 times:
- execute console command "/execute @a ~ ~ ~ /playsound entity.experience_orb.pickup master @a ~ ~ ~ 1 1"
- loop all players:
- send title "&f&lゲームルールを決めています..." to loop-player for 1 second with fade in 0 tick
- wait 2 tick
- set {map} to random string of {map::*}
- set {type} to random string of {type::*}
- loop all players:
- send title "&a&lMap - %{map}%" with subtitle "&b&lType - %{type}%" to loop-player for 3 second with fade in 0 tick
- wait 3 second
- set {time} to 320
- set {_a} to number of {join::*} / 2
- loop {_a} times:
- add random player of {join::*} to {attacker::*}
- remove {attacker::*} from {join::*}
- set {defender::*} to {join::*}
- loop {attacker::*}:
- set loop-value's max health to 20
- command "/scoreboard players tag %loop-value% add attacker"
- set slot 8 of loop-value's inventory to 1 stone named "&7武器選択"
- set tablist name of loop-value to "&c%loop-value%"
- command "/scoreboard teams join HideNametag %loop-value%"
- teleport loop-value to {AttackerSpawn.%{map}%}
- send title "&f&l準備フェーズ" with subtitle "&cアタッカー" to loop-value for 5 second with fade in 0 tick
- send "&c爆弾を&6オレンジ羊毛&cの上に設置しよう!(右クリック)" to loop-value
- wait 1 tick
- open chest with 3 rows named "&8武器選択" to loop-value
- set slot 10 of loop-value's current inventory to iron horse armor named "&8アサルトライフル" with lore "&7- フルオート" and "&7- 発射速度 3発 / 秒" and "&7- マガジン容量 30" and "&7- ダメージ 1.5♥"
- set slot 11 of loop-value's current inventory to music disc stal named "&8スナイパーライフル" with lore "&7- セミオート" and "&7- 発射速度 0.3発 / 秒" and "&7- マガジン容量 4" and "&7- ダメージ 胴 7.5♥ 頭 15♥"
- set slot 12 of loop-value's current inventory to comparator named "&8ショットガン" with lore "&7- セミオート" and "&7- 発射速度 1発 / 秒" and "&7- マガジン容量 5" and "&7- 一度に出る球 8" and "&7- ダメージ 1♥"
- loop {defender::*}:
- set loop-value's max health to 20
- set slot 8 of loop-value's inventory to 1 stone named "&7武器選択"
- set tablist name of loop-value to "&9%loop-value%"
- command "/scoreboard teams join HideNametag %loop-value%"
- execute console command "/scoreboard teams join global %loop-value%"
- teleport loop-value to {DefenderSpawn.%{map}%}
- send title "&f&l準備フェーズ" with subtitle "&9ディフェンダー" to loop-value for 5 second with fade in 0 tick
- send "&b設置された&c爆弾&bの近くでシフトして爆弾を解除しよう!" to loop-value
- wait 1 tick
- open chest with 3 rows named "&8武器選択" to loop-value
- set slot 10 of loop-value's current inventory to iron horse armor named "&8アサルトライフル" with lore "&7- フルオート" and "&7- 発射速度 3発 / 秒" and "&7- マガジン容量 30" and "&7- ダメージ 1.5♥"
- set slot 11 of loop-value's current inventory to music disc stal named "&8スナイパーライフル" with lore "&7- セミオート" and "&7- 発射速度 0.3発 / 秒" and "&7- マガジン容量 4" and "&7- ダメージ 胴 7.5♥ 頭 15♥"
- set slot 12 of loop-value's current inventory to comparator named "&8ショットガン" with lore "&7- セミオート" and "&7- 発射速度 1発 / 秒" and "&7- マガジン容量 5" and "&7- 一度に出る球 8" and "&7- ダメージ 1♥"
- command "/effect @a minecraft:instant_health 1 255"
- wait 5 second
- set {_b} to 15
- loop 15 times:
- send title "&e&l%{_b}%" to all players for 1 second with fade in 0 tick
- execute console command "/execute @a ~ ~ ~ /playsound block.dispenser.fail master @a ~ ~ ~ 2 1"
- remove 1 from {_b}
- wait 1 second
- loop {attacker::*}:
- set helmet of the loop-value to a leather helmet
- dye loop-value's helmet red
- loop {defender::*}:
- set helmet of the loop-value to a leather helmet
- dye loop-value's helmet blue
- execute console command "/execute @a ~ ~ ~ /playsound block.anvil.use master @a ~ ~ ~ 2 1"
- execute console command "/fill %{wall.a.1.%{map}%}% %{wall.a.2.%{map}%}% %{wall.a.3.%{map}%}% %{wall.a.4.%{map}%}% %{wall.a.5.%{map}%}% %{wall.a.6.%{map}%}% minecraft:air 0 replace stained_glass"
- execute console command "/fill %{wall.d.1.%{map}%}% %{wall.d.2.%{map}%}% %{wall.d.3.%{map}%}% %{wall.d.4.%{map}%}% %{wall.d.5.%{map}%}% %{wall.d.6.%{map}%}% minecraft:air 0 replace stained_glass"
- function gameend():
- command "/wall House"
- command "/wall Hijacked"
- command "/wall Coastline"
- command "/wall Kanal"
- command "/effect @a clear"
- command "/kill @e[type=armor_stand]"
- loop {bomb::*}:
- delete {bomb.power.%loop-value%}
- command "/execute @e[tag=bomb] ~ ~ ~ /setblock ~ ~ ~ air"
- command "/kill @e[tag=bomb]"
- delete {join::*}
- delete {stop::*}
- delete {attacker::*}
- delete {joingame}
- delete {defender::*}
- delete {bomb::*}
- delete {time}
- delete {map}
- delete {type}
- delete {bombtime}
- delete {invisible::*}
- delete {game}
- delete {spect::*}
- command "/scoreboard players tag @a remove attacker"
- command "/scoreboard teams empty HideNametag"
- loop all players:
- delete {ability.cooltime.%loop-player%}
- teleport loop-player to {lobby}
- clear loop-player's inventory
- command "/gamemode 2 %loop-player%"
- command "/heal %loop-player%"
- delete {bomb.sneak.%loop-player%}
- loop {autojoin::*}:
- execute loop-value command "/join"
- function kaijo():
- loop all players:
- send title "&9&lディフェンダーの勝利" with subtitle "&7爆弾を解除した" to loop-player for 3 second with fade in 0 tick
- on right click:
- name of player's tool is "&c爆弾"
- block 1 meter below player is orange wool
- add player to {stop::*}
- loop {attacker::*}:
- set slot 8 of loop-value's inventory to air
- send title "&a" with subtitle "&f仲間が爆弾を設置中です..." to loop-value for 3 second with fade in 0 tick
- set action bar of player to "&c&l║║║║║║║║║║"
- wait 1 second
- if {spect::*} contains player:
- command "/setblock -831 4 818 minecraft:redstone_block"
- remove player from {stop::*}
- stop
- set action bar of player to "&a&l║║&c&l║║║║║║║║"
- wait 1 second
- if {spect::*} contains player:
- command "/setblock -831 4 818 minecraft:redstone_block"
- remove player from {stop::*}
- stop
- set action bar of player to "&a&l║║║║&c&l║║║║║║"
- wait 1 second
- if {spect::*} contains player:
- command "/setblock -831 4 818 minecraft:redstone_block"
- remove player from {stop::*}
- stop
- set action bar of player to "&a&l║║║║║║&c&l║║║║"
- wait 1 second
- if {spect::*} contains player:
- command "/setblock -831 4 818 minecraft:redstone_block"
- remove player from {stop::*}
- stop
- set action bar of player to "&a&l║║║║║║║║&c&l║║"
- wait 1 second
- if {spect::*} contains player:
- command "/setblock -831 4 818 minecraft:redstone_block"
- remove player from {stop::*}
- stop
- set action bar of player to "&a&l║║║║║║║║║║"
- execute console command "/scoreboard players tag %player% add setbomb"
- execute console command "/setblock -831 4 820 minecraft:redstone_block"
- remove player from {stop::*}
- set {bomb::*} to player's location
- set {bombtime} to 60
- delete {time}
- loop all players:
- send title "&c&l爆弾が設置されました" with subtitle "&c60秒後に爆発します!" to loop-player for 2 second with fade in 0 tick
- on any move:
- if {stop::*} contains player:
- cancel event
- every tick:
- loop {bomb::*}:
- loop all players:
- if {bomb.sneak.%loop-player%} is true:
- distance between loop-value-1 and loop-player <= 1
- set {_bomb} to loop-value-1
- add 1 to {bomb.power.%{_bomb}%}
- send title "&a" with subtitle "&4>>&c%{bomb.power.%{_bomb}%}%&4/&c200&4<<" to loop-player for 1 second with fade in 0 tick
- if {bomb.power.%{_bomb}%} > 199:
- execute console command "/execute @a ~ ~ ~ /playsound entity.player.levelup master @a ~ ~ ~ 2 1"
- kaijo()
- gameend()
- on death of player:
- if {game} is true:
- wait 1 tick
- clear victim's inventory
- teleport victim to random player of {attacker::*}
- force respawn victim
- if {attacker::*} contains victim:
- broadcast "&9%attacker%&8 → &c%victim%"
- remove player from {attacker::*}
- command "/gamemode 3 %victim%"
- add player to {spect::*}
- if number of {attacker::*} = 0:
- execute console command "/execute @a ~ ~ ~ /playsound entity.player.levelup master @a ~ ~ ~ 2 1"
- loop all players:
- send title "&9&lディフェンダーの勝利" with subtitle "&7アタッカーが全滅した" to loop-player for 3 second with fade in 0 tick
- gameend()
- if {defender::*} contains victim:
- broadcast "&c%attacker%&8 → &9%victim%"
- remove player from {defender::*}
- command "/gamemode 3 %victim%"
- add player to {spect::*}
- if number of {defender::*} = 0:
- execute console command "/execute @a ~ ~ ~ /playsound entity.player.levelup master @a ~ ~ ~ 2 1"
- loop all players:
- send title "&c&lアタッカーの勝利" with subtitle "&7ディフェンダーが全滅した" to loop-player for 3 second with fade in 0 tick
- gameend()
- every second:
- loop all players:
- set the loop-player's food level to 3
- if {ability.cooltime.%loop-player%} is set:
- remove 1 gray dye named "&7クールタイム" from the loop-player
- remove 1 from {ability.cooltime.%loop-player%}
- if {ability.cooltime.%loop-player%} = 0:
- if {kit.%loop-player%} is "ゾンビ":
- set slot 1 of loop-player's inventory to golden apple named "&dヒール"
- if {kit.%loop-player%} is "スケルトン":
- set slot 1 of loop-player's inventory to bone named "&7インビジブル"
- if {kit.%loop-player%} is "クリーパー":
- set slot 1 of loop-player's inventory to tnt named "&8グレネード"
- if {kit.%loop-player%} is "エンダーマン":
- set slot 1 of loop-player's inventory to end portal frame named "&5トーテム"
- if {game} is true:
- if {bombtime} is not set:
- remove 1 from {time}
- if {time} = 0:
- if {type} is "デスマッチ":
- execute console command "/execute @a ~ ~ ~ /playsound entity.player.levelup master @a ~ ~ ~ 2 1"
- loop all players:
- send title "&f&l引き分け" with subtitle "&7時間内に決着がつかなかった。" to loop-player for 3 second with fade in 0 tick
- gameend()
- else:
- execute console command "/execute @a ~ ~ ~ /playsound entity.player.levelup master @a ~ ~ ~ 2 1"
- loop all players:
- send title "&9&lディフェンダーの勝利" with subtitle "&7一定時間守り抜いた" to loop-player for 3 second with fade in 0 tick
- gameend()
- else:
- remove 1 from {bombtime}
- if {bombtime} = 0:
- execute console command "/execute @a ~ ~ ~ /playsound entity.player.levelup master @a ~ ~ ~ 2 1"
- loop all players:
- send title "&c&lアタッカーの勝利" with subtitle "&7爆弾が爆発した" to loop-player for 3 second with fade in 0 tick
- gameend()
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&e------&9&l5 on 5&e------"
- set score "&c&lアタッカー" in sidebar of loop-player to 15
- set score "&a&7%number of {attacker::*}%" in sidebar of loop-player to 14
- set score "&9&lディフェンダー" in sidebar of loop-player to 13
- set score "&7%number of {defender::*}%" in sidebar of loop-player to 12
- if {type} is "爆弾解除":
- if {bombtime} is not set:
- set score "&4&l爆弾" in sidebar of loop-player to 11
- set score "&c未設置" in sidebar of loop-player to 10
- set score "&2&l残り時間" in sidebar of loop-player to 9
- set score "&e&7%{time}%" in sidebar of loop-player to 8
- set score "&a&lマップ" in sidebar of loop-player to 7
- set score "&e&7%{map}%" in sidebar of loop-player to 6
- set score "&6&lタイプ" in sidebar of loop-player to 5
- set score "&e&7%{type}%" in sidebar of loop-player to 4
- else:
- set score "&4&l爆弾" in sidebar of loop-player to 11
- set score "&a設置済み" in sidebar of loop-player to 10
- set score "&2&l爆発まで" in sidebar of loop-player to 9
- set score "&e&7%{bombtime}%" in sidebar of loop-player to 8
- set score "&a&lマップ" in sidebar of loop-player to 7
- set score "&e&7%{map}%" in sidebar of loop-player to 6
- set score "&6&lタイプ" in sidebar of loop-player to 5
- set score "&e&7%{type}%" in sidebar of loop-player to 4
- else:
- if {type} is "デスマッチ":
- set score "&2&l残り時間" in sidebar of loop-player to 9
- set score "&e&7%{time}%" in sidebar of loop-player to 8
- set score "&a&lマップ" in sidebar of loop-player to 7
- set score "&e&7%{map}%" in sidebar of loop-player to 6
- set score "&6&lタイプ" in sidebar of loop-player to 5
- set score "&e&7%{type}%" in sidebar of loop-player to 4
- set score "&e-----------------------" in sidebar of loop-player to 3
- on sneak toggle:
- if {defender::*} contains player:
- if {spect::*} contains player:
- stop
- else:
- if {bomb.sneak.%player%} is not set:
- set {bomb.sneak.%player%} to true
- else:
- delete {bomb.sneak.%player%}
- on join:
- set the join message to "&8[&a+&8] &7%player%"
- execute console command "/heal %player%"
- delete {ability.cooltime.%player%}
- command "/effect %player% clear"
- clear player's inventory
- if {kit.%player%} is not set:
- set {kit.%player%} to "ゾンビ"
- if {game} is true:
- wait 1 tick
- add player to {spect::*}
- command "/gamemode 3 %player%"
- teleport player to random player of {attacker::*}
- else:
- wait 1 tick
- command "/gamemode 2 %player%"
- teleport player to {lobby}
- on quit:
- set the quit message to "&8[&c-&8] &7%player%"
- remove player from {autojoin::*}
- remove player from {join::*}
- if {game} is true:
- if {attacker::*} contains player:
- remove player from {attacker::*}
- if number of {attacker::*} = 0:
- execute console command "/execute @a ~ ~ ~ /playsound entity.player.levelup master @a ~ ~ ~ 2 1"
- loop all players:
- send title "&9&lディフェンダーの勝利" with subtitle "&7アタッカーが全滅した" to loop-player for 3 second with fade in 0 tick
- gameend()
- if {defender::*} contains player:
- remove player from {defender::*}
- if number of {defender::*} = 0:
- execute console command "/execute @a ~ ~ ~ /playsound entity.player.levelup master @a ~ ~ ~ 2 1"
- loop all players:
- send title "&c&lアタッカーの勝利" with subtitle "&7ディフェンダーが全滅した" to loop-player for 3 second with fade in 0 tick
- gameend()
- command /spawnA <text>:
- permission: admin
- trigger:
- if arg is set:
- if {map::*} contains arg:
- set {AttackerSpawn.%arg%} to player's location
- send "&aマップ「%arg%」のアタッカースポーン場所をセットしました。"
- else:
- send "&cその名前のマップはありません"
- else:
- send "&cマップ名を書いてください"
- command /spawnD <text>:
- permission: admin
- trigger:
- if arg is set:
- if {map::*} contains arg:
- set {DefenderSpawn.%arg%} to player's location
- send "&aマップ「%arg%」のディフェンダースポーン場所をセットしました。"
- else:
- send "&cその名前のマップはありません"
- else:
- send "&cマップ名を書いてください"
- command /spawnL:
- permission: admin
- trigger:
- set {lobby} to player's location
- command /addmap <text>:
- permission: admin
- trigger:
- if arg is set:
- if {map::*} contains arg:
- send "&cその名前のマップはすでに存在します。"
- else:
- add arg to {map::*}
- send "&aマップ「%arg%」を追加しました。"
- else:
- send "&c追加するマップ名を書いてください。"
- command /setwall <text> <text> <number> <number> <number> <number> <number> <number>:
- permission: admin
- trigger:
- if {map::*} contains arg-1:
- if arg-2 is "a":
- set {wall.a.1.%arg-1%} to arg-3
- set {wall.a.2.%arg-1%} to arg-4
- set {wall.a.3.%arg-1%} to arg-5
- set {wall.a.4.%arg-1%} to arg-6
- set {wall.a.5.%arg-1%} to arg-7
- set {wall.a.6.%arg-1%} to arg-8
- execute console command "/fill %{wall.a.1.%arg-1%}% %{wall.a.2.%arg-1%}% %{wall.a.3.%arg-1%}% %{wall.a.4.%arg-1%}% %{wall.a.5.%arg-1%}% %{wall.a.6.%arg-1%}% minecraft:stained_glass 0 replace air"
- send "&aセットしました"
- else:
- if arg-2 is "d":
- set {wall.d.1.%arg-1%} to arg-3
- set {wall.d.2.%arg-1%} to arg-4
- set {wall.d.3.%arg-1%} to arg-5
- set {wall.d.4.%arg-1%} to arg-6
- set {wall.d.5.%arg-1%} to arg-7
- set {wall.d.6.%arg-1%} to arg-8
- execute console command "/fill %{wall.d.1.%arg-1%}% %{wall.d.2.%arg-1%}% %{wall.d.3.%arg-1%}% %{wall.d.4.%arg-1%}% %{wall.d.5.%arg-1%}% %{wall.d.6.%arg-1%}% minecraft:stained_glass 0 replace air"
- send "&aセットしました"
- else:
- send "&ca または d と書いてください。"
- else:
- send "&cその名前のマップはありません"
- on damage:
- if {attacker::*} contains attacker:
- if {attacker::*} contains victim:
- cancel event
- if {defender::*} contains attacker:
- if {defender::*} contains victim:
- cancel event
- if {kit.%victim%} is "クリーパー":
- command "/effect %victim% speed 2 1"
- if {invisible::*} contains attacker:
- cancel event
- command /wall <text>:
- permission: admin
- trigger:
- if {map::*} contains arg-1:
- execute console command "/fill %{wall.a.1.%arg-1%}% %{wall.a.2.%arg-1%}% %{wall.a.3.%arg-1%}% %{wall.a.4.%arg-1%}% %{wall.a.5.%arg-1%}% %{wall.a.6.%arg-1%}% minecraft:stained_glass 0 replace air"
- execute console command "/fill %{wall.d.1.%arg-1%}% %{wall.d.2.%arg-1%}% %{wall.d.3.%arg-1%}% %{wall.d.4.%arg-1%}% %{wall.d.5.%arg-1%}% %{wall.d.6.%arg-1%}% minecraft:stained_glass 0 replace air"
- command /maplist:
- permission: admin
- trigger:
- send "&a%{map::*}%"
- on inventory click:
- if {game} is true:
- cancel event
- if name of clicked item is "&8アサルトライフル":
- clear player's inventory
- command "/shot give %player% アサルトライフル"
- set slot 6 of player's inventory to 64 iron nugget named "&7弾薬"
- set slot 7 of player's inventory to 64 iron nugget named "&7弾薬"
- if {kit.%player%} is "ゾンビ":
- set slot 1 of player's inventory to golden apple named "&dヒール"
- command "/effect %player% minecraft:regeneration 32767 0 true"
- if {kit.%player%} is "スケルトン":
- set slot 1 of player's inventory to bone named "&7インビジブル"
- if {kit.%player%} is "クリーパー":
- set slot 1 of player's inventory to tnt named "&8グレネード"
- if {kit.%player%} is "エンダーマン":
- set slot 1 of player's inventory to end portal frame named "&5トーテム"
- set slot 2 of player's inventory to gray glazed terracotta named "&5テレポート"
- command "/effect %player% minecraft:speed 32767 0 true"
- if {type} is "爆弾解除":
- if {attacker::*} contains player:
- command "/scoreboard players tag %player% add givebomb"
- command "/setblock -831 4 816 minecraft:redstone_block"
- if name of clicked item is "&8スナイパーライフル":
- clear player's inventory
- command "/shot give %player% スナイパーライフル"
- set slot 7 of player's inventory to 32 iron nugget named "&7弾薬"
- if {kit.%player%} is "ゾンビ":
- set slot 1 of player's inventory to golden apple named "&dヒール"
- command "/effect %player% minecraft:regeneration 32767 0 true"
- if {kit.%player%} is "スケルトン":
- set slot 1 of player's inventory to bone named "&7インビジブル"
- if {kit.%player%} is "クリーパー":
- set slot 1 of player's inventory to tnt named "&8グレネード"
- if {kit.%player%} is "エンダーマン":
- set slot 1 of player's inventory to end portal frame named "&5トーテム"
- set slot 2 of player's inventory to gray glazed terracotta named "&5テレポート"
- command "/effect %player% minecraft:speed 32767 0 true"
- if {type} is "爆弾解除":
- if {attacker::*} contains player:
- command "/scoreboard players tag %player% add givebomb"
- command "/setblock -831 4 816 minecraft:redstone_block"
- if name of clicked item is "&8ショットガン":
- clear player's inventory
- command "/shot give %player% ショットガン"
- set slot 7 of player's inventory to 40 iron nugget named "&7弾薬"
- if {kit.%player%} is "ゾンビ":
- set slot 1 of player's inventory to golden apple named "&dヒール"
- command "/effect %player% minecraft:regeneration 32767 0 true"
- if {kit.%player%} is "スケルトン":
- set slot 1 of player's inventory to bone named "&7インビジブル"
- if {kit.%player%} is "クリーパー":
- set slot 1 of player's inventory to tnt named "&8グレネード"
- if {kit.%player%} is "エンダーマン":
- set slot 1 of player's inventory to end portal frame named "&5トーテム"
- set slot 2 of player's inventory to gray glazed terracotta named "&5テレポート"
- command "/effect %player% minecraft:speed 32767 0 true"
- if {type} is "爆弾解除":
- if {attacker::*} contains player:
- command "/scoreboard players tag %player% add givebomb"
- command "/setblock -831 4 816 minecraft:redstone_block"
- if name of player's current inventory contain "&8キット選択":
- cancel event
- if name of clicked item is "&2ゾンビ":
- set {kit.%player%} to "ゾンビ"
- send "&eキットを&f&l%{kit.%player%}%&eに変更しました!" to player
- if name of clicked item is "&fスケルトン":
- set {kit.%player%} to "スケルトン"
- send "&eキットを&f&l%{kit.%player%}%&eに変更しました!" to player
- if name of clicked item is "&aクリーパー":
- set {kit.%player%} to "クリーパー"
- send "&eキットを&f&l%{kit.%player%}%&eに変更しました!" to player
- if name of clicked item is "&5エンダーマン":
- set {kit.%player%} to "エンダーマン"
- send "&eキットを&f&l%{kit.%player%}%&eに変更しました!" to player
- on right click:
- name of player's tool is "&7武器選択"
- wait 1 tick
- open chest with 3 rows named "&8武器選択" to player
- set slot 10 of player's current inventory to iron horse armor named "&8アサルトライフル" with lore "&7- フルオート" and "&7- 発射速度 3発 / 秒" and "&7- マガジン容量 30" and "&7- ダメージ 1.5♥"
- set slot 11 of player's current inventory to music disc stal named "&8スナイパーライフル" with lore "&7- セミオート" and "&7- 発射速度 0.3発 / 秒" and "&7- マガジン容量 4" and "&7- ダメージ 胴 7.5♥ 頭 15♥"
- set slot 12 of player's current inventory to comparator named "&8ショットガン" with lore "&7- セミオート" and "&7- 発射速度 1発 / 秒" and "&7- マガジン容量 5" and "&7- 一度に出る球 8" and "&7- ダメージ 1♥"
- on right click:
- name of player's tool is "&dヒール"
- set slot 1 of player's inventory to 20 gray dye named "&7クールタイム"
- set {ability.cooltime.%player%} to 20
- if {attacker::*} contains player:
- command "/effect %player% minecraft:instant_health 1 1"
- command "/execute %player% ~ ~ ~ /playsound minecraft:entity.player.levelup master @a ~ ~ ~ 2 2"
- loop all players in radius 3 around player:
- if {attacker::*} contains loop-player:
- command "/effect %loop-player% minecraft:instant_health 1 1"
- if {defender::*} contains player:
- command "/effect %player% minecraft:instant_health 1 1"
- command "/execute %player% ~ ~ ~ /playsound minecraft:entity.player.levelup master @a ~ ~ ~ 2 2"
- loop all players in radius 3 around player:
- if {defender::*} contains loop-player:
- command "/effect %loop-player% minecraft:instant_health 1 1"
- on right click:
- name of player's tool is "&7インビジブル"
- set slot 1 of player's inventory to 15 gray dye named "&7クールタイム"
- set {ability.cooltime.%player%} to 15
- add player to {invisible::*}
- delete helmet of the player
- command "/effect %player% weakness 32767 100 true"
- command "/effect %player% invisibility 32767 100 true"
- wait 4 second
- command "/effect %player% weakness 0 0"
- command "/effect %player% invisibility 0 0"
- remove player from {invisible::*}
- if {attacker::*} contains player:
- set helmet of the player to a leather helmet
- dye player's helmet red
- if {defender::*} contains player:
- set helmet of the player to a leather helmet
- dye player's helmet blue
- on right click:
- name of player's tool is "&5トーテム"
- set slot 1 of player's inventory to 40 gray dye named "&7クールタイム"
- set {ability.cooltime.%player%} to 40
- set {_a} to player
- command "/kill @e[tag=%{_a}%]"
- spawn armor stand at player
- add "%{_a}%" to the scoreboard tags of last spawned entity
- command "/effect @e[tag=%{_a}%] glowing 32767 1"
- on right click:
- name of player's tool is "&5テレポート"
- if {stop::*} contains player:
- send "&c今は設置中のため使えません!" to player
- else:
- set {_a} to player
- command "/tp %player% @e[tag=%{_a}%]"
- command "/execute %player% ~ ~ ~ /playsound entity.endermen.teleport master @a ~ ~ ~ 1 1"
- command /addtype <text>:
- permission: admin
- trigger:
- if arg is set:
- add arg to {type::*}
- send "&aType「%arg%」を追加しました。"
- else:
- send "&cType名を書いてください。"
- command /typelist:
- permission: admin
- trigger:
- send "&a%{type::*}%"
- on drop:
- if name of event-item contains "&8グレネード":
- set slot 1 of player's inventory to 10 gray dye named "&7クールタイム"
- set {ability.cooltime.%player%} to 10
- wait 3 second
- if {attacker::*} contains player:
- create a safe explosion of force 2 at event-entity
- loop all players in radius 4 around event-entity:
- if {defender::*} contains loop-player:
- damage loop-player by 6
- delete event-entity
- if {defender::*} contains player:
- create a safe explosion of force 2 at event-entity
- loop all players in radius 4 around event-entity:
- if {attacker::*} contains loop-player:
- damage loop-player by 6
- delete event-entity
- else:
- if {attacker::*} contains player:
- cancel event
- if {defender::*} contains player:
- cancel event
- on pick up:
- if {attacker::*} contains player:
- cancel event
- if {defender::*} contains player:
- cancel event
- on sneak toggle:
- if {attacker::*} contains player:
- if {kit.%player%} is "スケルトン":
- if player is not sneaking:
- command "/effect %player% minecraft:speed 32767 5 true"
- if player is sneaking:
- command "/effect %player% minecraft:speed 0 0"
- if {defender::*} contains player:
- if {kit.%player%} is "スケルトン":
- if player is not sneaking:
- command "/effect %player% minecraft:speed 32767 5 true"
- if player is sneaking:
- command "/effect %player% minecraft:speed 0 0"
Add Comment
Please, Sign In to add comment