Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. ScriptAPI
  3. [SUPPORT] Will this script work?

[SUPPORT] Will this script work?

Scheduled Pinned Locked Moved ScriptAPI
9 Posts 5 Posters 655 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gabriel
    wrote on last edited by
    #1

    Would this script work?

    var scriptName = "AntiKnockback";
    var scriptVersion = 1.0;
    var scriptAuthor = "Skid"; 
    
    var AACv4Velocity = new AACv4Velocity();
    var Client;
    
    function AACv4Velocity() {
        this.getName = function() {
            return "AntiKnockback";
        };
    
        this.getDescription = function() {
            return "Redesky velocity.";
        };
    
        this.getTag = function() {
            return "AntiKnockback";
        };
       
        this.getCategory = function() {
            return "Fun";
        };
        
        this.onUpdate = function() { 
            if(mc.thePlayer.hurtTime > 0 && mc.thePlayer.hurtTime <= 10) {
               mc.thePlayer.motionY *= 0.08;
               mc.thePlayer.motionZ *= 0.08;
               mc.thePlayer.motionX *= 0.08;
                 
            }
        }
    }
    
    function onLoad() {
         
    };
    
    function onEnable() {
        exampleModuleClient = moduleManager.registerModule(AACv4Velocity);
    };
    
    function onDisable() {
        moduleManager.unregisterModule(Client);
    }
    
    A 1 Reply Last reply
    0
    • G Gabriel

      Would this script work?

      var scriptName = "AntiKnockback";
      var scriptVersion = 1.0;
      var scriptAuthor = "Skid"; 
      
      var AACv4Velocity = new AACv4Velocity();
      var Client;
      
      function AACv4Velocity() {
          this.getName = function() {
              return "AntiKnockback";
          };
      
          this.getDescription = function() {
              return "Redesky velocity.";
          };
      
          this.getTag = function() {
              return "AntiKnockback";
          };
         
          this.getCategory = function() {
              return "Fun";
          };
          
          this.onUpdate = function() { 
              if(mc.thePlayer.hurtTime > 0 && mc.thePlayer.hurtTime <= 10) {
                 mc.thePlayer.motionY *= 0.08;
                 mc.thePlayer.motionZ *= 0.08;
                 mc.thePlayer.motionX *= 0.08;
                   
              }
          }
      }
      
      function onLoad() {
           
      };
      
      function onEnable() {
          exampleModuleClient = moduleManager.registerModule(AACv4Velocity);
      };
      
      function onDisable() {
          moduleManager.unregisterModule(Client);
      }
      
      A Offline
      A Offline
      Aftery
      wrote on last edited by Aftery
      #2

      @Gabriel no reason for it not to work
      no reason for it to work

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Gabriel
        wrote on last edited by
        #3

        Does this code work?

         this.onUpdate = function() { 
               if(mc.thePlayer.hurtTime > 0 && mc.thePlayer.hurtTime <= 10) {
                  mc.thePlayer.motionY *= 0.08;
                  mc.thePlayer.motionZ *= 0.08;
                  mc.thePlayer.motionX *= 0.08;
        

        That is the reason im making this post.

        VisionFXV 1 Reply Last reply
        0
        • G Gabriel

          Does this code work?

           this.onUpdate = function() { 
                 if(mc.thePlayer.hurtTime > 0 && mc.thePlayer.hurtTime <= 10) {
                    mc.thePlayer.motionY *= 0.08;
                    mc.thePlayer.motionZ *= 0.08;
                    mc.thePlayer.motionX *= 0.08;
          

          That is the reason im making this post.

          VisionFXV Offline
          VisionFXV Offline
          VisionFX
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • G Offline
            G Offline
            Gabriel
            wrote on last edited by
            #5

            what did you say?

            1 Reply Last reply
            0
            • ForeheadchanF Offline
              ForeheadchanF Offline
              Foreheadchan
              wrote on last edited by
              #6

              use packets bruh

              1 Reply Last reply
              0
              • G Offline
                G Offline
                Gabriel
                wrote on last edited by
                #7

                I skidded it so...

                VisionFXV 1 Reply Last reply
                0
                • G Gabriel

                  I skidded it so...

                  VisionFXV Offline
                  VisionFXV Offline
                  VisionFX
                  wrote on last edited by
                  #8

                  mode aac in velocity worked. just set horizontal 0.6

                  C 1 Reply Last reply
                  0
                  • VisionFXV VisionFX

                    mode aac in velocity worked. just set horizontal 0.6

                    C Offline
                    C Offline
                    commandblock2
                    wrote on last edited by
                    #9

                    @VisionFX Yeah that's it. Most public ac can't detect it. The one that could do is horizon. Probably because hitting people whose has hurttime will make motionXZ *= 0.6.

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    About
                    • Terms of Service
                    • Privacy Policy
                    • Status
                    • Contact Us
                    Downloads
                    • Releases
                    • Source code
                    • License
                    Docs
                    • Tutorials
                    • CustomHUD
                    • AutoSettings
                    • ScriptAPI
                    Community
                    • Forum
                    • Guilded
                    • YouTube
                    • Twitter
                    • D.Tube
                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups