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. Kotlin/Java
  3. Help omgomg

Help omgomg

Scheduled Pinned Locked Moved Unsolved Kotlin/Java
2 Posts 1 Posters 252 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.
  • BobikHatarB Offline
    BobikHatarB Offline
    BobikHatar
    wrote on last edited by BobikHatar
    #1
    @EventTarget
    private fun onBobik(event: MoveEvent) {
        var isChanged : Boolean = false
        var oldStrafe : Int = 0
        if (killAuraEnableTargetStrafe.get()) {
            if (killAura.rotationStrafeValue.get().toLowerCase().equals("off") || killAura.rotationStrafeValue.get().toLowerCase().equals("silent") || killAura.rotationStrafeValue.get().toLowerCase().equals("strict") && killAura.state == true && speed.state == true && state == true) {
                if (killAura.rotationStrafeValue.get().toLowerCase().equals("off")) { oldStrafe = 1 }
                if (killAura.rotationStrafeValue.get().toLowerCase().equals("silent")) { oldStrafe = 2 }
                if (killAura.rotationStrafeValue.get().toLowerCase().equals("strict")) { oldStrafe = 3 }
    
                killAura.rotationStrafeValue.changeValue("TargetStrafe")
                isChanged = true
            }
            if (isChanged == true) {
                if (killAura.state == false || speed.state == false || state == false) {
                    if (oldStrafe == 1) {
                        killAura.rotationStrafeValue.changeValue("Off")
                        oldStrafe = 0
                        isChanged = false
                    }
                    if (oldStrafe == 2) {
                        killAura.rotationStrafeValue.changeValue("Silent")
                        oldStrafe = 0
                        isChanged = false
                    }
                    if (oldStrafe == 3) {
                        killAura.rotationStrafeValue.changeValue("Strict")
                        oldStrafe = 0
                        isChanged = false
                    }
                }
            }
        }
    }
    

    why it doesnt want to return old values? idk im dumb
    if if if if if if if if if if if if if if if if if if if if if if if if if

    BobikHatarB 1 Reply Last reply
    0
    • BobikHatarB BobikHatar
      @EventTarget
      private fun onBobik(event: MoveEvent) {
          var isChanged : Boolean = false
          var oldStrafe : Int = 0
          if (killAuraEnableTargetStrafe.get()) {
              if (killAura.rotationStrafeValue.get().toLowerCase().equals("off") || killAura.rotationStrafeValue.get().toLowerCase().equals("silent") || killAura.rotationStrafeValue.get().toLowerCase().equals("strict") && killAura.state == true && speed.state == true && state == true) {
                  if (killAura.rotationStrafeValue.get().toLowerCase().equals("off")) { oldStrafe = 1 }
                  if (killAura.rotationStrafeValue.get().toLowerCase().equals("silent")) { oldStrafe = 2 }
                  if (killAura.rotationStrafeValue.get().toLowerCase().equals("strict")) { oldStrafe = 3 }
      
                  killAura.rotationStrafeValue.changeValue("TargetStrafe")
                  isChanged = true
              }
              if (isChanged == true) {
                  if (killAura.state == false || speed.state == false || state == false) {
                      if (oldStrafe == 1) {
                          killAura.rotationStrafeValue.changeValue("Off")
                          oldStrafe = 0
                          isChanged = false
                      }
                      if (oldStrafe == 2) {
                          killAura.rotationStrafeValue.changeValue("Silent")
                          oldStrafe = 0
                          isChanged = false
                      }
                      if (oldStrafe == 3) {
                          killAura.rotationStrafeValue.changeValue("Strict")
                          oldStrafe = 0
                          isChanged = false
                      }
                  }
              }
          }
      }
      

      why it doesnt want to return old values? idk im dumb
      if if if if if if if if if if if if if if if if if if if if if if if if if

      BobikHatarB Offline
      BobikHatarB Offline
      BobikHatar
      wrote on last edited by
      #2

      @bobikhatar said in Help omgomg:

      state == false

      targetstrafe state

      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