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. Scripts
  3. finally did it (Script)

finally did it (Script)

Scheduled Pinned Locked Moved Scripts
3 Posts 3 Posters 585 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SoulplexisS Offline
    SoulplexisS Offline
    Soulplexis
    wrote on last edited by
    #1

    I have made a script which turn you into an anticheat bot. (Dont use it its useless and get u banned instantly)

    Math.radians = function(degrees) {
        return degrees * Math.PI / 180;
    };
    
    // Converts from radians to degrees.
    Math.degrees = function(radians) {
        return radians * 180 / Math.PI;
    };
    var EntityLiving = Java.type('net.minecraft.entity.EntityLivingBase');
    function randomIntFrom(min, max) {
        return Math.floor(Math.random() * (max - min + 1) + min);
    }
    var C04PacketPlayerPosition = Java.type('net.minecraft.network.play.client.C03PacketPlayer.C04PacketPlayerPosition');
    var KillAura = moduleManager.getModule("KillAura");
    var KillAuraRange = KillAura.getValue("Range");
    
    function getClosestEntity(){
    	var filteredEntites = []
    	for (var i in mc.theWorld.loadedEntityList){
    		var entity = mc.theWorld.loadedEntityList[i]
    
    		if (entity instanceof EntityLiving && entity !=mc.thePlayer && entity.isDead == false && entity.getHealth() > 0){
    			filteredEntites.push(entity)
    		}
    	}
    	filteredEntites.sort(function(a, b){
    		var distanceA = mc.thePlayer.getDistanceToEntity(a)
    		var distanceB = mc.thePlayer.getDistanceToEntity(b)
    
    		return distanceB - distanceA;
    	})
    	return filteredEntites[filteredEntites.length - 1]
    }
    
    function Module2() {
        var modes = value.createList("TeleportType", ["Normal", "Behind", "GWEN", "Watchdog"], "Normal");
        var Vertical = value.createBoolean("Vertical", false);
        var KillAuraOnly = value.createBoolean("KillAuraOnly", true);
        var Distance = value.createFloat("TeleportDistance", 4.25, -6, 6.0);
    	var VDistance = value.createFloat("TeleportVDistance", 4.25, -6, 6.0);
        var Packet = value.createBoolean("PacketTeleport", true);
        var Reset = value.createBoolean("PacketResetPosition", true);
        var CheckReach = value.createBoolean("CheckReach", true);
        var NoFall = value.createBoolean("NoFallDamage", true);
        var Debug = value.createBoolean("Debug", true);
        this.getName = function() {
            return "tparoundppl";
        };
    
        this.getDescription = function() {
            return "Teleports around people like ur a anticheat bot.";
        };
    
        this.getCategory = function() {
            return "Fun";
        };
        var target;
        var times = false
        this.onMotion = function() {
            var target = getClosestEntity();
            if (modes.get() == "Normal") {
                if (((CheckReach.get() && mc.thePlayer.getDistanceToEntity(target) < 10) || CheckReach.get() == false)) {
                    if (Packet.get() == false) {
                        if ((KillAuraOnly.get() && (KillAura.getState() == true)) || KillAuraOnly.get() == false) {
                            if (Vertical.get() == false) {
                                mc.thePlayer.setPosition(target.posX + randomIntFrom(-Distance.get(), Distance.get()), target.posY, target.posZ + randomIntFrom(-Distance.get(), Distance.get()))
                                mc.thePlayer.motionY = 0;
                            } else {
                                mc.thePlayer.motionY = 0;
                                mc.thePlayer.setPosition(target.posX + randomIntFrom(-Distance.get(), Distance.get()), target.posY + randomIntFrom(-VDistance.get(), VDistance.get()), target.posZ + randomIntFrom(-Distance.get(), Distance.get()))
                            }
                        }
                    } else {
                        if (!Vertical.get()) {
                            if (NoFall.get()) {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX + randomIntFrom(-Distance.get(), Distance.get()), target.posY, target.posZ + randomIntFrom(-Distance.get(), Distance.get()), true));
                            } else {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX + randomIntFrom(-Distance.get(), Distance.get()), target.posY, target.posZ + randomIntFrom(-Distance.get(), Distance.get()), target.onGround));
                            }
                            if (Reset.get()) {
                                times = true;
                            }
                        } else {
                            if (NoFall.get()) {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX + randomIntFrom(-Distance.get(), Distance.get()), target.posY + (randomIntFrom(-VDistance.get(), VDistance.get())), target.posZ + randomIntFrom(-Distance.get(), Distance.get()), true));
                            } else {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX + randomIntFrom(-Distance.get(), Distance.get()), target.posY + (randomIntFrom(-VDistance.get(), VDistance.get())), target.posZ + randomIntFrom(-Distance.get(), Distance.get()), target.onGround));
                            }
    
                            if (Reset.get()) {
                                times = true;
                            }
                        }
                        if (Debug.get()) {
                            chat.print("packeted");
                        }
                    }
                }
            }
            if (modes.get() == "Behind") {
                //target.posX - (Math.sin(targetYaw) * Distance.get()), target.posY, target.posZ + (Math.cos(targetYaw) * Distance.get()), target.onGround
                var targetYaw = Math.radians(target.rotationYaw);
                if (((CheckReach.get() && mc.thePlayer.getDistanceToEntity(target) < 10) || CheckReach.get() == false)) {
                    if (Packet.get() == false) {
                        if ((KillAuraOnly.get() && (KillAura.getState() == true)) || KillAuraOnly.get() == false) {
                            if (Vertical.get() == false) {
                                mc.thePlayer.setPosition(target.posX - (Math.sin(targetYaw) * Distance.get()), target.posY, target.posZ + (Math.cos(targetYaw) * Distance.get()))
                                mc.thePlayer.motionY = 0;
                            }
                        }
                    } else {
                        if (!Vertical.get()) {
                            if (NoFall.get()) {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX - (Math.sin(targetYaw) * Distance.get()), target.posY, target.posZ + (Math.cos(targetYaw) * Distance.get()), true));
                            } else {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX - (Math.sin(targetYaw) * Distance.get()), target.posY, target.posZ + (Math.cos(targetYaw) * Distance.get()), target.onGround));
                            }
                            if (Reset.get()) {
                                times = true;
                            }
                        }
                        if (Debug.get()) {
                            chat.print("packeted");
                        }
                    }
                }
            }
            if (modes.get() == "GWEN") {
                var targetYaw = Math.radians(target.rotationYaw);
                if (((CheckReach.get() && mc.thePlayer.getDistanceToEntity(target) < 10) || CheckReach.get() == false)) {
                    if (Packet.get() == false) {
    					if(!(mc.thePlayer.ticksExisted % randomIntFrom(0,100))) {
                        if ((KillAuraOnly.get() && (KillAura.getState() == true)) || KillAuraOnly.get() == false) {
                            if (Vertical.get() == false) {
                                mc.thePlayer.setPosition(target.posX - (Math.sin(targetYaw) * Distance.get()), target.posY, target.posZ + (Math.cos(targetYaw) * Distance.get()))
                                mc.thePlayer.motionY = 0;
                            }
                        }
    					} else if(target.rotationPitch > -40){ // if the player lookin down more than that then go up
    						mc.thePlayer.setPosition(target.posX + randomIntFrom(-.1, .1), target.posY + VDistance.get(), target.posZ + randomIntFrom(-.1, .1))
    					} else { // if the player lookin up then go back
    						mc.thePlayer.setPosition(target.posX - (Math.sin(targetYaw) * Distance.get()), target.posY, target.posZ + (Math.cos(targetYaw) * Distance.get()))
    					}
                    } else {
    					if(!(mc.thePlayer.ticksExisted % randomIntFrom(0,100))) {
                        if (!Vertical.get()) {
                            if (NoFall.get()) {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX - (Math.sin(targetYaw) * Distance.get()), target.posY, target.posZ + (Math.cos(targetYaw) * Distance.get()), true));
                            } else {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX - (Math.sin(targetYaw) * Distance.get()), target.posY, target.posZ + (Math.cos(targetYaw) * Distance.get()), target.onGround));
                            }
                            if (Reset.get()) {
                                times = true;
                            }
                        }
                        if (Debug.get()) {
                            chat.print("packeted");
                        }
                    } else if(target.rotationPitch > -40){ // move it up and shit
                            if (NoFall.get()) {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX + randomIntFrom(-.1, .1), target.posY + (randomIntFrom(-VDistance.get(), VDistance.get())), target.posZ + randomIntFrom(-.1, .1), true));
                            } else {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX + randomIntFrom(-.1, .1), target.posY + (randomIntFrom(-VDistance.get(), VDistance.get())), target.posZ + randomIntFrom(-.1, .1), target.onGround));
                            }
    				} else {
                            if (NoFall.get()) {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX - (Math.sin(targetYaw) * Distance.get()), target.posY, target.posZ + (Math.cos(targetYaw) * Distance.get()), true));
                            } else {
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(target.posX - (Math.sin(targetYaw) * Distance.get()), target.posY, target.posZ + (Math.cos(targetYaw) * Distance.get()), target.onGround));
                            }
    				}
    				}
                }
            }
        }
        this.onUpdate = function() {
            if (Reset.get() && Packet.get() && times == true) {
                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ, mc.thePlayer.onGround));
                times = false;
                if (Debug.get()) {
                    chat.print("reset");
                }
            }
        }
        this.addValues = function(value) {
            value.add(modes);
            value.add(Distance);
    		value.add(VDistance);
            value.add(KillAuraOnly);
            value.add(Vertical);
            value.add(Packet);
            value.add(Reset);
            value.add(NoFall);
            value.add(CheckReach);
            value.add(Debug);
        }
    }
    var Module2 = new Module2();
    var Module2Client;
    
    
    
    
    
    function onEnable() {
        ModuleClient = moduleManager.registerModule(Module);
    	Module2Client = moduleManager.registerModule(Module2);
    };
    
    function onDisable() {
        moduleManager.unregisterModule(ModuleClient);
    	moduleManager.unregisterModule(Module2Client);
    };
    
    1 Reply Last reply
    1
    • DreamWasFuckedD Offline
      DreamWasFuckedD Offline
      DreamWasFucked
      wrote on last edited by
      #2

      works on matrix ??

      ? 1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        replied to DreamWasFucked on last edited by
        #3

        @skidma yesyes

        @Soulplexis why did you spend time on a long and rather complicated script you call "useless".............................

        1 Reply Last reply
        0

        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