[Script] No more shit Fireballs fucking you up like a bitch on Hypixel



  • AntiFireBall.js

    var scriptName = "AntiFireball";
    var scriptVersion = 1.0;
    var scriptAuthor = "york";
    var EntityLiving = Java.type('net.minecraft.entity.EntityLivingBase');
    var EntityFireball = Java.type('net.minecraft.entity.projectile.EntityLargeFireball');
    var C02PacketUseEntity = Java.type("net.minecraft.network.play.client.C02PacketUseEntity");
    var MSTimer = Java.type('net.ccbluex.liquidbounce.utils.timer.MSTimer');
    
    function AntiFireball() {
        this.getName = function() {
            return "AntiFireball";
        };
    
        this.getDescription = function() {
            return "Anti Fireball";
        };
    
        this.getCategory = function() {
            return "Misc";
        };
        var TimerF = new MSTimer();
        this.onUpdate = function() {
            for (var x in mc.theWorld.loadedEntityList) {
                var entities = mc.theWorld.loadedEntityList[x];
                if (entities != null && entities instanceof EntityFireball && mc.thePlayer.getDistanceToEntity(entities) < 5.5 && (TimerF.hasTimePassed(100) || lastEntity != entities)) {
                    lastEntity = entities;
                    mc.thePlayer.sendQueue.addToSendQueue(new C02PacketUseEntity(entities, C02PacketUseEntity.Action.ATTACK));
                    TimerF.reset();
                    break;
                }
            }
        }
        this.onEnable = function() {
            lastEntity = "";
        }
    }
    var AntiFireball = new AntiFireball();
    var AntiFireballClient;
    
    function onEnable() {
        AntiFireballClient = moduleManager.registerModule(AntiFireball);
    };
    
    function onDisable() {
        moduleManager.unregisterModule(AntiFireballClient);
    };
    

    Credits to some old 2014 client called WeepCraft for the idea 92e3d97e-4903-4a4a-b942-ced1df04ef4a-image.png



  • [SCRIPT] AntiFireBall would be better as a title lol



  • No, I fucking hate fireball abusers on Hypixel bedwars, fuck them



  • weebcraft



  • That's actually smart



  • I assume it works on every server?



  • @mems said in [Script] No more shit Fireballs fucking you up like a bitch on Hypixel:

    I assume it works on every server?

    Prob



  • swing and rotate when



  • Cool dude
    Send attack packet to the fireball
    Cool idea :axohmm:



  • Now it would be cool to add a silent rotation to the direction where the fireball came from or scan for the nearest player and shot in this direction


Log in to reply