Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death of player:
- execute console command "/clear %victim%"
- set victim's gamemode to spectator
- if {blue::*} contains player:
- remove player from {blue::*}
- if {red::*} contains player:
- remove player from {red::*}
- if {red::*} is not set:
- delete {blue::*}
- broadcast "&1&lBLUETEAM.win!!"
- execute console command "/tp 1122 5 -1322 @a"
- if {blue::*} is not set:
- delete {red::*}
- broadcast "&4&lREDTEAM.WIN!!"
- execute console command "/tp 1122 5 -1322 @a"
- command /reset:
- permission: admin
- trigger:
- delete {blue::*}
- delete {red::*}
- delete {team}
- loop all players:
- send title "ゲームを強制終了しています..." to loop-player
- command "/tp 1122 5 -1322 %loop-player%"
- command /start:
- permission:admin
- trigger:
- broadcast "&2&lチーム分け中..."
- loop all players:
- add loop-player to {join::*}
- loop {join::*}:
- if {team} is not set:
- set {team} to true
- set {_red} to loop-player
- remove {_red} from {join::*}
- add {_red} to {red::*}
- send title "&cあなたは赤チームです" to loop-player
- else:
- delete {team}
- set {_blue} to loop-player
- remove {_blue} from {join::*}
- add {_blue} to {blue::*}
- send title "&9あなたは青チームです" to loop-player
- execute console command "/give @a iron_shavel"
- loop {blue::*}:
- execute console command "/tp %loop-value% 1222 5 -1487"
- loop {red::*}:
- execute console command "/tp %loop-value% 1151 5 -1417"
- broadcast "&3&lSTART"
Advertisement
Add Comment
Please, Sign In to add comment