How do you damage yourself?
-
You can either get damage from items or from falling.
You can recreate falling by sending packets above and then sending to your position.
-
@plumer-man got it, I would send position packets right
-
@plumer-man sure, that would be great also can you tell me how to import/ use movement utils on a liquidscript im very new to this kind of thing
-
To import movement utils just use this.
var MovementUtils = Java.type('net.ccbluex.liquidbounce.utils.MovementUtils');
You can use it like this:
MovementUtils.strafe(motionvalue);
-
@plumer-man ok thank you
-
mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 3.01, mc.thePlayer.posZ, false)); mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ, false)); mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ, true));
Simple damage
-
@plumer-man got it thanks
-
@plumer-man I was just using set position 3 blocks into the air before this lol, also how would I increase my movement speed while flying without timer
-
@plumer-man ok
-
@plumer-man what would that look like?
-
@plumer-man like mc.theplayer.strafe = true
or how would that work -
@plumer-man ok thanks, also the damage thing from earlier is being weird and doesn't damage you
-
are you in singeplayer survival?
-
@plumer-man yes but I also tried it on several test servers also would you like to continue this conversation on discord because I can only chat every 2 minutes