Aller au contenu
  • 0

Problème de message


Question

Posté(e)

Bonjour

Sur le net j'ai trouver un anti cheat mais j'ai modifier des choses et sa ne marche plus , C'est tjr au moment ou ça envoie le message

 

 

#ANTIFLY=============================================
every 1.5 second:
   loop all players:
       loop-player is not flying
       set {_block} to the block below loop-player
       while {_block} is air :
           set {_block} to the block below {_block}
           add 1 to {_altitude}
       wait 1 second
       set {_block} to the block below loop-player
       while {_block} is air :
           set {_block} to the block below {_block}
           add 1 to {_altitude2}
       set {_y} to y-coordinate of location of loop-player
       set {_y} to rounded down {_y}
       set {_loc1} to block north east loop-player
       set {_loc2} to block south west below loop-player
       loop blocks within {_loc1} to {_loc2}:
           if loop-block is not air:
               set {_y2} to y-coordinate of location of loop-block
               set {_y2} to rounded down {_y2}
               if {_y2} = {_y}:
                   add 1 to {_wall}
               else:
                   add 1 to {_edge}
       if {_altitude2} >= {_altitude}:
           {_altitude} > 2
           {jump.%loop-player%} is false
           if {_edge} is not set :
               loop all players:
                   if loop-player has permission "click.view":
                       message "&7[&cGuardien&7] &7&l[&4&lFLY&7&l] &e%player% &7est suspect !" to loop-player
           if {_edge} < 3 :
               {_wall} > 0
               loop all players:
                   if loop-player has permission "click.view":
                       message "&7[&cGuardien&7] &7&l[&4&lFLY&7&l] &e%player% &7est suspect !" to loop-player
       delete {_edge}
       delete {_wall}
on jump:
   set {jump.%player%} to true
   wait 5 ticks
   set {jump.%player%} to false
#ANTISPEEDHACK======================================   
on any move:
   player's gamemode is not creative
   if {_cdpos} is not set :
       set {_cdpos} to true
   {_cdpos} is true
   set {_cdpos} to false
   set {_pos} to location of player
   wait 0.5 second
   set y-coord of {_pos} to y-coord of location of player
   if distance between {_pos} and player is bigger than 6:
       loop all players:
           if loop-player has permission "click.view":
               message "&7[&cGuardien&7] &7&l[&4&lSPEEDHACK&7&l] &e%player% &7est suspect !" to loop-player
   set {_cdpos} to true
#ANTIFASTBOW========================================
on shoot:
   if projectile is an arrow:
       if difference between {bow.%shooter%} and now is less than 2 ticks:
           loop all players:
               if loop-player has permission "click.view":
                   message "&7[&cGuardien&7] &7&l[&4&lFASTBOW&7&l] &e%player% &7est suspect !" to loop-player
#ANTIKB================================================
on damage of a player :
   block at victim is not cobweb   
   victim is not riding
   set {_loc9} to block north east victim
   set {_loc8} to block south west victim
   blocks within {_loc9} to {_loc8} is air
   set {_loc} to location of victim
   wait 10 ticks
   set {_loc2} to location of victim
   distance between {_loc} and {_loc2} = 0
   victim's ping < 250
   loop all players:
       if loop-player has permission "click.view":
           message "&7[&cGuardien&7] &7&l[&4&lANTIKB&7&l] &e%player% &7est suspect !" to loop-player

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.