Aller au contenu

[PvP] ComboHitsCounter


Tu préfère...  

5 membres ont voté

  1. 1. Tu préfère...

    • Un serveur Practice avec des knockbacks du futur
    • Un serveur HardCoreFaction basic
      0


Messages recommandés

Posté(e)

Version: 1.7.10

Addons accepté !

 

Bonjour,

Je suis là pour vous demandez de l'aide, je souhaite avoir un Skript pour mon serveur qui permet de compter les nombres de coup donner a l'adversaire sans que ce dernier le touche sinon le compter reviens à 0, pareil si le joueur commence a taper un autre joueur. Exemple: Joueur 1 fais un combo a joueur 2 mais joueur 3 passe devant joueur 1 et joueur 1 tape du coup joueur 3 sans faire expres, les coups combo que joueur 1 avait donné à joueur 2 se sont réinitialiser et sont compteur se remet du coup à 0. Je souhaite que le compteur s'affiche dans un scoreboard.

 

Merci,

Cordialement,

Votre altè.. Kriiista

Posté(e)

 

on damage of player:
   if victim is {target.%attacker%}:
       add 1 to {combo.%attacker%}
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       if {target.%attacker%} is a player:
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 0
   if {target.%attacker%} is not set:
       set {combo.%victim%} to 0
       add 1 to {combo.%attacker%}
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 0
   if victim isn't {target.%attacker%}:
       set {combo.%attacker%} to 0
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 0

 

Théoriquement ça devrait marcher et ça clear tes combo si tu te prends un coup,théoriquement,jl'ai même pas test mais bon :x

Posté(e)

on damage of player:
   if victim is {target.%attacker%}:
       add 1 to {combo.%attacker%}
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       if {target.%attacker%} is a player:
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 0
   if {target.%attacker%} is not set:
       set {combo.%victim%} to 0
       add 1 to {combo.%attacker%}
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 0
   if victim isn't {target.%attacker%}:
       set {combo.%attacker%} to 0
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 0

 

Théoriquement ça devrait marcher et ça clear tes combo si tu te prends un coup,théoriquement,jl'ai même pas test mais bon :x

Est-ce qu'il fait des addons? Si oui, les quels?

Merci

Posté(e)

Jviens de voir une erreur,tiens le nouveau:

 

on damage of player:
   if victim is {target.%attacker%}:
       add 1 to {combo.%attacker%}
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       if {target.%attacker%} is a player:
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1
   if {target.%attacker%} is not set:
       set {combo.%victim%} to 0
       add 1 to {combo.%attacker%}
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1
   if victim isn't {target.%attacker%}:
       set {combo.%attacker%} to 0
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1

 

 

Pour ta question je sais pas lesquels donc si t'as SkQuery,SkRayfall,Wildskript ça devrait marcher.

Posté(e)
Jviens de voir une erreur,tiens le nouveau:

 

on damage of player:
   if victim is {target.%attacker%}:
       add 1 to {combo.%attacker%}
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       if {target.%attacker%} is a player:
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1
   if {target.%attacker%} is not set:
       set {combo.%victim%} to 0
       add 1 to {combo.%attacker%}
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1
   if victim isn't {target.%attacker%}:
       set {combo.%attacker%} to 0
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1

 

 

Pour ta question je sais pas lesquels donc si t'as SkQuery,SkRayfall,Wildskript ça devrait marcher.

Merci pour ta réponse, si tu l'as testé c'est qus sa devrait marcher mais je testerai le plus rapidement possible car la je suis sur mon "smartphone" xD

 

PS: l'utilisation du mot "smartphone" montre l'intelligence intellectuel du jeune et puissant Skripteur Kriiista.

Kriiista

Posté(e)
Merci pour ta réponse, si tu l'as testé c'est qus sa devrait marcher mais je testerai le plus rapidement possible car la je suis sur mon "smartphone" xD

 

PS: l'utilisation du mot "smartphone" montre l'intelligence intellectuel du jeune et puissant Skripteur Kriiista.

Kriiista

Et le fait de ne pas avoir compris que j'ai dis que ne l'avais PAS testé montre la stupid...

Théoriquement ça devrait marcher et ça clear tes combo si tu te prends un coup,théoriquement,jl'ai même pas test mais bon :x
Posté(e)
Et le fait de ne pas avoir compris que j'ai dis que ne l'avais PAS testé montre la stupid...

 

C'est erreur montre les énormes heures de travail qui le rend fatiguer

