Help with hypixel fly

Avatar

By soulplexis 15 February 2019 17:12

Donator · 166 comments

i almost got a bypass
the code i have so far is something like this: (I already have the ticks var declared)

this.onUpdate = function() {
        mc.thePlayer.motionY = 0.0;
        mc.thePlayer.setSprinting(false);
        mc.thePlayer.onGround = true;
        ticks++
        if(ticks == 2 || ticks == 4 || ticks == 6 || ticks == 8 || ticks == 10 || ticks == 12 || ticks == 14 || ticks == 16 || ticks == 18 || ticks == 20) {
        mc.thePlayer.setPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.00000000199, mc.thePlayer.posZ)
    } if(ticks == 20) {
    	ticks = 0;
    }
   }

But it's not bypassing yet, it needs to execute the setPosition and then multiply it by 1.5, and then setPosition again (normally) and multiply by 1.5... etc. but then it needs to take 1.5 divide it in half, and then use that number to multiply the next setposition, then divide that number in half and use it, so on.
help?

Last edited by soulplexis (15 February 2019 17:17)


ソルプレクサス

Avatar

By soulplexis 15 February 2019 17:27

Donator · 166 comments

Nevermind, it bypasses without the multiplying.


ソルプレクサス

Avatar

By scorpion3013 16 February 2019 06:33

Donator · 178 comments

btw, instead of using "        if(ticks == 2 || ticks == 4 || ticks == 6 || ticks == 8 || ticks == 10 || ticks == 12 || ticks == 14 || ticks == 16 || ticks == 18 || ticks == 20) {"

you could just do if (ticks % 2 == 0)


x9NRB1x.gif

Good paid alt-gen: The Altening
Discord: scorpion#3013 | Twitter: scorpien3013 | Keybase: scorpion3013 | Telegram: scorpien3013

Ms0EFcQ.gif

Avatar

By Shiv3R 16 February 2019 08:38

Member · 108 comments
scorpion3013 wrote

btw, instead of using "        if(ticks == 2 || ticks == 4 || ticks == 6 || ticks == 8 || ticks == 10 || ticks == 12 || ticks == 14 || ticks == 16 || ticks == 18 || ticks == 20) {"

you could just do if (ticks % 2 == 0)

yep he can, but easier : if(mc.thePlayer.ticksExisted % 2 == 0) {} :V

Last edited by Shiv3R (16 February 2019 09:55)

Avatar

By scorpion3013 16 February 2019 15:47

Donator · 178 comments
Shiv3R wrote
scorpion3013 wrote

btw, instead of using "        if(ticks == 2 || ticks == 4 || ticks == 6 || ticks == 8 || ticks == 10 || ticks == 12 || ticks == 14 || ticks == 16 || ticks == 18 || ticks == 20) {"

you could just do if (ticks % 2 == 0)

yep he can, but easier : if(mc.thePlayer.ticksExisted % 2 == 0) {} :V

problem with that is, if you start it mc.thePlayer.ticksExisted already has a value. Which makes it not reliable for stuff where you need to be precise at the start.

But yes, for stuff where it doesent matter its better


x9NRB1x.gif

Good paid alt-gen: The Altening
Discord: scorpion#3013 | Twitter: scorpien3013 | Keybase: scorpion3013 | Telegram: scorpien3013

Ms0EFcQ.gif

Avatar

By Shiv3R 16 February 2019 15:51

Member · 108 comments
scorpion3013 wrote
Shiv3R wrote
scorpion3013 wrote

btw, instead of using "        if(ticks == 2 || ticks == 4 || ticks == 6 || ticks == 8 || ticks == 10 || ticks == 12 || ticks == 14 || ticks == 16 || ticks == 18 || ticks == 20) {"

you could just do if (ticks % 2 == 0)

yep he can, but easier : if(mc.thePlayer.ticksExisted % 2 == 0) {} :V

problem with that is, if you start it mc.thePlayer.ticksExisted already has a value. Which makes it not reliable for stuff where you need to be precise at the start.

But yes, for stuff where it doesent matter its better

yes you are right.

and he could use if(ticks == 2){}
and if(ticks >2){
ticks = 0
}