Обход античита [FunTime] NoSlow

Author: @Fabos1337

NoSlow FunTime:
Expand Collapse Copy
 public class NoSlow extends Module {
    public static NoSlow getInstance() {
        return Instance.get(NoSlow.class);
    }
    private final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);
    private final StopWatch stopWatch = new StopWatch();

    @EventHandler
    public void onSlowWalk(SlowWalkingEvent e) {
        if (mc.player == null || mc.player.isElytraFlying()) return;
        if (!isBlockUnderWithMotion() && mc.player.isOnGround() && !mc.player.movementInput.jump && !mc.player.isPotionActive(Effects.SLOWNESS)) {
            float boost = mc.player.moveStrafing == 0 || mc.player.moveForward == 0 ? 0.015F : 0F;
            float speed = mc.player.isPotionActive(Effects.SPEED) ? 0.35F : 0.3f;
            MoveUtil.setSpeed(speed + boost);
            if (stopWatch.finished(120) && PlayerUtil.isFuntime()) {
                BlockPos.getAllInBox(mc.player.getBoundingBox().offset(0, -1e-1, 0)).filter(pos -> !mc.world.getBlockState(pos).isAir())
                        .forEach(pos -> mc.player.connection.sendPacket(new CPlayerDiggingPacket(CPlayerDiggingPacket.Action.STOP_DESTROY_BLOCK, pos, Direction.UP)));
                mc.player.connection.sendPacket(new CEntityActionPacket(mc.player, CEntityActionPacket.Action.PRESS_SHIFT_KEY));
                scheduler.schedule(() -> mc.player.connection.sendPacket(new CEntityActionPacket(mc.player, CEntityActionPacket.Action.RELEASE_SHIFT_KEY)), 1, TimeUnit.MILLISECONDS);
                stopWatch.reset();
            }
        }
    }

    public boolean isBlockUnderWithMotion() {
        AxisAlignedBB aab = mc.player.getBoundingBox().offset(mc.player.getMotion().x, -1e-1, mc.player.getMotion().z);
        return mc.world.getCollisionShapes(mc.player, aab).toList().isEmpty();
    }
}
скинь эвент
 

ClientPlayerEntity
1738082280259.png
 
Последнее редактирование:

Пожалуйста, зарегистрируйтесь или авторизуйтесь, чтобы увидеть содержимое.


Код:
Expand Collapse Copy
    if (this.isHandActive() && !this.isPassenger()) {
        final SlowWalkingEvent event = new SlowWalkingEvent(this.movementInput.moveForward, this.movementInput.moveStrafe);
        event.hook();

        if (!event.isCancelled()) {
            this.movementInput.moveStrafe *= 0.2F;
            this.movementInput.moveForward *= 0.2F;
            this.sprintToggleTimer = 0;
        }
    }
кому надо
 
Последнее редактирование:
Делал на базе екселлента, просто импортнул классы и заменил stopWatch.finished(120) на System.currentTimeMillis() - startTime >= duration и все заработало(long startTime = System.currentTimeMillis();long duration = 120;)
 
Скрытое содержимое

Код:
Expand Collapse Copy
    if (this.isHandActive() && !this.isPassenger {
        final SlowWalkingEvent event = new SlowWalkingEvent(this.movementInput.moveForward, this.movementInput.moveStrafe);
        event.hook();

        if (!event.isCancelled()) {
            this.movementInput.moveStrafe *= 0.2F;
            this.movementInput.moveForward *= 0.2F;
            this.sprintToggleTimer = 0;
        }
    }
кому надо
и нахуй ты это скинул?
 
Author: @Fabos1337

NoSlow FunTime:
Expand Collapse Copy
 public class NoSlow extends Module {
    public static NoSlow getInstance() {
        return Instance.get(NoSlow.class);
    }
    private final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);
    private final StopWatch stopWatch = new StopWatch();

    @EventHandler
    public void onSlowWalk(SlowWalkingEvent e) {
        if (mc.player == null || mc.player.isElytraFlying()) return;
        if (!isBlockUnderWithMotion() && mc.player.isOnGround() && !mc.player.movementInput.jump && !mc.player.isPotionActive(Effects.SLOWNESS)) {
            float boost = mc.player.moveStrafing == 0 || mc.player.moveForward == 0 ? 0.015F : 0F;
            float speed = mc.player.isPotionActive(Effects.SPEED) ? 0.35F : 0.3f;
            MoveUtil.setSpeed(speed + boost);
            if (stopWatch.finished(120) && PlayerUtil.isFuntime()) {
                BlockPos.getAllInBox(mc.player.getBoundingBox().offset(0, -1e-1, 0)).filter(pos -> !mc.world.getBlockState(pos).isAir())
                        .forEach(pos -> mc.player.connection.sendPacket(new CPlayerDiggingPacket(CPlayerDiggingPacket.Action.STOP_DESTROY_BLOCK, pos, Direction.UP)));
                mc.player.connection.sendPacket(new CEntityActionPacket(mc.player, CEntityActionPacket.Action.PRESS_SHIFT_KEY));
                scheduler.schedule(() -> mc.player.connection.sendPacket(new CEntityActionPacket(mc.player, CEntityActionPacket.Action.RELEASE_SHIFT_KEY)), 1, TimeUnit.MILLISECONDS);
                stopWatch.reset();
            }
        }
    }

    public boolean isBlockUnderWithMotion() {
        AxisAlignedBB aab = mc.player.getBoundingBox().offset(mc.player.getMotion().x, -1e-1, mc.player.getMotion().z);
        return mc.world.getCollisionShapes(mc.player, aab).toList().isEmpty();
    }
}
ss?
 

Похожие темы

Назад
Сверху Снизу