Guest User

Untitled

a guest
Jul 12th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. scriptName = "MineplexNewJumpByscorpion3013#8482";
  2. scriptVersion = 0.1;
  3. scriptAuthor = "scorpion3013";
  4. ## if you have questions, ask me on discord scorpion3013#8482
  5.  
  6.  
  7. registerModule(HighJumpMineplex, Movement) {
  8.  
  9. func onEnable {
  10. command.execute .speed customspeed speed .35
  11. command.execute .speed customspeed y 0
  12. command.execute .speed type custom
  13. chat.display [scorpion3013]: §6 put Customstrafe in Speed on
  14. command.execute .t A0.0499
  15.  
  16. command.execute .t speed
  17. }
  18.  
  19. func onUpdate {
  20. if $player.onGround$ {
  21. player.jump
  22. }
  23. }
  24.  
  25. func onDisable {
  26. command.execute .t A0.0499
  27. command.execute .t speed
  28. command.execute .speed type ncphop
  29. }
  30. }
  31.  
  32. registerModule(A0.0499, Movement) {
  33.  
  34. func nothing {
  35.  
  36. player.motionY = $player.motionY$ + 0.0499
  37. }
  38.  
  39. func falling {
  40.  
  41. player.motionY = $player.motionY$ + 0.051
  42.  
  43. }
  44.  
  45. func onMove {
  46.  
  47. ifcall nothing FLOAT $player.fallDistance$ == 0 else falling
  48. }
  49. }
  50.  
  51. registerModule(LongJumpAddOn, Movement) {
  52.  
  53.  
  54. func onEnable {
  55.  
  56. chat.display [scorpion3013]: §6bind LongJumpAddOn and Longjump on the same key
  57. chat.display [scorpion3013]: §6ONLY WORKS STRAIGHT
  58.  
  59. command.execute .longjump nocheat aacv2
  60. }
  61.  
  62. func onMove {
  63.  
  64. if FLOAT $player.fallDistance$ != 0 {
  65.  
  66. player.motionY = $player.motionY$ + 0.037
  67.  
  68. }
  69. }
  70.  
  71. }
  72.  
  73. registerModule(YMotionDisplay, Misc) {
  74.  
  75.  
  76. func onMove {
  77.  
  78. if !$player.onGround$ {
  79.  
  80. chat.display §6 MotionY: $player.motionY$
  81. }
  82.  
  83. }
  84. }
Add Comment
Please, Sign In to add comment