forked from Hirohiko360/LiquidBounceScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHighJump.js
More file actions
49 lines (46 loc) · 1.38 KB
/
HighJump.js
File metadata and controls
49 lines (46 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
var scriptName = "NewBlink";
var scriptVersion = 1.3;
var scriptAuthor = "AquaVit";
script.import('lib/minecraftUtils.js');
script.import('lib/timingFunctions.js');
script.import('lib/glFunctions.js');
script.import('lib/systemFunctions.js');
var blinkModule = moduleManager.getModule("blink");
var SpeedModule = moduleManager.getModule('Speed');
var flyModule = moduleManager.getModule("fly");
var Newblink = new Newblink();
var client;
function Newblink() {
this.getName = function() {
return "HytHighJump"
};
this.getDescription = function() {
return "By Minger233333."
};
this.getCategory = function() {
return "Fun"
};
this.onEnable = function() {
blinkModule.setState(true);
flyModule.setState(true);
setTimeout(function() {
blinkModule.setState(false);
flyModule.setState(false);
commandManager.executeCommand(".t HytHighJump");
}, 500)
};
this.onUpdate = function() {};
this.onDisable = function() {
mc.gameSettings.keyBindSneak.pressed = true;
blinkModule.setState(false);
flyModule.setState(false);
mc.gameSettings.keyBindSneak.pressed = false
}
}
function onLoad() {}
function onEnable() {
client = moduleManager.registerModule(Newblink)
}
function onDisable() {
moduleManager.unregisterModule(client)
}