how do i use hclip in the script api,
-
because everyone is mad
so nobody is mad
anyways https://en.wikipedia.org/wiki/Trigonometry -
@plumer-man lmao
-
@plumer-man 100 perecent no skid no autmon skid
-
@britishbiscuit Thanks you're code worked the best!, also your english wasn't the worst!
-
@britishbiscuit anyways
@MimikyuinMovementUtils = Java.type("net.ccbluex.liquidbounce.utils.MovementUtils") MovementUtils.strafe(distance) to move in a direction according to WASD MovementUtils.forward(distance)...... regardless of WASD
-
@czechhek said in how do i use hclip in the script api,:
@britishbiscuit anyways
@MimikyuinMovementUtils = Java.type("net.ccbluex.liquidbounce.utils.MovementUtils") MovementUtils.strafe(distance) to move in a direction according to WASD MovementUtils.forward(distance)...... regardless of WASD
I can guess that it won't go through blocks, unlike actually hclipping
-
@yorik100 said in how do i use hclip in the script api,:
@czechhek said in how do i use hclip in the script api,:
@britishbiscuit anyways
@MimikyuinMovementUtils = Java.type("net.ccbluex.liquidbounce.utils.MovementUtils") MovementUtils.strafe(distance) to move in a direction according to WASD MovementUtils.forward(distance)...... regardless of WASD
I can guess that it won't go through blocks, unlike actually hclipping
it's the same...
-
@sigma-bot said in how do i use hclip in the script api,:
@yorik100 said in how do i use hclip in the script api,:
@czechhek said in how do i use hclip in the script api,:
@britishbiscuit anyways
@MimikyuinMovementUtils = Java.type("net.ccbluex.liquidbounce.utils.MovementUtils") MovementUtils.strafe(distance) to move in a direction according to WASD MovementUtils.forward(distance)...... regardless of WASD
I can guess that it won't go through blocks, unlike actually hclipping
it's the same...
No it's not.
mc.thePlayer.setPosition(mc.thePlayer.posX, mc.thePlayer.posY + (-Math.sin(yaw) - blocks), mc.thePlayer.posZ + (Math.cos(yaw) - blocks));
That's what you put in clipper.
-
ok
module.on("enable", function() { Clip(10, 0); }) //[....] function Clip(hClip, vClip) { mc.thePlayer.setPosition(mc.thePlayer.posX - Math.sin(mc.thePlayer.rotationYaw * Math.PI / 180) * hClip, mc.thePlayer.posY + vClip, mc.thePlayer.posZ + Math.cos(mc.thePlayer.rotationYaw * Math.PI / 180) * hClip); }