Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death of player:
- if {team.%player%} is set:
- wait 3 ticks
- force respawn player
- set the victim's gamemode to spectator
- remove 1 from {%{team.%victim%}%}
- add 1 to {kill.%uuid of attacker%}
- add 1 to {death.%uuid of victim%}
- add 3 to {xp.%uuid of attacker%}
- broadcast "<%{team.%attacker%}%>%attacker% &7--&8|&6)&7--> <%{team.%victim%}%>%victim%"
- if {red} is 0:
- set {game} to false
- loop all players:
- if {team.%loop-player%} is "red":
- send loop-player title "&9&l敗北" with subtitle "&c味方が全員倒された" for 5 seconds
- add 1 to {lose.%uuid of loop-player%}
- add 10 to {xp.%uuid of attacker%}
- execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.2 2"
- if {team.%loop-player%} is "blue":
- send loop-player title "&6&l勝利" with subtitle "&f敵を全員倒した" for 5 seconds
- add 1 to {win.%uuid of loop-player%}
- execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.2 2"
- wait 6 seconds
- loop all players:
- if {team.%loop-player%} is set:
- remove all items from loop-player's inventory
- give grey dye named "&eゲームに参加する" to loop-player
- teleport the loop-player to {lobby}
- delete {team.%loop-player%}
- else if {blue} is 0:
- set {game} to false
- loop all players:
- if {team.%loop-player%} is "red":
- send loop-player title "&6&l勝利" with subtitle "&f敵を全員倒した" for 5 seconds
- add 1 to {win.%uuid of loop-player%}
- execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.2 2"
- if {team.%loop-player%} is "blue":
- send loop-player title "&9&l敗北" with subtitle "&f味方が全員倒された" for 5 seconds
- add 1 to {lose.%uuid of loop-player%}
- execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.2 2"
- wait 6 seconds
- loop all players:
- if {team.%loop-player%} is set:
- remove all items from loop-player's inventory
- give grey dye named "&eゲームに参加する" to loop-player
- teleport the loop-player to {lobby}
- delete {team.%loop-player%}
- else:
- loop all players:
- if {team.%loop-player%} is "red":
- send loop-player title " " with subtitle "%{red}% VS %{blue}%" for 3 seconds
- execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
- if {team.%loop-player%} is "blue":
- send loop-player title " " with subtitle "%{blue}% VS %{red}%" for 3 seconds
- execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement