[CORE] An awesome .vanish script.
-
Credits to Amnesia client.
///api_version=2 (script = registerScript({ name: "Vanish", authors: ["xWhitey"], version: "1.337" })).import("Core.lib"); command = { handler: function (action) { if (action == "dismount") { mc.renderGlobal.loadRenderers() prevMountedEntity = mc.thePlayer.getRidingEntity() mc.thePlayer.dismountRidingEntity() mc.theWorld.removeEntity(prevMountedEntity) } else if (action == "remount") { prevMountedEntity.isDead = false mc.theWorld.loadedEntityList.add(prevMountedEntity) mc.thePlayer.startRiding(prevMountedEntity, true) prevMountedEntity = null } } } prevMountedEntity = undefined;
-
@idk-my-name I guess you could do
handler: { dismount: function () { }, remount: function () { } }
It would suggest these as valid subcommands.
-
-
@idk-my-name said in [CORE] An awesome .vanish script.:
@ali00035 I don't think it would work on 1.8.9 as the exploit is based on "moved too fast" warning from Vanilla AC that exist only in 1.9+ versions
Ah I see.