need help making a samey check for a anticheat
Unsolved
ScriptAPI
-
var ticksFlight = 0; module.on("motion", function(e){ var player = mc.thePlayer; if(player.posY == player.prevPosY){ ticksFlight++; if(ticksFlight > 120 && ticksFlight % 20 == 0){ Chat.print("§9§lVerus §r§8> §r" + player.getDisplayName().getUnformattedText() + " §7failed §rFly §7VL[§9" + ticksFlight + "§7]"); } }else{ ticksFlight = 0; } });
works for mc.thePlayer