• 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

ScriptReg

Scheduled Pinned Locked Moved Scripts
15 Posts 6 Posters 325 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Can anyone make this script in liquid script?

    public Regen() {
    this.packets = 32.0;
    this.potionPackets = 32.0;
    this.health = 32.0;
    this.potion = true;
    }

    @EventTarget
    private void onUpdate(final UpdateEvent event) {
    if (this.potion) {
    if (ClientUtils.player().getActivePotionEffect(Potion.regeneration) != null && ClientUtils.player().getActivePotionEffect(Potion.regeneration).getDuration() > 0 && ClientUtils.player().getHealth() <= this.health * 0.0 && (ClientUtils.player().isCollidedVertically || this.isInsideBlock()) && event.getState().equals((Object)Event.State.POST)) {
    for (int i = 0; i < this.potionPackets; ++i) {
    ClientUtils.player().getActivePotionEffect(Potion.regeneration).deincrementDuration();
    ClientUtils.packet((Packet)new C03PacketPlayer(true));
    }
    }
    }
    else if (ClientUtils.player().getHealth() <= this.health * 0.0 && (ClientUtils.player().isCollidedVertically || this.isInsideBlock()) && event.getState().equals((Object)Event.State.POST)) {
    for (int i = 0; i < this.packets; ++i) {
    ClientUtils.packet((Packet)new C03PacketPlayer(true));
    }
    }
    }

    private boolean isInsideBlock() {
    for (int x = MathHelper.floor_double(ClientUtils.player().boundingBox.minX); x < MathHelper.floor_double(ClientUtils.player().boundingBox.maxX) + 1; ++x) {
    for (int y = MathHelper.floor_double(ClientUtils.player().boundingBox.minY); y < MathHelper.floor_double(ClientUtils.player().boundingBox.maxY) + 1; ++y) {
    for (int z = MathHelper.floor_double(ClientUtils.player().boundingBox.minZ); z < MathHelper.floor_double(ClientUtils.player().boundingBox.maxZ) + 1; ++z) {
    final Block block = ClientUtils.world().getBlockState(new BlockPos(x, y, z)).getBlock();
    if (block != null && !(block instanceof BlockAir)) {
    AxisAlignedBB boundingBox = block.getCollisionBoundingBox((World)ClientUtils.world(), new BlockPos(x, y, z), ClientUtils.world().getBlockState(new BlockPos(x, y, z)));
    if (block instanceof BlockHopper) {
    boundingBox = new AxisAlignedBB((double)x, (double)y, (double)z, (double)(x + 1), (double)(y + 1), (double)(z + 1));
    }
    if (boundingBox != null && ClientUtils.player().boundingBox.intersectsWith(boundingBox)) {
    return true;
    }
    }
    }
    }
    }
    return false;
    }

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    Aftery
    replied to A Former User on last edited by
    #2

    @vapetest where'd you paste this from

    G 1 Reply Last reply
    0
  • G Offline
    G Offline
    Gabriel
    replied to Aftery on last edited by
    #3

    @aftery He is begging for the same thing over and over again. Lets report him for spam.

    ? 2 Replies Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to Gabriel on last edited by
    #4

    @gabriel vai toma no seu cu cara vsfd

    ? 1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to A Former User on last edited by
    #5

    @vapetest So quero um nerd fazendo um bagulho ai jao fica na sua vtnc

    1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to Gabriel on last edited by
    #6

    @gabriel bom memo fica na sua irmao

    1 Reply Last reply
    0
  • A Offline
    A Offline
    Aftery
    wrote on last edited by
    #7

    cc582a8c-cf4d-4e66-b415-a64a8df825a1-image.png
    dno bout this 1

    G 1 Reply Last reply
    0
  • G Offline
    G Offline
    Gabriel
    replied to Aftery on last edited by
    #8

    @aftery Yeah hes speaking portuguese, lets vote ban him with:
    "F" In chat

    ? M 2 Replies Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to Gabriel on last edited by
    #9

    @gabriel said in ScriptReg:

    @aftery Yeah hes speaking portuguese, lets vote ban him with:
    "F" In chat

    Brother instead of helping me want to harm fucking Wtf I don't understand

    A G 2 Replies Last reply
    0
  • M Offline
    M Offline
    mems Moderator
    replied to Gabriel on last edited by
    #10

    @gabriel no

    1 Reply Last reply
    0
  • A Offline
    A Offline
    Aftery
    replied to A Former User on last edited by
    #11

    @vapetest contribute something then

    ? 1 Reply Last reply
    0
  • G Offline
    G Offline
    Gabriel
    replied to A Former User on last edited by
    #12

    @vapetest "Me want to harm fucking" BRUH

    1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to Aftery on last edited by
    #13

    @aftery Help me by answering at least, When I use Killaura with regen Example regen speed 30 regen health 42 he bugs in the non-tanking block

    DreamWasFuckedD 1 Reply Last reply
    0
  • DreamWasFuckedD Offline
    DreamWasFuckedD Offline
    DreamWasFucked Banned
    replied to A Former User on last edited by
    #14

    @vapetest just translate this code into c++ using google translator

    LolMCL 1 Reply Last reply
    0
  • LolMCL Offline
    LolMCL Offline
    LolMC
    replied to DreamWasFucked on last edited by
    #15

    @skidma ye lmao

    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

  • Don't have an account? Register

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