Spartan Glide(poke.sexy)

Avatar

By C_Maxpo 11 April 2019 15:00

Member · 23 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 · 518 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 · 215 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 · 23 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 · 111 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_3808 13 April 2019 04:31

Member · 322 comments
LaVacheMilka wrote

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

spartanfly = HypixelFly OOF

Every 3 ticks the motionY = 0 I guess


ਗਨੋਮ ਲਵੋ

Avatar

By Aftery 22 April 2019 13:30

Member · 35 comments

uhh im pretty sure fly with mc.thePlayer.onGround = true; is detected on hypixel.
also why not just tick % 2 == 0


@Aftery#4085 on discord.

Avatar

By soulplexis 22 April 2019 21:57

Donator · 284 comments
Aftery wrote

uhh im pretty sure fly with mc.thePlayer.onGround = true; is detected on hypixel.
also why not just tick % 2 == 0

its not i have bypassed script with it


【ソルプレクサス】

Avatar

By ksenomorf 24 April 2019 08:01

Member · 23 comments
mc.thePlayer.motionY = -0.001;

wow bypassed


ричи

Avatar

By LaVacheMilka 24 April 2019 23:00

Member · 111 comments
Sms_Gamer wrote
LaVacheMilka wrote

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

spartanfly = HypixelFly OOF

Every 3 ticks the motionY = 0 I guess

icewormy3 wrote
var scriptName = "FlySpartan";
var scriptAuthor = "LaVacheMilka";
var scriptVersion = 0.1;

// Converts from degrees to radians.
 Math.radians = function(degrees) {
    return degrees * Math.PI / 180;
  };
   
  // Converts from radians to degrees.
  Math.degrees = function(radians) {
    return radians * 180 / Math.PI;
  };

function FlyModule() {
  var ticks = 0;
    this.getName = function() {
        return "FlySpartan";
    }

    this.getDescription = function() {
        return "Fly for Spartan"
    }

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

    this.onMotion = function() {
        mc.thePlayer.motionY = 0;
        mc.timer.timerSpeed = 2.5;

        if(mc.gameSettings.keyBindJump.isKeyDown())
            mc.thePlayer.motionY = 0;

        if(mc.gameSettings.keyBindSneak.isKeyDown())
            mc.thePlayer.motionY = 0;

        if(mc.gameSettings.keyBindForward.isKeyDown()) {

            var yaw = Math.radians(mc.thePlayer.rotationYaw);

            mc.thePlayer.motionX = -Math.sin(yaw) * 0.255;
            mc.thePlayer.motionZ = Math.cos(yaw) * 0.255;
   } else {
            mc.thePlayer.motionX = 0.0;
            mc.thePlayer.motionZ = 0.0;
            mc.timer.timerSpeed = 2.5;
            mc.thePlayer.setSprinting(true);
        }
}
    this.onDisable = function() {
        mc.timer.timerSpeed = 1;
        mc.thePlayer.motionX =0;
        mc.thePlayer.motionY =0;
        mc.thePlayer.motionZ =0;
    }
}

var flyModule = new FlyModule();
var devModuleClient;

function onEnable() {
    flyModuleClient = moduleManager.registerModule(flyModule);
}

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