Advertisement
PabloEduardo

Rachas

May 29th, 2022
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.13 KB | None | 0 0
  1. on join:
  2. delete {A1.%player%} and {A2.%player%} and {A3.%player%}
  3. command /lista Combos:
  4. trigger:
  5. send "&6&lLISTA DE COMBOS"
  6. send ""
  7. send "&b&lPATADA"
  8. send ""
  9. send "&6• &aActivacion&f: Click Derecho | &aClick Derecho | Click Izquierdo%nl%&6• &cDaño&f: 5 &4❤%nl%&6• &bEnfriamiento&f: 6s"
  10. send ""
  11. send "&b&lMULTIPLES GOLPES"
  12. send ""
  13. send "&6• &aActivacion&f: &aClick Izquierdo | Click Izquierdo | Click Izquierdo%nl%&6• &cDaño&f: 6 &4❤%nl%&6• &bEnfriamiento&f: 5s"
  14. send ""
  15. send "&b&lGUARDIA"
  16. send ""
  17. send "&6• &aActivacion&f:&a Click Izquierdo | Click Derecho | Click Derecho%nl%&6• &eDuración&f: 4s%nl%&6• &2Resistencia&f: 12%%%nl%&6• &bEnfriamiento&f: 10s"
  18. send ""
  19. send "&b&lCONTRA ATAQUE"
  20. send ""
  21. send "&6• &aActivacion&f: &aClick Derecho | Click Izquierdo | Click Derecho%nl%&6• &eDuración&f: 2.5s%nl%&6• &2Resistencia&f: 22%%%nl%&6• &cDaño&f: 5 &4❤%nl%&6• &bEnfriamiento&f: 14s%nl%&6• &dRango&f: 5 Bloques"
  22. on damage:
  23. if distance between attacker and victim is smaller than 4:
  24. if attacker's tool is air:
  25. if {A1.%attacker%} isn't set:
  26. set {A1.%attacker%} to "I"
  27. send action bar "&5&l• &a%{A1.%attacker%}% &5&l• &c??? &5&l• &c??? &5&l•" to attacker
  28. wait 1.7 seconds
  29. delete {A1.%attacker%}
  30. else:
  31. if {A2.%attacker%} isn't set:
  32. set {A2.%attacker%} to "I"
  33. send action bar "&5&l• &a%{A1.%attacker%}% &5&l• &a%{A2.%attacker%}% &5&l• &c??? &5&l•" to attacker
  34. wait 1.7 seconds
  35. delete {A2.%attacker%}
  36. else:
  37. if {A3.%attacker%} isn't set:
  38. set {A3.%attacker%} to "I"
  39. send action bar "&5&l• &a%{A1.%attacker%}% &5&l• &a%{A2.%attacker%}% &5&l• &a%{A3.%attacker%}% &5&l•" to attacker
  40. comboF(attacker, "I", "I", "I", "MultiplesGolpes", "Multiples Golpes") #Combo Final IZQ 1
  41. comboF(attacker, "D", "D", "I", "Patada", "Patada") #Combo Final IZQ 2
  42. wait 0.5 seconds
  43. delete {A3.%attacker%}
  44. function comboF(p: player, C1: text, C2: text, C3: text, Cast: text, H: text):
  45. if {A1.%{_p}%} is equal to {_C1}:
  46. if {A2.%{_p}%} is equal to {_C2}:
  47. {A3.%{_p}%} is equal to {_C3}:
  48. make {_p} run command "/%{_cast}%" as op
  49. delete {A1.%{_p}%}
  50. delete {A2.%{_p}%}
  51. delete {A3.%{_p}%}
  52. command /MultiplesGolpes:
  53. permission: Golpes
  54. cooldown: 5 seconds
  55. cooldown message: &fEstas un poco cansado para hacer esto!
  56. trigger:
  57. make player run command "/particle sweepAttack ~ ~1.5 ~ 1 0 0 0.15 15 normal" as op
  58. send action bar "&b&l» &fMultiple Golpes! &b&l«" to player
  59. if {Chat.NombreRol.%{_p}%} is set:
  60. send "%colored player's prefix% &6%{Chat.NombreRol.%player%}%&f: &dMultiple Golpes!" to all players in radius 30 of player
  61. else:
  62. send "%colored player's prefix% &6 %player%&f: Multiple Golpes" to all players in radius 30 of player
  63. make player damage target by 6
  64. push player upwards at speed 0.2
  65. push player (direction from player to target) at speed 0.7
  66. command /Patada:
  67. permission: Patada
  68. cooldown: 6 seconds
  69. cooldown message: &fEstas un poco cansado para hacer esto!
  70. trigger:
  71. send action bar "&b&l» &fPatada! &b&l«" to player
  72. if {Chat.NombreRol.%player%} is set:
  73. send "%colored player's prefix% &6%{Chat.NombreRol.%player%}%&f: Patada!" to all players in radius 30 of player
  74. else:
  75. send "%colored player's prefix% &6 %player%&f: Patada" to all players in radius 30 of player
  76. make player run command "/particle damageIndicator ~ ~1 ~ 1 0 1 0.1 15 normal" as op
  77. make player damage target by 5
  78. push target upwards at speed 0.3
  79. push target (direction from target to player) at speed -1.2
  80. command /Guardia:
  81. permission: Guardia
  82. cooldown: 10 seconds
  83. cooldown message: &fEstas un poco cansado para hacer esto!
  84. trigger:
  85. set {Enguardia.%player%} to true
  86. if {Chat.NombreRol.%player%} is set:
  87. send "&6*%{Chat.NombreRol.%player%}%&f Levanto su Guardia" to all players in radius 30 of player
  88. else:
  89. send "&6*%player%&f Levanto su Guardia" to all players in radius 30 of player
  90. make player run command "/particle magicCrit ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  91. wait 0.5 seconds
  92. make player run command "/particle magicCrit ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  93. wait 0.5 seconds
  94. make player run command "/particle magicCrit ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  95. wait 0.5 seconds
  96. make player run command "/particle magicCrit ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  97. wait 0.5 seconds
  98. make player run command "/particle magicCrit ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  99. wait 0.5 seconds
  100. make player run command "/particle magicCrit ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  101. wait 0.5 seconds
  102. make player run command "/particle magicCrit ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  103. wait 0.5 seconds
  104. make player run command "/particle magicCrit ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  105. wait 0.5 seconds
  106. make player run command "/particle magicCrit ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  107. if {Chat.NombreRol.%player%} is set:
  108. send "&6*%{Chat.NombreRol.%player%}%&f Bajo su Guardia" to all players in radius 30 of player
  109. else:
  110. send "&6*%player%&f Bajo su Guardia" to all players in radius 30 of player
  111. delete {Enguardia.%player%}
  112.  
  113. command /ContraAtaque:
  114. permission: ContraAtaque
  115. cooldown: 14 seconds
  116. cooldown message: &fEstas un poco cansado para hacer esto!
  117. trigger:
  118. set {Enguardia2.%player%} to true
  119. make player run command "/particle fireworksSpark ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  120. wait 0.5 seconds
  121. make player run command "/particle fireworksSpark ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  122. wait 0.5 seconds
  123. make player run command "/particle fireworksSpark ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  124. wait 0.5 seconds
  125. make player run command "/particle fireworksSpark ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  126. wait 0.5 seconds
  127. make player run command "/particle fireworksSpark ~ ~1.5 ~ 1 1 1 0.00001 30 normal" as op
  128. wait 0.5 seconds
  129. delete {Enguardia2.%player%}
  130. on damage:
  131. if {Enguardia.%victim%} is true:
  132. set {_c} to damage * 0.12
  133. set damage to damage - {_c}
  134. if {Enguardia2.%victim%} is true:
  135. if {Enguardia2.%attacker%} is true:
  136. delete {Enguardia2.%victim%} and {Enguardia2.%attacker%}
  137. send "&cSe cancelo el contra ataque!" to attacker and victim
  138. stop
  139. if distance between attacker and victim is smaller than 6:
  140. delete {Enguardia2.%victim%}
  141. make victim damage attacker by 5
  142. set {_c} to damage * 0.22
  143. set damage to damage - {_c}
  144. push attacker upwards at speed 0.4
  145. push attacker (direction from attacker to victim) at speed -1.5
  146. if {Chat.NombreRol.%victim%} is set:
  147. send "&6*%{Chat.NombreRol.%victim%}%&f Realizo un Contra Ataque" to all players in radius 30 of victim
  148. else:
  149. send "&6*%victim%&f Realizo un Contra Ataque" to all players in radius 30 of victim
  150. stop
  151. on right click on entity:
  152. if player's tool is air:
  153. if {A1.%player%} isn't set:
  154. set {A1.%player%} to "D"
  155. send action bar "&5&l• &a%{A1.%player%}% &5&l• &c??? &5&l• &c??? &5&l•" to player
  156. wait 1.7 seconds
  157. delete {A1.%player%}
  158. else:
  159. if {A2.%player%} isn't set:
  160. set {A2.%player%} to "D"
  161. send action bar "&5&l• &a%{A1.%player%}% &5&l• &a%{A2.%player%}% &5&l• &c??? &5&l•" to player
  162. wait 1.7 seconds
  163. delete {A2.%player%}
  164. else:
  165. if {A3.%player%} isn't set:
  166. set {A3.%player%} to "D"
  167. send action bar "&5&l• &a%{A1.%player%}% &5&l• &a%{A2.%player%}% &5&l• &a%{A3.%player%}% &5&l•" to player
  168. comboF(player, "I", "D", "D", "Guardia", "Guardia") #Combo Final IZQ 1
  169. comboF(player, "D", "I", "D", "ContraAtaque", "Contra Ataque") #Combo Final IZQ 1
  170. wait 0.5 seconds
  171. delete {A3.%player%}
  172.  
  173. on join:
  174. if {Rachas.Streak.%player%} is smaller than 0:
  175. set {Rachas.Streak.%player%} to 0
  176. on death:
  177. if {NoRachas.%attacker%} is true:
  178. stop
  179. if {Variable.DueloI.%attacker%} is equal to "%victim%":
  180. stop
  181. if {Chat.aldea.%attacker%} is equal to {Chat.aldea.%victim%}:
  182. stop
  183. else:
  184. if victim is a player:
  185. add 1 to {Rachas.Streak.%attacker%}
  186. send "&a+1 Racha &8(Actual: %{Rachas.Streak.%attacker%}%)" to attacker
  187. if {Rachas.Nivel3.%attacker%} is "Camuflaje":
  188. if {Rachas.Streak.%attacker%} is greater than 26:
  189. camuflaje(attacker)
  190. if {Rachas.Streak.%attacker%} is 7:
  191. send "&c%attacker% &aLleva una racha de 7 Kills" to all players in radius 400 of attacker
  192. if {Rachas.Streak.%attacker%} is 15:
  193. send "&c%attacker% &eLleva una racha de 15 Kills" to all players in radius 400 of attacker
  194. if {Rachas.Streak.%attacker%} is 27:
  195. send "&c%attacker% &6Lleva una racha de 27 Kills" to all players in radius 400 of attacker
  196. if {Rachas.Streak.%victim%} is greater than 0:
  197. set {Rachas.Streak.%victim%} to 0
  198. else:
  199. remove 1 from {Rachas.Streak.%victim%}
  200.  
  201. command /setracha [<text>]:
  202. trigger:
  203. if arg 1 is "Letalidad":
  204. set {Rachas.Nivel2.%player%} to "Letalidad"
  205. send "&6[Rachas]&f Tu racha &aNivel 2&f Cambio correctamente!"
  206. if arg 1 is "Regeneracion":
  207. set {Rachas.Nivel1.%player%} to "Regeneracion"
  208. send "&6[Rachas]&f Tu racha &aNivel 1&f Cambio correctamente!"
  209. if arg 1 is "Botas":
  210. set {Rachas.Nivel1.%player%} to "Botas"
  211. send "&6[Rachas]&f Tu racha &aNivel 1&f Cambio correctamente!"
  212. if arg 1 is "Agilidad":
  213. set {Rachas.Nivel1.%player%} to "Agilidad"
  214. send "&6[Rachas]&f Tu racha &eNivel 1&f Cambio correctamente!"
  215. if arg 1 is "Drenado":
  216. set {Rachas.Nivel2.%player%} to "Drenado"
  217. send "&6[Rachas]&f Tu racha &eNivel 2&f Cambio correctamente!"
  218. if arg 1 is "Vitalidad":
  219. set {Rachas.Nivel2.%player%} to "Vitalidad"
  220. send "&6[Rachas]&f Tu racha &eNivel 2&f Cambio correctamente!"
  221. if arg 1 is "Camuflaje":
  222. set {Rachas.Nivel3.%player%} to "Camuflaje"
  223. send "&6[Rachas]&f Tu racha &6Nivel 3&f Cambio correctamente!"
  224. if arg 1 is "Rompe":
  225. set {Rachas.Nivel3.%player%} to "Rompe"
  226. if arg 1 is "Maestro":
  227. set {Rachas.Nivel3.%player%} to "Maestro"
  228. send "&6[Rachas]&f Tu racha &6Nivel 3&f Cambio correctamente!"
  229. if arg 1 is "Impactos":
  230. if {Rachas.Nivel3.%player%} is equal to "Rompe":
  231. set {Rachas.Nivel4.%player%} to "Impactos"
  232. send "&6[Rachas]&f Tu racha &6Nivel 4&f Cambio correctamente!"
  233. else:
  234. send "&c[Error]&f Necesitas la Racha Rompe Limites para activar esto."
  235. if arg 1 is "Helado":
  236. if {Rachas.Nivel3.%player%} is equal to "Rompe":
  237. set {Rachas.Nivel4.%player%} to "Helado"
  238. send "&6[Rachas]&f Tu racha &6Nivel 4&f Cambio correctamente!"
  239. else:
  240. send "&c[Error]&f Necesitas la Racha Rompe Limites para activar esto."
  241. if arg 1 is "Salva":
  242. if {Rachas.Nivel3.%player%} is equal to "Rompe":
  243. set {Rachas.Nivel4.%player%} to "Salva"
  244. send "&6[Rachas]&f Tu racha &6Nivel 4&f Cambio correctamente!"
  245. else:
  246. send "&c[Error]&f Necesitas la Racha Rompe Limites para activar esto."
  247. on join:
  248. if {Rachas.Salvavidas.%player%} is true:
  249. set {Rachas.Salvavidas.%player%} to false
  250. on damage:
  251. if {Rachas.Salvavidas.%victim%} is true:
  252. cancel event
  253. on damage:
  254. if {Rachas.Nivel3.%victim%} is "Rompe":
  255. if {Rachas.Nivel4.%victim%} is "Salva":
  256. if {Rachas.streak.%victim%} is greater than 59:
  257. if (victim's health - damage) < 0.1:
  258. cancel event
  259. set health of victim to 17
  260. send "&a¡Salva Vidas! &8&o(-60 de racha)" to victim
  261. set {Rachas.Salvavidas.%victim%} to true
  262. subtract 60 from {Rachas.streak.%victim%}
  263. wait 3 seconds
  264. set {Rachas.Salvavidas.%victim%} to false
  265. on damage:
  266. if {Rachas.Nivel3.%attacker%} is "Rompe":
  267. if {Rachas.Nivel4.%attacker%} is "Helado":
  268. if {Rachas.streak.%attacker%} is greater than 46:
  269. chance of 40%:
  270. if {Variable.CDEfectoRAtur.%attacker%} is true:
  271. stop
  272. else:
  273. set {Variable.CDEfectoRAtur.%attacker%} to true
  274. send "&e¡Aturdimiento! &f&l❅" to attacker
  275. send "&cFuiste &e¡Aturdido! &f&l❅" to victim
  276. set {Efectos.Aturdimiento.%victim%} to true
  277. wait 3 seconds
  278. set {Efectos.Aturdimiento.%victim%} to false
  279. wait 5 seconds
  280. delete {Variable.CDEfectoRAtur.%attacker%}
  281. every 10 seconds:
  282. loop all players:
  283. if {Rachas.Nivel1.%loop-player%} is "Regeneracion":
  284. if {Rachas.streak.%loop-player%} is greater than 6:
  285. add 2 to health of loop-player
  286. on join:
  287. delete {Rachas.DrenadoL.%player%}
  288. delete {Rachas.Impactos.%player%}
  289. delete {Rachas.CamuflajeA.%player%}
  290. set {Rachas.Camuflaje.%player%} to false
  291. command /Efectodrenado:
  292. permission: Staff
  293. cooldown: 14 seconds
  294. cooldown message: &6El efecto de Drenado se esta Recargando..
  295. trigger:
  296. send "&f!&aDrenado &c+6❤&f¡"
  297. add 6 to health of player
  298. wait 14 seconds
  299. set {Rachas.DrenadoL.%player%} to false
  300. function camuflaje(p: player):
  301. if {Rachas.Camuflaje.%{_p}%} is true:
  302. stop
  303. else:
  304. send "&f!&aCamuflaje&f¡" to {_p}
  305. hide {_p} from all players
  306. set {Rachas.CamuflajeA.%{_p}%} to true
  307. wait 3 seconds
  308. delete {Rachas.CamuflajeA.%{_p}%}
  309. reveal {_p} from all players
  310. wait 12 seconds
  311. set {Rachas.Camuflaje.%{_p}%} to false
  312. on damage:
  313. if damage cause is fall:
  314. if {Rachas.Nivel1.%victim%} is "Botas":
  315. if {Rachas.streak.%victim%} is greater than 6:
  316. set {_dmgc} to damage
  317. set {_dmgc} to {_dmgc} * 1.2
  318. set damage to 0.5
  319. loop all players in radius 7 of victim:
  320. if victim is equal to loop-player:
  321. cancel event
  322. else:
  323. make victim damage loop-player by {_dmgc}
  324. make victim run command "/particle largeexplode ~1 ~ ~1 2 0.1 2 0.1 17 normal" as op
  325. if victim is a player:
  326. if {Rachas.CamuflajeA.%attacker%} is true:
  327. cancel event
  328. reveal attacker from all players
  329. delete {Rachas.CamuflajeA.%attacker%}
  330. if {Rachas.Nivel2.%victim%} is "Agilidad":
  331. if {Rachas.streak.%victim%} is greater than 14:
  332. if health of victim is less than 10:
  333. chance of 37%:
  334. cancel event
  335. send "&aEfecto de Agilidad Activado!" to victim
  336. send "&c%victim%&a Activo su efecto de Agilidad!" to attacker
  337. if attacker is a player:
  338. if {Rachas.Nivel4.%attacker%} is "Impactos":
  339. if {Rachas.streak.%attacker%} is greater than 53:
  340. chance of 10%:
  341. if {Variable.CDEfectoCeg.%attacker%} is true:
  342. stop
  343. else:
  344. set {Variable.CDEfectoCeg.%attacker%} to true
  345. send "&5¡Ceguera I!" to attacker
  346. send "&fFuiste &7¡Cegado!" to victim
  347. apply potion of blindness of tier 1 to victim for 5 seconds
  348. wait 8 seconds
  349. delete {Variable.CDEfectoCeg.%attacker%}
  350. chance of 10%:
  351. if {Variable.CDEfectoVeneno.%attacker%} is true:
  352. stop
  353. else:
  354. set {Variable.CDEfectoVeneno.%attacker%} to true
  355. send "&2¡Veneno I!" to attacker
  356. send "&fFuiste &2¡En venenado!" to victim
  357. apply potion of poison of tier 2 to victim for 6 seconds
  358. wait 8 seconds
  359. delete {Variable.CDEfectoVeneno.%attacker%}
  360. chance of 10%:
  361. if {Variable.CdEfectoQuema.%attacker%} is true:
  362. stop
  363. else:
  364. set {Variable.CdEfectoQuema.%attacker%} to true
  365. send "&6¡Quemadura!" to attacker
  366. send "&6Fuiste &e¡Quemado!" to victim
  367. ignite the victim for 5 seconds
  368. wait 8 seconds
  369. delete {Variable.CdEfectoQuema.%attacker%}
  370. chance of 10%:
  371. if {Variable.CdEfectoQElec.%attacker%} is true:
  372. stop
  373. else:
  374. set {Variable.CdEfectoQElec.%attacker%} to true
  375. send "&e¡Electrificado! &2&l⚡" to attacker
  376. send "&cFuiste &e¡Electrificado! &2&l⚡" to victim
  377. set {Efectos.Electrificado.%victim%} to true
  378. wait 3 seconds
  379. delete {Efectos.Electrificado.%victim%}
  380. wait 5 seconds
  381. delete {Variable.CdEfectoQElec.%attacker%}
  382. chance of 10%:
  383. if {Variable.CDEfectoSangrado.%attacker%} is true:
  384. stop
  385. else:
  386. set {Variable.CDEfectoSangrado.%attacker%} to true
  387. set {Efectos.Sangrado2.%victim%} to true
  388. send "&cEstas Sangrando.." to victim
  389. send "&7Dejaste sangrando a tu victima..." to attacker
  390. set {Efectos.sangradoDañador.%victim%} to attacker
  391. add 0.1 to {Efectos.MSangrado.%victim%}
  392. wait 9.5 seconds
  393. delete {Variable.CDEfectoSangrado.%attacker%}
  394. if {Rachas.Nivel2.%attacker%} is "Drenado":
  395. if {Rachas.streak.%attacker%} is greater than 14:
  396. if distance between attacker and victim is smaller than 9:
  397. add 1 to {Rachas.Impactos.%attacker%}
  398. if {Rachas.DrenadoL.%attacker%} is true:
  399. delete {Rachas.Impactos.%attacker%}
  400. else:
  401. if {Rachas.Impactos.%attacker%} is greater than 4:
  402. set {Rachas.DrenadoL.%attacker%} to true
  403. delete {Rachas.Impactos.%attacker%}
  404. make attacker run command "/Efectodrenado" as op
  405. if victim is a player:
  406. if {Rachas.Nivel2.%attacker%} is "Letalidad":
  407. if {Rachas.streak.%attacker%} is greater than 14:
  408. chance of 8%:
  409. if {Variable.CDEfectoSangrado.%attacker%} is true:
  410. stop
  411. else:
  412. set {Variable.CDEfectoSangrado.%attacker%} to true
  413. set {Efectos.Sangrado2.%victim%} to true
  414. send "&cEstas Sangrando.." to victim
  415. send "&7Dejaste sangrando a tu victima..." to attacker
  416. set {Efectos.sangradoDañador.%victim%} to attacker
  417. add 0.1 to {Efectos.MSangrado.%victim%}
  418. wait 9.5 seconds
  419. delete {Variable.CDEfectoSangrado.%attacker%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement