CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Unsolved [Legendary] How can I make a script exclude players? (like the AntiBot)

    ScriptAPI
    2
    3
    117
    Loading More Posts
    • 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.
    • suicidemouse33
      suicidemouse33 Banned last edited by suicidemouse33

      the [Legendary] in the title is a joke.

      i am trying to make a forcedtarget script (the concept for the script is that the script excludes players if a player name doesn't equal to your specified target name)

      excluding players should be like the one in the AntiBot module.

      any help will be appreciated.

          for (var i in mc.theWorld.loadedEntityList) {
              var e = mc.theWorld.loadedEntityList[i];
              if (e.getName() != module.settings.TargetName.get()) {
                  //the excluding part
              }
          }
      
      CzechHek 1 Reply Last reply Reply Quote 0
      • Deleted by  suicidemouse33 suicidemouse33 
      • Restored by  suicidemouse33 suicidemouse33 
      • suicidemouse33
        suicidemouse33 Banned last edited by

        ok i accidentally deleted this thread because im sleepy rn

        anyways

        1 Reply Last reply Reply Quote 0
        • CzechHek
          CzechHek @suicidemouse33 last edited by CzechHek

          @suicidemouse You can enable wasinvisible option in AntiBot and edit the list of players that were invisible manually and exclude them that way.

          or if you don't want to blacklist all other players than your target then you can use the needhit option and edit list of players that you hit

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          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