Aller au contenu
  • 0

[SKRIPT] Problème scoreboard.


Question

Posté(e)

Bonjour,

Récemment j'ai créer un skript qui permet de créer un scoreboard. je vous donne le code:

 

on command "/LYCScoreadd":
   make all players execute command "/LYCScoreadd"

command /LYCScoreadd:
   trigger:
       display board named "&4-&1---------" to player
       make score "Test" in board of player to 2
       move display of player to sidebar
       wait 1 second
       display board named "&1-&4-&1--------" to player
       make score "Test" in board of player to 2
       move display of player to sidebar
       wait 1 second
       display board named "&1--&4-&1-------" to player
       make score "Test" in board of player to 2
       move display of player to sidebar
       wait 1 second
       display board named "&1---&4-&1------" to player
       make score "Test" in board of player to 2
       move display of player to sidebar
       wait 1 second
       display board named "&1----&4-&1-----" to player
       make score "Test" in board of player to 2
       move display of player to sidebar
       wait 1 second
       display board named "&1-----&4-&1----" to player
       make score "Test" in board of player to 2
       move display of player to sidebar
       wait 1 second
       display board named "&1------&4-&1---" to player
       make score "Test" in board of player to 2
       move display of player to sidebar
       wait 1 second
       display board named "&1-------&4-&1--" to player
       make score "Test" in board of player to 2
       move display of player to sidebar
       wait 1 second
       display board named "&1--------&4-&1-" to player
       make score "Test" in board of player to 2
       move display of player to sidebar
       wait 1 second
       display board named "&1---------&4-" to player
       make score "Test" in board of player to 2
       move display of player to sidebar
       wait 1 second
       display board named "&1----------" to player
       make score "Test" in board of player to 2
       move display of player to sidebar
       wait 1 second
       display board named "&4----------" to player
       make score "Test" in board of player to 2
       move display of player to sidebar

 

Je vous explique les 2 premières lignes. Quand la commande /LYCScoreadd est insérer, ceci fait en sorte que tous les joueurs connectés fasse la la command /LYCScoreadd.

Mais quand je fais cette commande Skript m'insique dans le chat su serveur :

The script "Scoreboardadd.sk" ifinitely repeated itself.

Puis dans la console au moins 100 fois ce message:

[19:01:54 INFO]: ZeidePvP_: /LYCScoreadd

Vous pouvez me dire le problème?

Merci.

13 réponses à cette question

Messages recommandés

×
×
  • 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.