[Script] Matrix clip
-
Works on
Code
var C03PacketPlayer = Java.type('net.minecraft.network.play.client.C03PacketPlayer'); var script = registerScript({ name: 'MatrixClip', version: '0.0.0', authors: ['Shurpe'] }); script.registerModule({ name: 'MatrixClip', category: 'Fun', description: '[Matrix v6.0.0 +] Allows you to pass through a wall before the game starts' }, function (module) { module.on('update', function() { if (mc.thePlayer.ticksExisted == 1) { mc.thePlayer.setPosition(mc.thePlayer.posX, mc.thePlayer.posY - 3, mc.thePlayer.posZ); Chat.print('§7[§fMatrixClip§7] §cTeleported!'); } }); module.on('packet', function(e) { var packet = e.getPacket(); if (packet instanceof C03PacketPlayer) { if (mc.thePlayer.ticksExisted == 1) { packet.onGround = true; } } }); });
-
-
@skidma again, with core:
(script = registerScript({ name: "JartexClip", authors: ["IdkWhoMe, Shurpe"], version: "1.0" })).import("Core.lib"); module = { category: "Fun", description: "Allows you to pass through a wall before the game starts.", onEnable: function () { (mc.thePlayer && mc.thePlayer.posY -= 3 && state = false) } }
-
@skidma @ohno Already made that, detects if you are in a cage and teleports you at ground (or 10 blocks lower max) instantly.
///api_version=2 (script = registerScript({ name: "MatrixClipper", authors: ["CzechHek"], version: "1.0" })).import("Core.lib"); module = { category: "Movement", description: "Automatically clips you from cage.", onUpdate: function () { if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer).up(3)).getBlock() == Blocks.glass) { for (i = 3; i < 12; i++) { if (!mc.theWorld.getCollidingBoundingBoxes(mc.thePlayer, mc.thePlayer.getEntityBoundingBox().offset(0, -i, 0)).isEmpty()) { mc.thePlayer.setPositionAndUpdate(mc.thePlayer.posX, mc.thePlayer.posY - i + 1, mc.thePlayer.posZ); return } } mc.thePlayer.setPositionAndUpdate(mc.thePlayer.posX, mc.thePlayer.posY - 10, mc.thePlayer.posZ); } } }