Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. Scripts
  3. How do you damage yourself?

How do you damage yourself?

Scheduled Pinned Locked Moved Scripts
42 Posts 4 Posters 2.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xunder
    wrote on last edited by
    #1

    Im trying to create a damage fly for hycraft but idk how to damage myself also I just started making scripts like 2 days ago so don't judge

    Plumer ManP suicidemouse33S 2 Replies Last reply
    0
    • Plumer ManP Offline
      Plumer ManP Offline
      Plumer Man
      replied to xunder on last edited by
      #2

      You can either get damage from items or from falling.

      You can recreate falling by sending packets above and then sending to your position.

      X 1 Reply Last reply
      0
      • X Offline
        X Offline
        xunder
        replied to Plumer Man on last edited by xunder
        #3

        @plumer-man got it, I would send position packets right

        Plumer ManP 1 Reply Last reply
        0
        • Plumer ManP Offline
          Plumer ManP Offline
          Plumer Man
          replied to xunder on last edited by
          #4

          @xunder yes
          if you want an example i can send

          X 1 Reply Last reply
          0
          • X Offline
            X Offline
            xunder
            replied to Plumer Man on last edited by
            #5

            @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

            Plumer ManP 1 Reply Last reply
            0
            • Plumer ManP Offline
              Plumer ManP Offline
              Plumer Man
              replied to xunder on last edited by Plumer Man
              #6

              To import movement utils just use this.

              var MovementUtils = Java.type('net.ccbluex.liquidbounce.utils.MovementUtils');
              

              https://github.com/CCBlueX/LiquidBounce/blob/legacy/src/main/java/net/ccbluex/liquidbounce/utils/MovementUtils.kt

              You can use it like this:

              MovementUtils.strafe(motionvalue);
              
              X 1 Reply Last reply
              0
              • X Offline
                X Offline
                xunder
                replied to Plumer Man on last edited by
                #7

                @plumer-man ok thank you

                Plumer ManP 1 Reply Last reply
                0
                • Plumer ManP Offline
                  Plumer ManP Offline
                  Plumer Man
                  replied to xunder on last edited by Plumer Man
                  #8
                  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

                  X 2 Replies Last reply
                  0
                  • X Offline
                    X Offline
                    xunder
                    replied to Plumer Man on last edited by
                    #9

                    @plumer-man got it thanks

                    1 Reply Last reply
                    0
                    • X Offline
                      X Offline
                      xunder
                      replied to Plumer Man on last edited by
                      #10

                      @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 ManP 1 Reply Last reply
                      0
                      • Plumer ManP Offline
                        Plumer ManP Offline
                        Plumer Man
                        replied to xunder on last edited by
                        #11

                        @xunder use the strafe function

                        X 2 Replies Last reply
                        0
                        • X Offline
                          X Offline
                          xunder
                          replied to Plumer Man on last edited by
                          #12

                          @plumer-man ok

                          1 Reply Last reply
                          0
                          • X Offline
                            X Offline
                            xunder
                            replied to Plumer Man on last edited by
                            #13

                            @plumer-man what would that look like?

                            Plumer ManP 1 Reply Last reply
                            0
                            • Plumer ManP Offline
                              Plumer ManP Offline
                              Plumer Man
                              replied to xunder on last edited by
                              #14

                              @xunder What do you mean??

                              X 1 Reply Last reply
                              0
                              • X Offline
                                X Offline
                                xunder
                                replied to Plumer Man on last edited by
                                #15

                                @plumer-man like mc.theplayer.strafe = true
                                or how would that work

                                Plumer ManP 1 Reply Last reply
                                1
                                • Plumer ManP Offline
                                  Plumer ManP Offline
                                  Plumer Man
                                  replied to xunder on last edited by
                                  #16

                                  3df052f6-3a94-4417-a0de-4ea6025defc0-image.png @xunder 12d42943-126a-4b29-b9e3-62c9ba84d09e-image.png Mo
                                  Movement utils...

                                  X 1 Reply Last reply
                                  1
                                  • X Offline
                                    X Offline
                                    xunder
                                    replied to Plumer Man on last edited by
                                    #17

                                    @plumer-man ok thanks, also the damage thing from earlier is being weird and doesn't damage you Screen Shot 2022-06-29 at 2.42.07 PM.png

                                    Plumer ManP Ali00035A 2 Replies Last reply
                                    1
                                    • Plumer ManP Offline
                                      Plumer ManP Offline
                                      Plumer Man
                                      replied to xunder on last edited by
                                      #18

                                      are you in singeplayer survival?

                                      X 1 Reply Last reply
                                      0
                                      • X Offline
                                        X Offline
                                        xunder
                                        replied to Plumer Man on last edited by
                                        #19

                                        @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

                                        Ali00035A 1 Reply Last reply
                                        1
                                        • Ali00035A Offline
                                          Ali00035A Offline
                                          Ali00035
                                          replied to xunder on last edited by
                                          #20

                                          @xunder said in How do you damage yourself?:

                                          I can only chat every 2 minutes

                                          Gave you some rep, now you can chat without waiting for 2 minutes

                                          X 1 Reply Last reply
                                          0

                                          About
                                          • Terms of Service
                                          • Privacy Policy
                                          • Status
                                          • Contact Us
                                          Downloads
                                          • Releases
                                          • Source code
                                          • License
                                          Docs
                                          • Tutorials
                                          • CustomHUD
                                          • AutoSettings
                                          • ScriptAPI
                                          Community
                                          • Forum
                                          • Guilded
                                          • YouTube
                                          • Twitter
                                          • D.Tube
                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups