Aller au contenu
  • 0

LeaderHeads - Besoin d'aide


Question

Posté(e)

Bonsoir, j'aurais besoin d'aide pour un skript de Leader Heads

 

Ressemblant à ça:

47065f6522d8d7cb2063f46ede695a61e8ee1f89?url=http%3A%2F%2Fi62.tinypic.com%2F2n6c494.jpg

 

Voilà le début du skript:

on sign change:
   player is op
   if line 1 of block is "[TopKills]":
       add block to {TopKills.signs::*}
       set {_skull} to skull of {topkiller}
       set the block above the block to {_skull}'s skull #Cette ligne n'as pas l'aire de marcher
       set line 1 of block to "<light red>[TopKills]"
       set line 2 of block to "%{topkiller}%"
       set line 3 of block to "&8Kills: %{topkills}%"


every 1 minute:
   loop {TopKills.signs::*}:
       set line 2 of loop-value to "%{topkiller}%"
       set line 3 of loop-value to "&8Kills: &8%{topkills}%"
       set block above loop-value to {topkiller}'s skull

on death of player:
   attacker is a player
   if {topkill.%attacker%} isn't set:
       set {topkill::%attacker%} to 1
   else:
       add 1 to {topkill::%attacker%}
   {topkiller} isn't set:
       set {topkiller} to attacker
       set {topkills} to {topkill::%attacker%}
   {topkill::%attacker%} is greater than {topkills}:
       set {topkiller} to attacker
       set {topkills} to {topkill::%attacker%}
   stop

 

Alors voici ce que ça donne: (Il n'y à pas la tête qui apparait en haut du panneau)

1440625693-2015-08-26-23-44-36.png

 

 

Merci d'avance.

0 réponse à cette question

Messages recommandés

Il n’y a pas encore eu de réponse à cette question

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