(Les fautes d'orthographe ne compte pas)

Posté(e)
xDD Bon la ça va être considéré comme du farm de messages donc maintenant le prochain msg c'est quand tu l'auras test xD

Il n'y a pas de problème mais pourrai tu ajouté un delai. Si le joueur ne l'a pas frapper pendant 5 secs, sa se reset?

 

Merci, Kriiista

Posté(e)

Malheureusement j'ai des erreurs:

 

13:29:59 INFO]: [skript] Reloading the config and all scripts...
[13:29:59 INFO]: Loaded a total of 11504 english aliases
[13:29:59 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (ComboHitCounter.sk, line 6: if {target.%attacker%} is a player:')
[13:29:59 WARN]: an entity cannot be saved, i.e. the contents of the variable {target.%the attacker%} will be lost when the server stops. (ComboHitCounter.sk, line 5: set {target.%attacker%} to target of the attacker')
[13:29:59 WARN]: an entity cannot be saved, i.e. the contents of the variable {target.%the attacker%} will be lost when the server stops. (ComboHitCounter.sk, line 14: set {target.%attacker%} to target of the attacker')
[13:29:59 WARN]: an entity cannot be saved, i.e. the contents of the variable {target.%the attacker%} will be lost when the server stops. (ComboHitCounter.sk, line 22: set {target.%attacker%} to target of the attacker')
[13:29:59 INFO]: All scripts loaded without errors.
[13:29:59 INFO]: Loaded 1 script with a total of 1 trigger and 0 commands in 0.1 seconds
[13:29:59 INFO]: [skript] Successfully reloaded the config and all scripts.

Posté(e)

Tu l’as test ? Car même avec ces erreurs ça devrait marcher,c’est marqué que ça reste successfuly ^^

Edit:

on damage of player:
   if victim is {target.%attacker%}:
       add 1 to {combo.%attacker%}
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       if {target.%attacker%} is a player:
           wipe attacker's sidebar
           wait a tick
           set name of sidebar of attacker to "&cCombo"
           set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1
   if {target.%attacker%} is not set:
       set {combo.%victim%} to 0
       add 1 to {combo.%attacker%}
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1
   if victim isn't {target.%attacker%}:
       set {combo.%attacker%} to 0
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1

Posté(e)
Tu l’as test ? Car même avec ces erreurs ça devrait marcher,c’est marqué que ça reste successfuly ^^

Edit:

on damage of player:
   if victim is {target.%attacker%}:
       add 1 to {combo.%attacker%}
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       if {target.%attacker%} is a player:
           wipe attacker's sidebar
           wait a tick
           set name of sidebar of attacker to "&cCombo"
           set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1
   if {target.%attacker%} is not set:
       set {combo.%victim%} to 0
       add 1 to {combo.%attacker%}
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1
   if victim isn't {target.%attacker%}:
       set {combo.%attacker%} to 0
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&cCombo"
       set score "&aTes combos actuels sont de:&c%{combo.%attacker%}%" in sidebar of attacker to 1

Tu as ajouté le delai sur ce code?

Posté(e)
Non j’ai juste corrigé un truc,j’ai dis que je le ferais ce soir car la jsuis sur portable ce soir je rentre chez moi et je pourrais prendre l’ordi ^^

Oui j'ai testé les problèmes:

- Le scoreboards marche pas car il y a plus de 16 caractères

- Les points ne ce reset pas. Que si il lui redonne un coup (ex: J1 combo J2, J2 lui donne un coup donc le scoreboard de J1 devrai ce reset mais son scoreboard ce reset seulement quand J1 lui redonne un coup. Le scoreboard ce reset pas au moment quoi)

 

J'ai edit ton code :

on damage of player:
   if victim is {target.%attacker%}:
       add 1 to {combo.%attacker%}
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       if {target.%attacker%} is a player:
           wipe attacker's sidebar
           wait a tick
           set name of sidebar of attacker to "&5Arcane &7PvP"
           set score "&7&m---------------" in sidebar of attacker to 3
           set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
           set score "&7&m---------------" in sidebar of attacker to 1
   if {target.%attacker%} is not set:
       set {combo.%victim%} to 0
       add 1 to {combo.%attacker%}
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of attacker to 3
       set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
       set score "&7&m---------------" in sidebar of attacker to 1
   if victim isn't {target.%attacker%}:
       set {combo.%attacker%} to 0
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of attacker to 3
       set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
       set score "&7&m---------------" in sidebar of attacker to 1

 

Mais il y a l'erreur comme quoi il y a plus de 16 caractère, mais je ne trouve pas où :p !

Kriiista

Posté(e)

Ploup !

[spoiler=Waw]

on damage of player:
   set {timecombo.%attacker%} to 0
   if victim is {target.%attacker%}:
       add 1 to {combo.%attacker%}
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       if {target.%attacker%} is a player:
           wipe attacker's sidebar
           wait a tick
           set name of sidebar of attacker to "&5Arcane &7PvP"
           set score "&7&m---------------" in sidebar of attacker to 3
           set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
           set score "&7&m---------------" in sidebar of attacker to 1
           wait a tick
           wipe victim's sidebar
           set name of sidebar of victim to "&5Arcane &7PvP"
           set score "&7&m---------------" in sidebar of victim to 3
           set score "&5&lComboHits: %{combo.%victim%}%" in sidebar of victim to 2
           set score "&7&m---------------" in sidebar of victim to 1
   if {target.%attacker%} is not set:
       set {combo.%victim%} to 0
       add 1 to {combo.%attacker%}
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of attacker to 3
       set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
       set score "&7&m---------------" in sidebar of attacker to 1
       wait a tick
       wipe victim's sidebar
       set name of sidebar of victim to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of victim to 3
       set score "&5&lComboHits: %{combo.%victim%}%" in sidebar of victim to 2
       set score "&7&m---------------" in sidebar of victim to 1
   if victim isn't {target.%attacker%}:
       set {combo.%attacker%} to 0
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of attacker to 3
       set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
       set score "&7&m---------------" in sidebar of attacker to 1
       wait a tick
       wipe victim's sidebar
       set name of sidebar of victim to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of victim to 3
       set score "&5&lComboHits: %{combo.%victim%}%" in sidebar of victim to 2
       set score "&7&m---------------" in sidebar of victim to 1

every 1 second:
   loop all players:
       if {timecombo.%loop-player%} is set:
           add 1 to {timecombo.%loop-player%}
           if {timecombo.%loop-player%} = 5:
               set {combo.%loop-player%} to 0
               wipe loop-player's sidebar
               wait a tick
               set name of sidebar of loop-player to "&5Arcane &7PvP"
               set score "&7&m---------------" in sidebar of loop-player to 3
               set score "&5&lComboHits: %{combo.%loop-player%}%" in sidebar of loop-player to 2
               set score "&7&m---------------" in sidebar of loop-player to 1

 

J'ai testé,tout marche ! Si tu frappes quelqu'un ça te donne 1 de combo,si on te frappe ça reset tout tes combos,si tu frappes quelqu'un d'autre ça reset tes combos,si pendant 5 sec tu frappes personne ça reset tes combos,ton problème avec les 16 caractères c'est tout simplement qu'une ligne de scoreboard ne peut pas faire plus de 16,ça va pas influencer le skript mais en gros elle sera invisible.La je les ai gardé donc change les dans le code :) De rien !

Posté(e)

Si tu l'as testé, c'est quesa devrai marcher. Pour le moment je ne peux pas mais demain je le testerai, s'il marche, je mettrai à ton message et le post en résolu !

Merci, Kriiista

Posté(e)
Ploup !

[spoiler=Waw]

on damage of player:
   set {timecombo.%attacker%} to 0
   if victim is {target.%attacker%}:
       add 1 to {combo.%attacker%}
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       if {target.%attacker%} is a player:
           wipe attacker's sidebar
           wait a tick
           set name of sidebar of attacker to "&5Arcane &7PvP"
           set score "&7&m---------------" in sidebar of attacker to 3
           set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
           set score "&7&m---------------" in sidebar of attacker to 1
           wait a tick
           wipe victim's sidebar
           set name of sidebar of victim to "&5Arcane &7PvP"
           set score "&7&m---------------" in sidebar of victim to 3
           set score "&5&lComboHits: %{combo.%victim%}%" in sidebar of victim to 2
           set score "&7&m---------------" in sidebar of victim to 1
   if {target.%attacker%} is not set:
       set {combo.%victim%} to 0
       add 1 to {combo.%attacker%}
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of attacker to 3
       set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
       set score "&7&m---------------" in sidebar of attacker to 1
       wait a tick
       wipe victim's sidebar
       set name of sidebar of victim to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of victim to 3
       set score "&5&lComboHits: %{combo.%victim%}%" in sidebar of victim to 2
       set score "&7&m---------------" in sidebar of victim to 1
   if victim isn't {target.%attacker%}:
       set {combo.%attacker%} to 0
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of attacker to 3
       set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
       set score "&7&m---------------" in sidebar of attacker to 1
       wait a tick
       wipe victim's sidebar
       set name of sidebar of victim to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of victim to 3
       set score "&5&lComboHits: %{combo.%victim%}%" in sidebar of victim to 2
       set score "&7&m---------------" in sidebar of victim to 1

every 1 second:
   loop all players:
       if {timecombo.%loop-player%} is set:
           add 1 to {timecombo.%loop-player%}
           if {timecombo.%loop-player%} = 5:
               set {combo.%loop-player%} to 0
               wipe loop-player's sidebar
               wait a tick
               set name of sidebar of loop-player to "&5Arcane &7PvP"
               set score "&7&m---------------" in sidebar of loop-player to 3
               set score "&5&lComboHits: %{combo.%loop-player%}%" in sidebar of loop-player to 2
               set score "&7&m---------------" in sidebar of loop-player to 1

 

J'ai testé,tout marche ! Si tu frappes quelqu'un ça te donne 1 de combo,si on te frappe ça reset tout tes combos,si tu frappes quelqu'un d'autre ça reset tes combos,si pendant 5 sec tu frappes personne ça reset tes combos,ton problème avec les 16 caractères c'est tout simplement qu'une ligne de scoreboard ne peut pas faire plus de 16,ça va pas influencer le skript mais en gros elle sera invisible.La je les ai gardé donc change les dans le code :) De rien !

Et bah j'ai copier coller le code et me dit toujours qu'il y a plus de 16 caractères. : p

La c'est plutot un bug moi sa marche pas !

 

Kriiista

Posté(e)

Mais nahhh jte dis qu'une ligne peut pas supporter 16 caractères donc la je les ai gardé elles sont bugués,les lignes de mon code à 16 caractères ou + vire les

Posté(e)

Mais non arrête de parler tout seul tu dois juste pas mettre 16 caractères dans une ligne on s'en fout de ta version,si t'avais pas le bon le scoreboard marcherait pas --

Posté(e)
Mais nahhh jte dis qu'une ligne peut pas supporter 16 caractères donc la je les ai gardé elles sont bugués,les lignes de mon code à 16 caractères ou + vire les

Mais il n'y en a aucun a plus de 16 caractères:

 

on damage of player:
   set {timecombo.%attacker%} to 0
   if victim is {target.%attacker%}:
       add 1 to {combo.%attacker%}
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       if {target.%attacker%} is a player:
           wipe attacker's sidebar
           wait a tick
           set name of sidebar of attacker to "&5Arcane &7PvP"
           set score "&7&m---------------" in sidebar of attacker to 3
           set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
           set score "&7&m---------------" in sidebar of attacker to 1
           wait a tick
           wipe victim's sidebar
           set name of sidebar of victim to "&5Arcane &7PvP"
           set score "&7&m---------------" in sidebar of victim to 3
           set score "&5&lComboHits: %{combo.%victim%}%" in sidebar of victim to 2
           set score "&7&m---------------" in sidebar of victim to 1
   if {target.%attacker%} is not set:
       set {combo.%victim%} to 0
       add 1 to {combo.%attacker%}
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of attacker to 3
       set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
       set score "&7&m---------------" in sidebar of attacker to 1
       wait a tick
       wipe victim's sidebar
       set name of sidebar of victim to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of victim to 3
       set score "&5&lComboHits: %{combo.%victim%}%" in sidebar of victim to 2
       set score "&7&m---------------" in sidebar of victim to 1
   if victim isn't {target.%attacker%}:
       set {combo.%attacker%} to 0
       set {combo.%victim%} to 0
       set {target.%attacker%} to target of the attacker
       wipe attacker's sidebar
       wait a tick
       set name of sidebar of attacker to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of attacker to 3
       set score "&5&lComboHits: %{combo.%attacker%}%" in sidebar of attacker to 2
       set score "&7&m---------------" in sidebar of attacker to 1
       wait a tick
       wipe victim's sidebar
       set name of sidebar of victim to "&5Arcane &7PvP"
       set score "&7&m---------------" in sidebar of victim to 3
       set score "&5&lComboHits: %{combo.%victim%}%" in sidebar of victim to 2
       set score "&7&m---------------" in sidebar of victim to 1

every 1 second:
   loop all players:
       if {timecombo.%loop-player%} is set:
           add 1 to {timecombo.%loop-player%}
           if {timecombo.%loop-player%} = 5:
               set {combo.%loop-player%} to 0
               wipe loop-player's sidebar
               wait a tick
               set name of sidebar of loop-player to "&5Arcane &7PvP"
               set score "&7&m---------------" in sidebar of loop-player to 3
               set score "&5&lComboHits: %{combo.%loop-player%}%" in sidebar of loop-player to 2
               set score "&7&m---------------" in sidebar of loop-player to 1

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.