AntiAim

Most useful module

/*
name: Rotating script
author: wallhacks
*/
import { breeze, mc } from '../breeze_defs';


var yaw = 0;
var pitch = 0;

breeze.registerRotationModule("AntiAim", "Makes sure you are not hitting anyone", 100, {
    'enable': function() {
        yaw = mc.getPlayer().getYaw();
        pitch = mc.getPlayer().getPitch();
    },
    'rotate': function(rotation) {
        rotation.setInstant(true);
        rotation.setLegitWalk(false);
        //speed can be 0 since we are instant anyway
        yaw += Math.random()*19 + 8;    
        pitch+= Math.random()*23 + 4;
        rotation.rotate(yaw, pitch, 0);
    },
    'updateNoRotate': function() {
    
    }
});

Last updated