Advertisement
JumpYScriptsz

Auto Speedbridger

Sep 12th, 2021
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.34 KB | None | 0 0
  1. # auto speedbridger
  2.  
  3. # made bu JumpYScriptsz
  4. # feel free to use this for minecraft speedbridging but be careful
  5. # you may get banned bevause it looks like your hacking lol
  6. # btw it doent work sideways :|
  7.  
  8. # dont forget to do this (in cmd prompt) else it wont work!:
  9.     # pip install pynput
  10.     # pip install pyautogui
  11.     # pip install keyboard
  12.     # pip install mouse
  13.    
  14.  
  15. import pynput
  16. import pyautogui as pag
  17. mouse = pynput.mouse.Controller()
  18. import keyboard as k
  19. import mouse as m
  20. from time import sleep
  21.  
  22. blocks = 10 # change this to amount of blocks u wanna speedbridge
  23.  
  24. counter = 0 # dont change this
  25.  
  26. a=0.041 # wait this number of seconds before placing another block
  27.        # dont change number lower else it will fall off block
  28.  
  29. sleep(4)
  30. pag.moveRel(0, 3000)
  31. sleep(0.1)
  32. pag.moveRel(0, 3000)
  33. k.press('shift')
  34. k.press('s')
  35. sleep(1)
  36.  
  37. while counter < blocks:
  38.         pag.moveRel(0, -60)
  39.         sleep(a)
  40.         m.click('right')
  41.         sleep(a)
  42.         k.press_and_release('shift')
  43.         sleep(a)
  44.         sleep(a)
  45.         pag.moveRel(0, 3000)
  46.         k.press('shift')
  47.         sleep(a)
  48.         k.press('s')
  49.         counter = counter + 1
  50.  
  51. pag.moveRel(-5000, -5000)
  52. pag.moveRel(-210, -80)
  53. k.press_and_release('s')
  54. k.press_and_release('shift')
  55. k.press_and_release('s')
  56.  
  57. print("finished bridging" ,blocks, "blocks")
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement