var scriptName="ScaffoldAddon";var scriptVersion=1.0;var scriptAuthor="FaaatPotato and I got help by the nice DC Community <3.";var sAddon=new SAddon();var addonClient;var Speed=moduleManager.getModule("Speed")
var Scaffold=moduleManager.getModule("Scaffold")
var FreeCam=moduleManager.getModule("FreeCam")
var Fly=moduleManager.getModule("Fly")
var Velocity=moduleManager.getModule("Velocity")
Math.rad=function(deg){return deg*Math.PI/180;};function RotationMotion(offset){var playerYaw=Math.rad(mc.thePlayer.rotationYaw);mc.thePlayer.setPosition(mc.thePlayer.posX-(Math.sin(playerYaw)*offset),mc.thePlayer.posY,mc.thePlayer.posZ+(Math.cos(playerYaw)*offset));}
function SAddon(){var LoadSettings=value.createBoolean("LoadSettings",false);var SpeedJump=value.createBoolean("SpeedJump",true);var SpeedMotion=value.createBoolean("SpeedMotion",true);var AntiFlag=value.createBoolean("AntiFlag",true);var AntiFlagActivation=value.createInteger("AntiFlagActivation",20,1,100);var AntiFlagStrength=value.createFloat("AntiFlagStrength",0.01,0.05,0.30);var AutoFreecam=value.createBoolean("AutoFreecam",false);var FreeCamFallDistance=value.createInteger("FreeCamFallDistance",2,0,3);var SlowSpeed=value.createBoolean("SlowSpeed",false);var FastSpeed=value.createBoolean("FastSpeed",false);var OwO=value.createBoolean("OwO",false);this.getTag=function(){return "AAC3.2.2";};this.getName=function(){return "ScaffoldAddon";};this.getDescription=function(){return "A Simple ScaffoldAddon for Hive :) Have fun <3!";};this.getCategory=function(){return "World";};this.onEnable=function(){}
this.onUpdate=function(){if(Scaffold.getState()){if(SpeedJump.get()){if(mc.gameSettings.keyBindJump.pressed){Speed.setState(true);}
if(mc.gameSettings.keyBindJump.pressed==false){Speed.setState(false);}}
if(SpeedMotion.get()){if(mc.gameSettings.keyBindJump.pressed==false){mc.thePlayer.motionY=0.00001}
if(AntiFlag.get()){if(mc.gameSettings.keyBindJump.pressed==false){if(mc.thePlayer.ticksExisted%AntiFlagActivation.get()==0){var dir=Math.rad(mc.thePlayer.rotationYaw+180);mc.thePlayer.motionX+=-Math.sin(dir)*AntiFlagStrength.get()
mc.thePlayer.motionZ+=Math.cos(dir)*AntiFlagStrength.get()}}}}
if(AutoFreecam.get()){if(mc.thePlayer.fallDistance>FreeCamFallDistance.get()){Scaffold.setState(false);FreeCam.setState(true);}}}
if(LoadSettings.get()){commandManager.executeCommand(".scaffold mode normal");commandManager.executeCommand(".scaffold mindelay 0");commandManager.executeCommand(".scaffold maxdelay 0");commandManager.executeCommand(".scaffold placetiming pre");commandManager.executeCommand(".scaffold keeprotationlength 20");commandManager.executeCommand(".scaffold zittermode teleport");commandManager.executeCommand(".scaffold zitterspeed 0.08");commandManager.executeCommand(".scaffold zitterstrength 0.06");commandManager.executeCommand(".scaffold timer 1.05");commandManager.executeCommand(".scaffold speedmodifier 1.0");chat.print("§8§l[§9§lSettings§8§l] §a§lPlaceableDelay §2§lON");chat.print("§8§l[§9§lSettings§8§l] §a§lAutoBlock §2§lON");chat.print("§8§l[§9§lSettings§8§l] §a§lStayAutoBlock §2§lON");chat.print("§8§l[§9§lSettings§8§l] §a§lSprint §2§lON");chat.print("§8§l[§9§lSettings§8§l] §c§lSwing §4§lOFF");chat.print("§8§l[§9§lSettings§8§l] §a§lSearch §2§lON");chat.print("§8§l[§9§lSettings§8§l] §c§lDown §4§lOFF");chat.print("§8§l[§9§lSettings§8§l] §c§lEagle §4§l OFF");chat.print("§8§l[§9§lSettings§8§l] §c§lEagleSilent §4§lOFF");chat.print("§8§l[§9§lSettings§8§l] §a§lRotations §2§lON");chat.print("§8§l[§9§lSettings§8§l] §a§lKeepRotation §2§lON");chat.print("§8§l[§9§lSettings§8§l] §a§lZitter §2§lON");chat.print("§8§l[§9§lSettings§8§l] §c§lSameY §4§lOFF");chat.print("§8§l[§9§lSettings§8§l] §a§lSafeWalk §2§lON");chat.print("§8§l[§9§lSettings§8§l] §c§lAirSafe §4§lOFF");chat.print("§8§l[§9§lSettings§8§l] §a§lCounter §2§lON");chat.print("§8§l[§9§lSettings§8§l] §a§lMark §2§lON");chat.print("§8§l[§9§lSettings§8§l] §8§l...");chat.print("§8§l[§9§lSettings§8§l]");chat.print("§8§l[§9§lSettings§8§l] §7Settings Loaded to §875% §7Follow the instructions!");chat.print("§8§l[§9§lSettings§8§l]");chat.print("§8§l[§9§lSettings§8§l] §7I dont know how to set boleans w §8CommandManager§7. So u have to set the §8color marked§7 Booleans by ur self!");LoadSettings.set(false);}
if(OwO.get()){chat.print("§8§l[§c§lOwO§8§l]§c ──────▄▀▄─────▄▀▄");chat.print("§8§l[§c§lOwO§8§l]§c ─────▄█░░▀▀▀▀▀░░█▄");chat.print("§8§l[§c§lOwO§8§l]§c ─▄▄──█░░░░░░░░░░░█──▄▄");chat.print("§8§l[§c§lOwO§8§l]§c █▄▄█─█░░▀░░┬░░▀░░█─█▄▄█");chat.print("§8§l[§c§lOwO§8§l]§c                      People that §4helped§c me:");chat.print("§8§l[§c§lOwO§8§l]");chat.print("§8§l[§c§lOwO§8§l]§1                                    Max4k");chat.print("§8§l[§c§lOwO§8§l]§e                                  soulpleksis");chat.print("§8§l[§c§lOwO§8§l]§9                                    scorpi");chat.print("§8§l[§c§lOwO§8§l]§9                                    temmi");chat.print("§8§l[§c§lOwO§8§l]§e                                puuki <3 senki");chat.print("§8§l[§c§lOwO§8§l]");chat.print("§8§l[§c§lOwO§8§l]§c                  So many people §4helped§c me xd");chat.print("§8§l[§c§lOwO§8§l]§4                      Sorry§c if I §4forgot§c someone");chat.print("§8§l[§c§lOwO§8§l]");chat.print("§8§l[§c§lOwO§8§l]§9               Ty for ur Help DC Community!");chat.print("§8§l[§c§lOwO§8§l]§c────█░░█─█░░░█─█░░█");chat.print("§8§l[§c§lOwO§8§l]§c─────▀▀───█░░█──▀▀");chat.print("§8§l[§c§lOwO§8§l]§c──────────█░█");chat.print("§8§l[§c§lOwO§8§l]§c─────────█░░█");chat.print("§8§l[§c§lOwO§8§l]§c──────────██");OwO.set(false);}
if(SlowSpeed.get()){commandManager.executeCommand(".speed mode SlowHop");SlowSpeed.set(false);}
if(FastSpeed.get()){commandManager.executeCommand(".speed mode AAC3BHop");FastSpeed.set(false);}}
this.addValues=function(values){values.add(LoadSettings);values.add(SpeedJump);values.add(SpeedMotion);values.add(AntiFlag);values.add(AntiFlagActivation);values.add(AntiFlagStrength);values.add(FreeCamFallDistance);values.add(AutoFreecam);values.add(SlowSpeed);values.add(FastSpeed);values.add(OwO);}
this.onDisable=function(){}}
function onLoad(){};function onEnable(){addonClient=moduleManager.registerModule(sAddon);};function onDisable(){moduleManager.unregisterModule(addonClient);};