Created
July 12, 2018 17:57
-
-
Save scorpion3013/42557788679af41434d6f2e23fc69898 to your computer and use it in GitHub Desktop.
Mineplex LiquidScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scriptName = "MineplexNewJumpByscorpion3013#8482"; | |
scriptVersion = 0.1; | |
scriptAuthor = "scorpion3013"; | |
## if you have questions, ask me on discord scorpion3013#8482 | |
registerModule(HighJumpMineplex, Movement) { | |
func onEnable { | |
command.execute .speed customspeed speed .35 | |
command.execute .speed customspeed y 0 | |
command.execute .speed type custom | |
chat.display [scorpion3013]: §6 put Customstrafe in Speed on | |
command.execute .t A0.0499 | |
command.execute .t speed | |
} | |
func onUpdate { | |
if $player.onGround$ { | |
player.jump | |
} | |
} | |
func onDisable { | |
command.execute .t A0.0499 | |
command.execute .t speed | |
command.execute .speed type ncphop | |
} | |
} | |
registerModule(A0.0499, Movement) { | |
func nothing { | |
player.motionY = $player.motionY$ + 0.0499 | |
} | |
func falling { | |
player.motionY = $player.motionY$ + 0.051 | |
} | |
func onMove { | |
ifcall nothing FLOAT $player.fallDistance$ == 0 else falling | |
} | |
} | |
registerModule(LongJumpAddOn, Movement) { | |
func onEnable { | |
chat.display [scorpion3013]: §6bind LongJumpAddOn and Longjump on the same key | |
chat.display [scorpion3013]: §6ONLY WORKS STRAIGHT | |
command.execute .longjump nocheat aacv2 | |
} | |
func onMove { | |
if FLOAT $player.fallDistance$ != 0 { | |
player.motionY = $player.motionY$ + 0.037 | |
} | |
} | |
} | |
registerModule(YMotionDisplay, Misc) { | |
func onMove { | |
if !$player.onGround$ { | |
chat.display §6 MotionY: $player.motionY$ | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment