Spartan Glide(poke.sexy)

Avatar

By C_Maxpo 11 April 2019 15:00

Member · 18 comments

Here the code: https://hastebin.com/ofoziqames.js

Last edited by C_Maxpo (12 April 2019 11:16)

Avatar

By icewormy3 11 April 2019 15:35

Member · 316 comments
var scriptName = "STGlide";
var scriptVersion = 0.1;
var scriptAuthor = "SeMxoss";

function SpartanGlide() {
    var tick = 0;

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

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

    this.getDescription = function () {
        return "Spartan Glide";
    }

    this.onUpdate = function () {
        if (!mc.thePlayer.onGround) {
            if (tick == 3 || tick == 5 || tick == 7 || tick == 9 || tick == 11 || tick == 15 || tick == 17 || tick == 19) {
                mc.thePlayer.motionY = 0.0;

            } if (tick == 20) {
                tick = 0;
            } else {
                tick++;
                mc.thePlayer.onGround = false;
            }
        }
    }
}


var StGlide = new SpartanGlide();
var StGlideClient;

function onEnable() {
    StGlideClient = moduleManager.registerModule(StGlide);
}

function onDisable() {
    moduleManager.unregisterModule(StGlideClient);
}
Avatar

By CzechHek 11 April 2019 17:22

Member · 182 comments

Else makes no sense: if tick isn't 20 -> automatically changed to 0 so that's every time

do tick++ and mc.thePlayer.onGround = false - why tf would you set onGround to false when there is nothing that set it to true since it's under if (!mc.thePlayer.onGround)


Creator of configs.
Experienced YouTuber.
Discord: v.ht/DYSKORD
YouTube: v.ht/CzechHek

Avatar

By C_Maxpo 12 April 2019 01:26

Member · 18 comments
CzechHek wrote

Else makes no sense: if tick isn't 20 -> automatically changed to 0 so that's every time

do tick++ and mc.thePlayer.onGround = false - why tf would you set onGround to false when there is nothing that set it to true since it's under if (!mc.thePlayer.onGround)

I'm forget to remove mc.thePlayer.onGround = false

Last edited by C_Maxpo (12 April 2019 01:26)

Avatar

By LaVacheMilka 13 April 2019 01:36

Member · 58 comments

mc.theplayer.onGround = true; + mc.theplayer.motionY = 0; = Spartanfly

spartanfly = HypixelFly OOF

Last edited by LaVacheMilka (13 April 2019 01:40)

Avatar

By Sms_Gamer 13 April 2019 04:31

Member · 148 comments
LaVacheMilka wrote

mc.theplayer.onGround = true; + mc.theplayer.motionY = 0; = Spartanfly

spartanfly = HypixelFly OOF

Every 3 ticks the motionY = 0 I guess


人間の事私は知らない