Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Start-Permission: admin
- on first join:
- execute console command "/item %player%"
- command /item <player>:
- executable by: console
- trigger:
- set slot 1 of player's hotbar to tnt named "&c参加"
- set slot 3 of player's hotbar to chest named "&a"
- command /start:
- permission: {@Start-Permission}
- trigger:
- command "/playsound entity.player.levelup ambient @a ~ ~ ~ 1 1 1"
- wait 3 second
- delete {oni::*}
- set {_players::*} to all players
- loop 3 times:
- {_players::*} is set
- set {_p} to random element out of {_players::*}
- command "/effect %{_p}% speed 100 2"
- add {_p} to {oni::*}
- remove {_p} from {_players::*}
- broadcast "&d今回の鬼は&c%{oni::*}% です!!"
- loop all players:
- if {oni::*} contains player:
- stop
- else:
- add loop-player to {nige::*}
- equip {oni::*} with tnt of curse-of-binding 1
- command "/tp @a %座標%"
- send "&a&l================================"
- send "&e&lTNT TAG"
- send "&6鬼はTNTを逃げに擦りつけましょう!!"
- send "&6逃げは鬼にやられないように、隠れたり逃げたりしましょう!!"
- send "&c&l敵陣営とのチーミングは禁止行為です。(&4BAN対象)"
- send "&6それでは、頑張ってください!!"
- send "&a&l================================"
- set {kaisi} to 1
- add 45 to {time}
- wait 45 second
- loop all players:
- if {oni::*} contains loop-player:
- command "/particle minecraft:explosion ~ ~ ~ 2 2 2 1 100 force %loop-player%"
- message "&e%loop-player%は爆発した!!" to all players
- command "/playsound entity.generic.explode ambient @a ~ ~ ~ 1 1 1"
- wait 5 second
- delete {oni::*}
- set {_players::*} to {nige::*}
- loop 2 times:
- {_players::*} is set
- set {_p} to random element out of {_players::*}
- add {_p} to {oni::*}
- remove {_p} from {_players::*}
- broadcast "&a======================="
- broadcast "&a"
- broadcast "&6&lRound 2"
- broadcast "&c今回の鬼は&e%{oni::*}%です"
- broadcast "&6"
- broadcast "&a======================="
- every tick:
- if {kaisi} is 1:
- loop all players:
- if {oni:*} contains loop-player:
- send action bar "&c残り%{time}%秒で爆発します!!あなたは今鬼です!!" to loop-player
- if {nige::*} contains loop-player:
- send action bar "&a残り%{time}%秒で爆発します!!あなたは今逃げです!!" to loop-player
- on quit:
- if {oni::*} contains player:
- remove player from {oni::*}
- set the quit message "&c[鬼]%player%が抜けました。"
- if {nige::*} contains player:
- remove player from {nige::*}
- on damage:
- if {kaisi} is 1
- if {oni::*} contains attacker:
- if {nige::*} contains victim:
- remove attacker from {oni::*}
- remove victim from {nige::*}
- add attacker to {nige::*}
- add victim to {oni::*}
- broadcast "&c&l[&e&lTNT-TAG-鬼&c&l]&1&l%attacker%&e&l>>>&c%victim%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement