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. How to make criticals turn off after 3 hits?

How to make criticals turn off after 3 hits?

Scheduled Pinned Locked Moved ScriptAPI
14 Posts 7 Posters 1.8k Views 1 Watching
  • 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.
  • romnaedR romnaed

    @gc-onetap
    No, I need critics to turn off auto

    IndomsGodsI Offline
    IndomsGodsI Offline
    IndomsGods
    wrote on last edited by
    #5

    @romnaed like AutoDisableAura???

    romnaedR 2 Replies Last reply
    0
    • IndomsGodsI IndomsGods

      @romnaed like AutoDisableAura???

      romnaedR Offline
      romnaedR Offline
      romnaed
      wrote on last edited by
      #6
      This post is deleted!
      1 Reply Last reply
      0
      • IndomsGodsI IndomsGods

        @romnaed like AutoDisableAura???

        romnaedR Offline
        romnaedR Offline
        romnaed
        wrote on last edited by
        #7

        @indomsgods yes

        HabitualDeepH 1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #8

          there's no reason to turn criticals off after 3 hits

          1 Reply Last reply
          0
          • romnaedR romnaed

            @indomsgods yes

            HabitualDeepH Offline
            HabitualDeepH Offline
            HabitualDeep
            wrote on last edited by
            #9

            @romnaed why do u want it to turn off

            Plumer ManP 1 Reply Last reply
            0
            • HabitualDeepH HabitualDeep

              @romnaed why do u want it to turn off

              Plumer ManP Offline
              Plumer ManP Offline
              Plumer Man
              wrote on last edited by
              #10

              @habitualdeep so he dosent get kicked for no fall because he use no ground

              1 Reply Last reply
              0
              • romnaedR romnaed

                How to make criticals turn off after 3 hits?

                ByGrafB Offline
                ByGrafB Offline
                ByGraf
                wrote on last edited by
                #11

                @romnaed
                var count = 0;
                var crit = moduleManager.getModule("Criticals");

                this.onAttack = function(event) {
                count = count+1;
                }

                this.onUpdate = function() {
                if (count == 3){
                crit.setState(false);
                count = 0;
                }
                }

                something like this it could look like idk if it works

                hope it helped

                Ali00035A 1 Reply Last reply
                0
                • ByGrafB ByGraf

                  @romnaed
                  var count = 0;
                  var crit = moduleManager.getModule("Criticals");

                  this.onAttack = function(event) {
                  count = count+1;
                  }

                  this.onUpdate = function() {
                  if (count == 3){
                  crit.setState(false);
                  count = 0;
                  }
                  }

                  something like this it could look like idk if it works

                  hope it helped

                  Ali00035A Offline
                  Ali00035A Offline
                  Ali00035
                  wrote on last edited by Ali00035
                  #12

                  @bygraf Here is the fixed version

                  var crit = moduleManager.getModule("Criticals");
                  var count = 0; 
                  this.onAttack = function() {
                  	count++
                  	} 
                  
                  this.onUpdate = function() {
                  	if (count == 3) { 
                  		crit.setState(false); 
                  		var count = 0; 
                  		} 
                  
                  ByGrafB 1 Reply Last reply
                  0
                  • Ali00035A Ali00035

                    @bygraf Here is the fixed version

                    var crit = moduleManager.getModule("Criticals");
                    var count = 0; 
                    this.onAttack = function() {
                    	count++
                    	} 
                    
                    this.onUpdate = function() {
                    	if (count == 3) { 
                    		crit.setState(false); 
                    		var count = 0; 
                    		} 
                    
                    ByGrafB Offline
                    ByGrafB Offline
                    ByGraf
                    wrote on last edited by
                    #13

                    @ali00035 nice 😄

                    Ali00035A 1 Reply Last reply
                    0
                    • ByGrafB ByGraf

                      @ali00035 nice 😄

                      Ali00035A Offline
                      Ali00035A Offline
                      Ali00035
                      wrote on last edited by
                      #14

                      @bygraf 😄

                      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