Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {Rachas.Streak.%player%} is smaller than 0:
- set {Rachas.Streak.%player%} to 0
- on death:
- if {NoRachas.%attacker%} is true:
- stop
- if victim is a player:
- add 1 to {Rachas.Streak.%attacker%}
- send "&a+1 Racha &8(Actual: %{Rachas.Streak.%attacker%}%)" to attacker
- if {Rachas.Nivel3.%attacker%} is "Camuflaje":
- if {Rachas.Streak.%attacker%} is greater than 26:
- camuflaje(attacker)
- if {Rachas.Streak.%attacker%} is 7:
- send "&c%attacker% &aLleva una racha de 7 Kills" to all players in radius 400 of attacker
- if {Rachas.Streak.%attacker%} is 15:
- send "&c%attacker% &eLleva una racha de 15 Kills" to all players in radius 400 of attacker
- if {Rachas.Streak.%attacker%} is 27:
- send "&c%attacker% &6Lleva una racha de 27 Kills" to all players in radius 400 of attacker
- if {Rachas.Streak.%victim%} is greater than 0:
- set {Rachas.Streak.%victim%} to 0
- else:
- remove 1 from {Rachas.Streak.%victim%}
- command /testracha [<player>]:
- permission: StaffLVL10
- trigger:
- set {Rachas.Streak.%arg-1%} to 60
- command /setracha [<text>]:
- trigger:
- if arg 1 is "Letalidad":
- set {Rachas.Nivel2.%player%} to "Letalidad"
- send "&6[Rachas]&f Tu racha &aNivel 2&f Cambio correctamente!"
- if arg 1 is "Regeneracion":
- set {Rachas.Nivel1.%player%} to "Regeneracion"
- send "&6[Rachas]&f Tu racha &aNivel 1&f Cambio correctamente!"
- if arg 1 is "Botas":
- set {Rachas.Nivel1.%player%} to "Botas"
- send "&6[Rachas]&f Tu racha &aNivel 1&f Cambio correctamente!"
- if arg 1 is "Agilidad":
- set {Rachas.Nivel1.%player%} to "Agilidad"
- send "&6[Rachas]&f Tu racha &eNivel 1&f Cambio correctamente!"
- if arg 1 is "Drenado":
- set {Rachas.Nivel2.%player%} to "Drenado"
- send "&6[Rachas]&f Tu racha &eNivel 2&f Cambio correctamente!"
- if arg 1 is "Vitalidad":
- set {Rachas.Nivel2.%player%} to "Vitalidad"
- send "&6[Rachas]&f Tu racha &eNivel 2&f Cambio correctamente!"
- if arg 1 is "Camuflaje":
- set {Rachas.Nivel3.%player%} to "Camuflaje"
- send "&6[Rachas]&f Tu racha &6Nivel 3&f Cambio correctamente!"
- if arg 1 is "Rompe":
- set {Rachas.Nivel3.%player%} to "Rompe"
- if arg 1 is "Maestro":
- set {Rachas.Nivel3.%player%} to "Maestro"
- send "&6[Rachas]&f Tu racha &6Nivel 3&f Cambio correctamente!"
- if arg 1 is "Impactos":
- if {Rachas.Nivel3.%player%} is equal to "Rompe":
- set {Rachas.Nivel4.%player%} to "Impactos"
- send "&6[Rachas]&f Tu racha &6Nivel 4&f Cambio correctamente!"
- else:
- send "&c[Error]&f Necesitas la Racha Rompe Limites para activar esto."
- if arg 1 is "Helado":
- if {Rachas.Nivel3.%player%} is equal to "Rompe":
- set {Rachas.Nivel4.%player%} to "Helado"
- send "&6[Rachas]&f Tu racha &6Nivel 4&f Cambio correctamente!"
- else:
- send "&c[Error]&f Necesitas la Racha Rompe Limites para activar esto."
- if arg 1 is "Salva":
- if {Rachas.Nivel3.%player%} is equal to "Rompe":
- set {Rachas.Nivel4.%player%} to "Salva"
- send "&6[Rachas]&f Tu racha &6Nivel 4&f Cambio correctamente!"
- else:
- send "&c[Error]&f Necesitas la Racha Rompe Limites para activar esto."
- on join:
- if {Rachas.Salvavidas.%player%} is true:
- set {Rachas.Salvavidas.%player%} to false
- on damage:
- if {Rachas.Salvavidas.%victim%} is true:
- cancel event
- on damage:
- if {Rachas.Nivel3.%victim%} is "Rompe":
- if {Rachas.Nivel4.%victim%} is "Salva":
- if {Rachas.streak.%victim%} is greater than 59:
- if (victim's health - damage) < 0.1:
- cancel event
- set health of victim to 17
- send "&a¡Salva Vidas! &8&o(-60 de racha)" to victim
- set {Rachas.Salvavidas.%victim%} to true
- subtract 60 from {Rachas.streak.%victim%}
- wait 3 seconds
- set {Rachas.Salvavidas.%victim%} to false
- on damage:
- if {Rachas.Nivel3.%attacker%} is "Rompe":
- if {Rachas.Nivel4.%attacker%} is "Helado":
- if {Rachas.streak.%attacker%} is greater than 46:
- chance of 40%:
- if {Variable.CDEfectoRAtur.%attacker%} is true:
- stop
- else:
- set {Variable.CDEfectoRAtur.%attacker%} to true
- send "&e¡Aturdimiento! &f&l❅" to attacker
- send "&cFuiste &e¡Aturdido! &f&l❅" to victim
- set {Efectos.Aturdimiento.%victim%} to true
- wait 3 seconds
- set {Efectos.Aturdimiento.%victim%} to false
- wait 5 seconds
- delete {Variable.CDEfectoRAtur.%attacker%}
- every 10 seconds:
- loop all players:
- if {Rachas.Nivel1.%loop-player%} is "Regeneracion":
- if {Rachas.streak.%loop-player%} is greater than 6:
- add 2 to health of loop-player
- on join:
- delete {Rachas.DrenadoL.%player%}
- delete {Rachas.Impactos.%player%}
- delete {Rachas.CamuflajeA.%player%}
- set {Rachas.Camuflaje.%player%} to false
- command /Efectodrenado:
- permission: Staff
- cooldown: 14 seconds
- cooldown message: &6El efecto de Drenado se esta Recargando..
- trigger:
- send "&f!&aDrenado &c+6❤&f¡"
- add 6 to health of player
- wait 14 seconds
- set {Rachas.DrenadoL.%player%} to false
- function camuflaje(p: player):
- if {Rachas.Camuflaje.%{_p}%} is true:
- stop
- else:
- send "&f!&aCamuflaje&f¡" to {_p}
- hide {_p} from all players
- set {Rachas.CamuflajeA.%{_p}%} to true
- wait 3 seconds
- delete {Rachas.CamuflajeA.%{_p}%}
- reveal {_p} from all players
- wait 12 seconds
- set {Rachas.Camuflaje.%{_p}%} to false
- on damage:
- if damage cause is fall:
- if {Rachas.Nivel1.%victim%} is "Botas":
- if {Rachas.streak.%victim%} is greater than 6:
- set {_dmgc} to damage
- set {_dmgc} to {_dmgc} * 1.2
- set damage to 0.5
- loop all players in radius 7 of victim:
- if victim is equal to loop-player:
- cancel event
- else:
- make victim damage loop-player by {_dmgc}
- make victim run command "/particle largeexplode ~1 ~ ~1 2 0.1 2 0.1 17 normal" as op
- if victim is a player:
- if {Rachas.CamuflajeA.%attacker%} is true:
- cancel event
- reveal attacker from all players
- delete {Rachas.CamuflajeA.%attacker%}
- if {Rachas.Nivel2.%victim%} is "Agilidad":
- if {Rachas.streak.%victim%} is greater than 14:
- if health of victim is less than 10:
- chance of 37%:
- cancel event
- send "&aEfecto de Agilidad Activado!" to victim
- send "&c%victim%&a Activo su efecto de Agilidad!" to attacker
- if attacker is a player:
- if {Rachas.Nivel4.%attacker%} is "Impactos":
- if {Rachas.streak.%attacker%} is greater than 53:
- chance of 10%:
- if {Variable.CDEfectoCeg.%attacker%} is true:
- stop
- else:
- set {Variable.CDEfectoCeg.%attacker%} to true
- send "&5¡Ceguera I!" to attacker
- send "&fFuiste &7¡Cegado!" to victim
- apply potion of blindness of tier 1 to victim for 5 seconds
- wait 8 seconds
- delete {Variable.CDEfectoCeg.%attacker%}
- chance of 10%:
- if {Variable.CDEfectoVeneno.%attacker%} is true:
- stop
- else:
- set {Variable.CDEfectoVeneno.%attacker%} to true
- send "&2¡Veneno I!" to attacker
- send "&fFuiste &2¡En venenado!" to victim
- apply potion of poison of tier 2 to victim for 6 seconds
- wait 8 seconds
- delete {Variable.CDEfectoVeneno.%attacker%}
- chance of 10%:
- if {Variable.CdEfectoQuema.%attacker%} is true:
- stop
- else:
- set {Variable.CdEfectoQuema.%attacker%} to true
- send "&6¡Quemadura!" to attacker
- send "&6Fuiste &e¡Quemado!" to victim
- ignite the victim for 5 seconds
- wait 8 seconds
- delete {Variable.CdEfectoQuema.%attacker%}
- chance of 10%:
- if {Variable.CdEfectoQElec.%attacker%} is true:
- stop
- else:
- set {Variable.CdEfectoQElec.%attacker%} to true
- send "&e¡Electrificado! &2&l⚡" to attacker
- send "&cFuiste &e¡Electrificado! &2&l⚡" to victim
- set {Efectos.Electrificado.%victim%} to true
- wait 3 seconds
- delete {Efectos.Electrificado.%victim%}
- wait 5 seconds
- delete {Variable.CdEfectoQElec.%attacker%}
- chance of 10%:
- if {Variable.CDEfectoSangrado.%attacker%} is true:
- stop
- else:
- set {Variable.CDEfectoSangrado.%attacker%} to true
- set {Efectos.Sangrado2.%victim%} to true
- send "&cEstas Sangrando.." to victim
- send "&7Dejaste sangrando a tu victima..." to attacker
- set {Efectos.sangradoDañador.%victim%} to attacker
- add 0.1 to {Efectos.MSangrado.%victim%}
- wait 9.5 seconds
- delete {Variable.CDEfectoSangrado.%attacker%}
- if {Rachas.Nivel2.%attacker%} is "Drenado":
- if {Rachas.streak.%attacker%} is greater than 14:
- if distance between attacker and victim is smaller than 9:
- add 1 to {Rachas.Impactos.%attacker%}
- if {Rachas.DrenadoL.%attacker%} is true:
- delete {Rachas.Impactos.%attacker%}
- else:
- if {Rachas.Impactos.%attacker%} is greater than 4:
- set {Rachas.DrenadoL.%attacker%} to true
- delete {Rachas.Impactos.%attacker%}
- make attacker run command "/Efectodrenado" as op
- if victim is a player:
- if {Rachas.Nivel2.%attacker%} is "Letalidad":
- if {Rachas.streak.%attacker%} is greater than 14:
- chance of 8%:
- if {Variable.CDEfectoSangrado.%attacker%} is true:
- stop
- else:
- set {Variable.CDEfectoSangrado.%attacker%} to true
- set {Efectos.Sangrado2.%victim%} to true
- send "&cEstas Sangrando.." to victim
- send "&7Dejaste sangrando a tu victima..." to attacker
- set {Efectos.sangradoDañador.%victim%} to attacker
- add 0.1 to {Efectos.MSangrado.%victim%}
- wait 9.5 seconds
- delete {Variable.CDEfectoSangrado.%attacker%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement