Greasy Fork

KRUNKER.IO AIMBOT, XRAY, SPINBOT, WIREFRAME, AND MORE BY who?

NOTKrunker's Mod Menu Aimbot targets nearest VISIBLE player. Adjust Smoothing for precision. Use Xray to see through walls, wireframe for players & world, and more

< 脚本KRUNKER.IO AIMBOT, XRAY, SPINBOT, WIREFRAME, AND MORE BY who?的反馈

评价:好评 - 脚本运行良好

§
发表于:2024-07-12
编辑于:2024-07-12

Add this at the top:
(You can holf Shift for a more controlled aimbot, just rebind crouch to ctrl or something)


let shiftDown = false;

document.addEventListener('keydown', function(event) {
if (event.key === 'Shift') {
shiftDown = true;
}
});

document.addEventListener('keyup', function(event) {
if (event.key === 'Shift') {
shiftDown = false;
}
});

Then change this too:


if (myController !== undefined && PlayerTarget !== undefined) {
if (DOGEWARE.aimbot.krunkAimbot && shiftDown) {
try {
const dist = PlayerTarget.position.distanceTo(myController.position);
Vector.setScalar(0);
PlayerTarget.children[0].children[4].children[0].localToWorld(Vector);
HoldObject.position.copy(myController.position);
HoldObject.lookAt(Vector.x, Vector.y, Vector.z);

const targetRotationX = -HoldObject.rotation.x + DOGEWARE.aimbot.AimOffset / dist * 5;
const targetRotationY = HoldObject.rotation.y + Math.PI;
myController.children[0].rotation.x += (targetRotationX - myController.children[0].rotation.x) * DOGEWARE.aimbot.smoothingFactor;
myController.rotation.y += (targetRotationY - myController.rotation.y) * DOGEWARE.aimbot.smoothingFactor;
} catch (error) {
console.error(error);
}
}
}

发表回复

登录以发表回复。