nofall script (fixes Criticals)

Avatar

By soulplexis 31 March 2019 23:09

Donator · 326 comments

simple script that makes criticals work when nofall is on (SpoofGround)

var scriptName = "Better NoFall";
var scriptAuthor = "Soulplexis";
var scriptVersion = 1.0;

var antifall = moduleManager.getModule("NoFall");

function noFall() {

    var ticks = 0;

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

    this.getCategory = function() {
        return "Player";   
    }

    this.getDescription = function() {
        return "Fixes NoFall so that Criticals works";
    }

    this.onUpdate = function() {
		if(!mc.thePlayer.onGround) {
			antifall.setState(true);
		} else {
			antifall.setState(false);
		}
	}
}

var nofall = new noFall();
var nofallClient;

function onEnable() {
    nofallClient = moduleManager.registerModule(nofall);
}

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

【ソルプレクサス】

Avatar

By Elelrxi 31 March 2019 23:48

Member · 230 comments

axopleased

Avatar

By Sms_Gamer_3808 1 April 2019 01:04

Member · 427 comments

k


ਗਨੋਮ ਲਵੋ