Aller au contenu
  • 0

Est ce que ce code est opti ?


Question

Posté(e)

Hey ,

J'ai trouvé sur Spigot un skript , mais je ne sais pas du tout si c'est vraiment opti.

 

Le code:

on jump:
   player's gamemode is not creative
   if {cool.%player%} is not set:
       set {cool.%player%} to false
   {cool.%player%} is false
   {test.%player%} < 1
   set {cool.%player%} to true
   set {jumplocation.%player%} to location of player
   wait 0.5 seconds
   set {chakuchilocation.%player%} to location of player
   set {cool.%player%} to false
   if distance between {jumplocation.%player%} and {chakuchilocation.%player%} is smaller than 4:
       stop
   else:
       if block 1 below the player is stairs:
           stop
       else:
           teleport player to {jumplocation.%player%}
           broadcast "&f[&cAntiBhop&f] %player% Bhop."

on walking on stairs:
   add 2 to {test.%player%}
   wait 1 seconds
   add -2 to {test.%player%}

on damage:
   add 1 to {test.%victim%}
   wait 1 seconds
   add -1 to {test.%victim%}

on join:
   set {test.%player%} to 0

4 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.