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-value
- command "/tp 1122 5 -1322 %loop-player%"
- command /start:
- permission:admin
- trigger:
- broadcast "&2&lチーム分け中..."
- loop all players:
- if {team} is not set:
- set {team} to true
- set {_red} to loop-value
- remove {_red} from {join::*}
- add {_red} to {red::*}
- send title "&cあなたは赤チームです" to loop-value
- else:
- delete {team}
- set {_blue} to loop-value
- remove {_blue} from {join::*}
- add {_blue} to {blue::*}
- send title "&9あなたは青チームです" to loop-value
- loop {blue::*}:
- execute console command "/tp %loop-value-1% 1222 5 -1487"
- loop {red::*}:
- execute console command "/tp %loop-value-1% 1151 5 -1417"
- broadcast "&3&lSTART"
- execute console command "/give %loop-value% iron_shovel"
Add Comment
Please, Sign In to add comment