Derp remade x2

Avatar

By Etho 2 September 2019 04:23

Member · 6 comments

about to flex on soulplexis

var scriptName = "Derp";
var scriptVersion = 1.0;
var scriptAuthor = "Etho";

// <3
function randomInt(min,max){
    return Math.floor(Math.random()*(max-min+1)+min);
}
var C05PacketPlayerLook= Java.type('net.minecraft.network.play.client.C03PacketPlayer.C05PacketPlayerLook');

function Derp() {

    var Rotations = value.createBoolean("Silent-Rotations", false)

    this.getName = function() {
        return "DerpR";
    }

    this.getCategory = function() {
        return "Fun";   
    }

    this.getDescription = function() {
        return "Derp but customizeable";
    }

    this.onUpdate = function() {
        if(Rotations.get() == true) {
            mc.thePlayer.sendQueue.addToSendQueue(new C05PacketPlayerLook(mc.thePlayer.rotationYaw, randomInt(0,360), true));
            mc.thePlayer.sendQueue.addToSendQueue(new C05PacketPlayerLook(mc.thePlayer.rotationPitch, randomInt(-90,90), true));
        } else {
            mc.thePlayer.rotationYaw = randomInt(0,360);
            mc.thePlayer.rotationPitch = randomInt(-90,90);
        }	
    }
    
    this.addValues = function(values) {
        values.add(Rotations);
    }
}

var derp = new Derp();
var derpClient;

function onEnable() {
    derpClient = moduleManager.registerModule(derp);
}

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

I do things

Avatar

By Sms_Gamer_3808 2 September 2019 04:36

Member · 594 comments

lol


I don't exist

Avatar

By soulplexis 2 September 2019 15:22

Donator · 479 comments

jokes on you, i quit


【ソルプレクサス】

Avatar

By yorik100 2 September 2019 15:30

Member · 307 comments

Shouldn't work when player is manually moving head and should flag for more packets