Code:
if (mc.thePlayer.onGround) {
mc.thePlayer.jump();
}
if (mc.thePlayer.onGround) {
mc.thePlayer.jump();
}
Code:if (mc.thePlayer.onGround) { mc.thePlayer.jump(); }
if (player.isHacking()) {
player.ban();
}
Ik its a joke but that doesn't existHuh. That's pretty good. I came up with some code for detecting a cheater, too, here it is (top secret):
Code:if (player.isHacking()) { player.ban(); }
Make sure you don't tell anyone else, this is cutting-edge stuff!
I forgot about that xDNot bad code, but you should also add a check if the player is in water and lava because you would jump in water and in lava like how you would jump normally on ground
Prevent necroposting next time ;)if player != {jumping}
{jump}
else {dont};
lockedPrevent necroposting next time ;)
3.4 - No reviving inactive threads without reason. Does not apply to news posts, games, or introduction threads.