Autobypass for AAC v3 (code)

Avatar

By soulplexis 1 April 2019 17:40

Donator · 404 comments

This took a while and it might not be perfect, I tried to disable most things which definitely dont bypass, but leave stuff that may bypass some places but add a small warning that they might not work. I tried to make the warnings not too spammy, if they're too much just raise the delay which is 45 down there

var scriptName = "AutoBypass - AAC"; 
var scriptVersion = 1.0; 
var scriptAuthor = "soulplexis";

var antiAac = new AntiAac();
var antiAacClient;

var AirJump = moduleManager.getModule("AirJump");
var AirLadder = moduleManager.getModule("AirLadder");
var AntiBot = moduleManager.getModule("AntiBot");
var BlockWalk = moduleManager.getModule("BlockWalk");
var BufferSpeed = moduleManager.getModule("BufferSpeed");
var Blink = moduleManager.getModule("Blink");
var ConsoleSpammer = moduleManager.getModule("ConsoleSpammer");
var CivBreak = moduleManager.getModule("CivBreak");
var FastClimb = moduleManager.getModule("FastClimb");
var FastBreak = moduleManager.getModule("FastBreak");
var FastUse = moduleManager.getModule("FastUse");
var FastStairs = moduleManager.getModule("FastStairs");
var HighJump = moduleManager.getModule("HighJump");
var LadderJump = moduleManager.getModule("LadderJump");
var LiquidWalk = moduleManager.getModule("LiquidWalk");
var NoClip = moduleManager.getModule("NoClip");
var NoWeb = moduleManager.getModule("NoWeb");
var NoFall = moduleManager.getModule("NoFall");
var GodMode = moduleManager.getModule("GodMode");
var Regen = moduleManager.getModule("Regen");
var Zoot = moduleManager.getModule("Zoot");
var ServerCrasher = moduleManager.getModule("ServerCrasher");
var TeleportHit = moduleManager.getModule("TeleportHit");
var Nuker = moduleManager.getModule("Nuker");
var Spammer = moduleManager.getModule("Spammer");
var Paralyze = moduleManager.getModule("Paralyze");
var FastBow = moduleManager.getModule("FastBow");
var NoPitchLimit = moduleManager.getModule("NoPitchLimit");
var Fly = moduleManager.getModule("Fly");
var Timer = moduleManager.getModule("Timer");
var LongJump = moduleManager.getModule("LongJump");
var Sneak = moduleManager.getModule("Sneak");
var WallClimb = moduleManager.getModule("WallClimb");
var WallGlide = moduleManager.getModule("WallGlide");
var WaterSpeed = moduleManager.getModule("WaterSpeed");
var WaterFly = moduleManager.getModule("WaterFly");
var Criticals = moduleManager.getModule("Criticals");
var Liquids = moduleManager.getModule("Liquids");
var GhostHand = moduleManager.getModule("GhostHand");
var ItemTeleport = moduleManager.getModule("ItemTeleport");
var Phase = moduleManager.getModule("Phase");
var IceSpeed = moduleManager.getModule("IceSpeed");
var HitBox = moduleManager.getModule("HitBox");
var Strafe = moduleManager.getModule("Strafe");
var Trigger = moduleManager.getModule("Trigger");
var BugUp = moduleManager.getModule("BugUp");
var Teleport = moduleManager.getModule("Teleport");

function AntiAac() {
	var ticks = 0;
    this.getName = function() {
        return "AntiAAC";
    };

    this.getDescription = function() {
        return "Autobypass aimed at AAC v3.";
    };

    this.getCategory = function() {
        return "Misc";
    };
	this.onEnable = function() {
		commandManager.executeCommand(".config load aac");
	}
	this.onUpdate = function() {
		Regen.setState(false);
		NoPitchLimit.setState(false);
		AirJump.setState(false);
		LadderJump.setState(false);
		Zoot.setState(false);
		ServerCrasher.setState(false);
		Liquids.setState(false);
		TeleportHit.setState(false);
		ConsoleSpammer.setState(false);
		GhostHand.setState(false);
		CivBreak.setState(false);
		Nuker.setState(false);
		WaterFly.setState(false);
		Strafe.setState(false);
		Paralyze.setState(false);
		FastBow.setState(false);
		IceSpeed.setState(false);
		FastBreak.setState(false);
		LiquidWalk.setState(false);
		BugUp.setState(false);
		FastStairs.setState(false);
		Criticals.setState(false);
		HitBox.setState(false);
		Trigger.setState(false);
		NoClip.setState(false);
		Blink.setState(false);
		if(mc.timer.timerSpeed >= 2) {
			mc.timer.timerSpeed *= 0.2
		} if(Phase.state == true) {
			ticks++;
			if(ticks >= 45) {
				chat.print("§8§l[§9§lLiquidBounce§8§l] §cPhase may not bypass AAC!")
				ticks = 0;
			}
		} if(FastUse.state == true) {
			ticks++;
			if(ticks >= 45) {
				ticks = 0;
				chat.print("§8§l[§9§lLiquidBounce§8§l] §cFastUse may not bypass AAC!")
			}
		} if(HighJump.state == true) {
			ticks++;
		     if(ticks >= 45) {
				 ticks = 0;
				 chat.print("§8§l[§9§lLiquidBounce§8§l] §cHighJump may not bypass AAC!")
			 }
		} if(NoFall.state == true) {
			ticks++;
			if(ticks >= 45) {
				ticks = 0;
				chat.print("§8§l[§9§lLiquidBounce§8§l] §cNoFall may not bypass AAC!")
			}
		} if(BlockWalk.state == true) {
			ticks++;
			if(ticks >= 45 ) {
				ticks = 0;
				chat.print("§8§l[§9§lLiquidBounce§8§l] §cBlockWalk may not bypass AAC!")
			}
	} if(BufferSpeed.state == true) {
		ticks++;
		if(ticks >= 45 ) {
			ticks = 0;
			chat.print("§8§l[§9§lLiquidBounce§8§l] §cBufferSpeed may not bypass AAC!")
		}
	} if(WallClimb.state == true) {
		ticks++;
		if(ticks >= 45 ) {
			ticks = 0;
			chat.print("§8§l[§9§lLiquidBounce§8§l] §cWallClimb may not bypass AAC!")
		}
	} if(Tower.state == true) {
		ticks++;
		if(ticks >= 45 ) {
			ticks = 0;
			chat.print("§8§l[§9§lLiquidBounce§8§l] §cTower may not bypass AAC!")
		}
	} if(Teleport.state == true) {
		ticks++;
		if(ticks >= 45 ) {
			ticks = 0;
			chat.print("§8§l[§9§lLiquidBounce§8§l] §cTeleport does not bypass AAC v3!")
		}
	} if(ItemTeleport.state == true) {
		ticks++;
		if(ticks >= 45 ) {
			ticks = 0;
			chat.print("§8§l[§9§lLiquidBounce§8§l] §cItemTeleport may not bypass AAC")
		}
	}
	}
    this.onDisable = function() {
    }
}

function onLoad() {
};

function onEnable() {
    antiAacClient = moduleManager.registerModule(antiAac);
};

function onDisable() {
    moduleManager.unregisterModule(antiAacClient);
};

【ソルプレクサス】

Avatar

By Aftery 3 April 2019 00:37

Member · 43 comments

why do you increment ticks counter for every if statement


@Aftery#4085 on discord.

Avatar

By soulplexis 3 April 2019 22:17

Donator · 404 comments
Aftery wrote

why do you increment ticks counter for every if statement

so that it doesn't spam the shit out of you


【ソルプレクサス】