Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage of player:
- if damage cause is attack:
- delete {lastdamage.%victim%}
- set {lastdamage.%victim%} to attacker
- wait 10 seconds
- delete {lastdamage.%victim%}
- if damage cause is fall, lava, fire, burning, potion, or suffocation, or block explosion:
- if damage is more than victim's health:
- if {lastdamage.%victim%} is set:
- cancel event
- make {lastdamage.%victim%} damage victim by 20
- on death of player:
- if name of minigame minigame of victim is "skywars":
- if damage cause is not fall, lava, fire, burning, potion, or suffocation, or block explosion:
- add 1 to {currentkills.%attacker%}
- add 1 to {kills.%attacker%}
- delete {lastdamage.%victim%}
- remove victim from {alive.%name of arena arena of victim%::*}
- set victim's gamemode to spectator
- teleport victim to {spectator.%name of arena arena of victim%}
- send victim title "&cVoce Morreu" with subtitle "&7Agora voce e um Spectador" for 2 seconds
- send attacker title "" with subtitle "&a+1 &6Kill" for 1 seconds
- hide victim from all players
- loop all players in arena of attacker:
- invoke "GameBoard" from loop-player and name of arena arena of attacker
- broadcast "&c%victim% &eFoi morto por &7%attacker%" in arena of victim
- if size of {alive.%name of arena arena of attacker%::*} <= 1:
- add 1 to {vitorias.%attacker%}
- set attacker's fly mode to true
- loop all players in arena of attacker:
- send loop-player title "&aO Jogo Acabou" with subtitle "&6%attacker% foi o Vencedor Parabens" for 10 seconds
- loop 80 times:
- launch ball firework colored red and blue and yellow at attacker timed 0
- wait 3 ticks
- wait 2 seconds
- stop current arena of attacker
- else:
- delete {lastdamage.%victim%}
- remove victim from {alive.%name of arena arena of victim%::*}
- teleport victim to {spectator.%name of arena arena of victim%}
- send victim title "&cVoce Morreu" with subtitle "&7Agora voce e um Spectador" for 2 seconds
- hide victim from all players
- loop all players in arena of victim:
- invoke "GameBoard" from loop-player and name of arena arena of attacker
- set {_damagecause} to "%damage cause%"
- replace all "fire" with "&c%victim% &eMorreu por Brincar com Fogo" in {_damagecause}
- replace all "lava" with "&c%victim% &eMorreu tentando nadar na Lava" in {_damagecause}
- replace all "block explosiu" with "&c%victim% &eMorreu em pedaços com uma Explosao" in {_damagecause}
- replace all "fall" with "&c%victim% &eBateu no chao com Força e morreu!" in {_damagecause}
- replace all "potion" with "&c%victim% &eMorreu por Magia" in {_damagecause}
- replace all "burning" with "&c%victim% &eMorreu por Brincar com Fogo" in {_damagecause}
- replace all "burning" with "&c%victim% &eMorreu Agonizando Sufocado!" in {_damagecause}
- broadcast "%{_damagecause}%" in arena of victim
- if size of {alive.%name of arena arena of victim%::*} <= 1:
- set {_winner} to {alive.%name of arena arena of victim%::1}
- add 1 to {vitorias.%{_winner}%}
- loop all players in arena of victim:
- send loop-player title "&aO Jogo Acabou" with subtitle "&6%{_winner}% foi o Vencedor Parabens" for 10 seconds
- loop 80 times:
- launch ball firework colored red and blue and yellow at {_winner} timed 0
- wait 3 ticks
- wait 2 seconds
- stop current arena of victim
Advertisement
Add Comment
Please, Sign In to add comment