// From FDPClient
var cancelPacket = 6;
var resetPersec = 8;
var grimTCancel = 0;
var updates = 0;
var S12PacketEntityVelocity = Java.type("net.minecraft.network.play.server.S12PacketEntityVelocity");
var S32PacketConfirmTransaction = Java.type("net.minecraft.network.play.server.S32PacketConfirmTransaction");
var script = registerScript({
name: "GrimVelocity",
version: "1.0",
authors: ["IDK"]
});
script.registerModule({
name: "GrimVelocity",
description: "Fuck you GrimAC",
category: "Combat"
}, function(module) {
module.on("enable", function() {
grimTCancel = 0;
});
module.on("packet", function(e) {
var packet = e.getPacket();
if (packet instanceof S12PacketEntityVelocity && packet.entityID == mc.thePlayer.entityId) {
e.cancelEvent();
grimTCancel = cancelPacket;
}
if (packet instanceof S32PacketConfirmTransaction && grimTCancel > 0) {
e.cancelEvent();
grimTCancel--;
}
});
module.on("update", function() {
updates++;
if (resetPersec > 0) {
if (updates >= 0 || updates >= resetPersec) {
updates = 0;
if (grimTCancel > 0) {
grimTCancel--;
}
}
}
});
});
M
MihoyoOfficial
@MihoyoOfficial
Posts
-
[Request] anyone got grim velocity for liquidbounce b73 1.12.2? -
VulcanKeepsprint for killaura@9000miles its look like minemensprint, cuz minemensprint also set sprint false while sprinting backward
-
Explain about "player tick existed"@mems Thanks!
-
Explain about "player tick existed"Hey guy, who can explain me what is called "player tick existed" and how it work pls