FastGlide + Speed for PVPTemple

Avatar

By 6Sence 5 October 2019 11:42

Member · 94 comments

FastGlide + Speed for PVPTemple, got banned a few times while using this but im pretty sure it was just staff because players were spamming my name in chat.


[JavaScript]
var scriptName = "FastGlide"; // The name of your script
var scriptVersion = 0.1; // The version of your script 
var scriptAuthor = "Alan"; // The author of your script

var FastGlide = new FastGlide();
var FastGlideClient;
var Strafe = moduleManager.getModule("Strafe");
var nohurtcam = moduleManager.getModule("nohurtcam");

BlockPos = Java.type('net.minecraft.util.BlockPos')
BlockAir = Java.type('net.minecraft.block.BlockAir')
EntityPlayer = Java.type("net.minecraft.entity.player.EntityPlayer")


 Math.radians = function(degrees) {
    return degrees * Math.PI / 180;
  };
   
  // Converts from radians to degrees.
  Math.degrees = function(radians) {
    return radians * 180 / Math.PI;
  };
  
  function vClip(offset) {
		mc.thePlayer.setPosition(mc.thePlayer.posX, mc.thePlayer.posY + offset, mc.thePlayer.posZ);
	}

	function hClip(offset) {
		var playerYaw = Math.radians(mc.thePlayer.rotationYaw);
		mc.thePlayer.setPosition(mc.thePlayer.posX - (Math.sin(playerYaw) * offset), mc.thePlayer.posY, mc.thePlayer.posZ + (Math.cos(playerYaw) * offset));
	}
 
 
function FastGlide() {
    this.getName = function() {
        return "FastGlide";
    };

    this.getDescription = function() {
        return "FastGlide/Speed for PVPTemple";
    };

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

	
    this.onUpdate = function() {


			
			if(mc.thePlayer.moveForward > 0){
				
				
				hClip(8);
				mc.timer.timerSpeed = 0.07;
				Strafe.setState(true);
				
			}
			else{
				if (mc.thePlayer.onGround == false){
				mc.timer.timerSpeed = 0.07;
				Strafe.setState(true);	
					
				}
				
				
				
			}
	

	}
	
	
	
	
	
	
	this.onDisable = function() {
    //Activates on disabling module
	mc.timer.timerSpeed = 1.0;
	mc.thePlayer.speedInAir = (0.02)
	mc.thePlayer.motionX = 0;
	mc.thePlayer.motionZ = 0;
	Strafe.setState(false);

 }
 	this.onEnable = function() {
	//Activates on Enabling module
	Strafe.setState(true);


	

 }
 
 
 
 
 

 }
 


function onLoad() {
    // Currently this event has to be in every script even if it is not directly needed.
};

function onEnable() {
    FastGlideClient = moduleManager.registerModule(FastGlide);
		
};

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

By Coccocoa 5 October 2019 12:28

Member · 148 comments

Can be good, if the server opens


Eating kids

Avatar

By 6Sence 6 October 2019 04:31

Member · 94 comments

The server is open, I was using it yesterday.

Avatar

By Coccocoa 6 October 2019 11:06

Member · 148 comments
6Sence wrote

The server is open, I was using it yesterday.

under maintenance
*Edit*
They closed the pvptemple.it domain. GG

Last edited by Coccocoa (6 October 2019 11:08)


Eating kids

Avatar

By yorik100 6 October 2019 17:51

Member · 356 comments

Stop using hclip, please

Avatar

By 6Sence 7 October 2019 01:39

Member · 94 comments

What am I supposed to use instead?

Avatar

By Xflamelord 7 October 2019 02:13

Member · 19 comments

Use Motion

Avatar

By 6Sence 7 October 2019 05:56

Member · 94 comments

Alright I'll do that next time.