[Legendary] How can I make a script exclude players? (like the AntiBot)
Unsolved
ScriptAPI
-
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 } }
-
-
-
ok i accidentally deleted this thread because im sleepy rn
anyways
-
@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