Aller au contenu

Messages recommandés

Posté(e)

Bonjour,

Aujourd'hui j'ai fait un skript de vérif , mais j'aimerais qu'a chaque clic , sa rajoute 1 bloc sur le gui , comme sur Badlion (CtlServ) ! Merci a selui qui me le fera

 

P.S: Le skript SkVerif a besoin de chaque seconde de séléctionné la clock pour actualisé !

 

Code :

Options:
   prefix: &7[&6CPS&7]
   erreur: &7[&6Erreur&7]

On leftclick:
   add 1 to {clicks.%UUID of player%}
   wait 1 second
   set {clicks.%UUID of player%} to 0

command /verif [<player>]:
   trigger:
       if arg 1 is not set:
           message "{@erreur} &cFait /verif <Joueur>" to player
       if arg 1 is set:
           set {_health.%arg 1%} to arg 1's health
           set {hunger.%arg 1%} to arg 1's hunger
           set {armorview.helmet.%arg 1%} to arg 1's helmet
           set {armorview.chestplate.%arg 1%} to arg 1's chestplate
           set {armorview.leggings.%arg 1%} to arg 1's leggings
           set {armorview.boots.%arg 1%} to arg 1's boots
           wait 2 ticks
           open chest with 5 rows named "        &4Vérif %arg 1%" to player
           set {_playerinv} to arg 1
           set {_slot} to 0
           loop 36 times:
               set {verif.%arg 1%.%{_slot}%} to slot {_slot} of arg 1's inventory
               add 1 to {_slot}
           set {_slot} to 0
           set {_slotmenu} to 9
           wait 1 tick
           loop 36 times:
               format slot {_slotmenu} of player with {verif.%arg 1%.%{_slot}%} to be unstealable
               add 1 to {_slot}
               add 1 to {_slotmenu}
           wait 1 tick
           format slot 6 of player with Block of iron named "&6&lPing > %arg 1's ping%" to be unstealable
           format slot 7 of player with %{clicks.%UUID of player%}% Block of gold named "&6&lClique par seconde > %{clicks.%UUID of arg 1%}%" to be unstealable
           format slot 5 of player with nether star named "&c&l%arg 1%" with lore "&l&6Vie > %{_health.%arg 1%}% &4♥ &l&6Faim >%{hunger.%arg 1%}%" to be unstealable
           format slot 0 of player with {armorview.helmet.%arg 1%} named "&bCasque >" to be unstealable
           format slot 1 of player with {armorview.chestplate.%arg 1%} named "&bPlastron >" to be unstealable
           format slot 2 of player with {armorview.leggings.%arg 1%} named "&bPantalon >" to be unstealable
           format slot 3 of player with {armorview.boots.%arg 1%} named "&bBottes >" to be unstealable
on quit:
   delete {clicks.%UUID of player%}

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