[Script] GhostFall 1.1

Avatar

By yorik100 14 December 2018 12:49

Member · 202 comments

Pretty much NoFall but you only take 0.5 max heart when you land (you'll look legit while taking barely any damage), this won't work on servers who patched ncp damage
https://cdn.discordapp.com/attachments/ … ostFall.js

var scriptName = "CleanFall";
var scriptVersion = 1.1;
var scriptAuthor = "yorik100";
var noFallModule = moduleManager.getModule("NoFall");
var BlockPos = Java.type('net.minecraft.util.BlockPos');

var cleanFall = new CleanFall();

var client;

function CleanFall() {
    this.getName = function() {
        return "GhostFall";
    };

    this.getDescription = function() {
        return "Ghost NoFall";
    };

    this.getCategory = function() {
        return "Player";
    };
    this.onEnable = function() {
    }
	var fortnite = 0
this.onUpdate = function() {
if (mc.thePlayer.motionY >= 0 || mc.thePlayer.isInWater() || mc.thePlayer.isInLava()){
	fortnite = 0;
	mc.thePlayer.fallDistance = 0;
}
if (mc.thePlayer.fallDistance > 2.695) {
fortnite++;
}
if (mc.thePlayer.onGround && fortnite != 0){
    fortnite = 0
	noFallModule.setState(false)
	commandManager.executeCommand(".damage");
}else{
	noFallModule.setState(true)
}
}
    this.onDisable = function () {
    }
}

function onLoad() {}

function onEnable() {
    client = moduleManager.registerModule(cleanFall);
}

function onDisable() {
    moduleManager.unregisterModule(client);
}

Last edited by yorik100 (15 June 2019 09:40)

Avatar

By Survi_G 14 December 2018 13:45

Member · 211 comments

nice

Avatar

By yorik100 9 February 2019 12:12

Member · 202 comments

1.1 : Added "teleport" detection, you won't get damaged after getting teleported

Avatar

By Elelrxi 9 February 2019 14:19

Member · 229 comments
yorik100 wrote

1.1 : Added "teleport" detection, you won't get damaged after getting teleported

Ty daddy

Avatar

By yorik100 19 February 2019 23:42

Member · 202 comments

Edit : This plugin can make any nofall bypass DAC

Avatar

By yorik100 15 June 2019 09:41

Member · 202 comments

Update : Now resetting fall when in water/lava

Avatar

By michaelpt9 15 June 2019 11:42

Member · 6 comments

What a nice idea, very good.


Config creator.

Avatar

By michaelpt9 15 June 2019 11:43

Member · 6 comments

why exactly 2.695?


Config creator.

Avatar

By yorik100 15 June 2019 11:56

Member · 202 comments
michaelpt9 wrote

why exactly 2.695?

If you fall less than 2.695 blocks you start taking damage