|
| 1 | +import pyautogui |
| 2 | +import time |
| 3 | +import keyboard |
| 4 | +while True: |
| 5 | + print(""" |
| 6 | + .----------------. .----------------. .----------------. .----------------. .----------------. |
| 7 | +| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. | |
| 8 | +| | ____ ____ | || | __ | || | ______ | || | _______ | || | ____ | | |
| 9 | +| ||_ \ / _|| || | / \ | || | .' ___ | | || | |_ __ \ | || | .' `. | | |
| 10 | +| | | \/ | | || | / /\ \ | || | / .' \_| | || | | |__) | | || | / .--. \ | | |
| 11 | +| | | |\ /| | | || | / ____ \ | || | | | | || | | __ / | || | | | | | | | |
| 12 | +| | _| |_\/_| |_ | || | _/ / \ \_ | || | \ `.___.'\ | || | _| | \ \_ | || | \ `--' / | | |
| 13 | +| ||_____||_____|| || ||____| |____|| || | `._____.' | || | |____| |___| | || | `.____.' | | |
| 14 | +| | | || | | || | | || | | || | | | |
| 15 | +| '--------------' || '--------------' || '--------------' || '--------------' || '--------------' | |
| 16 | + '----------------' '----------------' '----------------' '----------------' '----------------' |
| 17 | + """) |
| 18 | + print("1.auto clicker mouse") |
| 19 | + print("2.spambot") |
| 20 | + choice = input("choice>") |
| 21 | + if choice=="1": |
| 22 | + print(" for the bot to start clicking click r \n if it should stop click z \n to go back to the selection click x \n to eat the food you have in slot 2 click c \n to auto clicking ctrl click v \n to throw a snowball or fireball press f to build automatically hold down") |
| 23 | + while True: |
| 24 | + time.sleep(0.01) |
| 25 | + if keyboard.is_pressed('r'): |
| 26 | + while True : |
| 27 | + pyautogui.doubleClick() |
| 28 | + keyboard.press("Space") |
| 29 | + if keyboard.is_pressed('z'): |
| 30 | + break |
| 31 | + else: |
| 32 | + if keyboard.is_pressed('c'): |
| 33 | + keyboard.press("2") |
| 34 | + pyautogui.drag(30, 0, 1.61, button='right') |
| 35 | + keyboard.press("1") |
| 36 | + else: |
| 37 | + time.sleep(0.01) |
| 38 | + if keyboard.is_pressed('x'): |
| 39 | + break |
| 40 | + else: |
| 41 | + time.sleep(0.01) |
| 42 | + if keyboard.is_pressed('c'): |
| 43 | + keyboard.press("2") |
| 44 | + pyautogui.drag(30, 0, 1.61, button='right') |
| 45 | + keyboard.press("1") |
| 46 | + else: |
| 47 | + time.sleep(0.01) |
| 48 | + if keyboard.is_pressed('v'): |
| 49 | + while True: |
| 50 | + time.sleep(0.1) |
| 51 | + keyboard.press("shift") |
| 52 | + time.sleep(0.1) |
| 53 | + pyautogui.click(button='right') |
| 54 | + if keyboard.is_pressed('z'): |
| 55 | + break |
| 56 | + else: |
| 57 | + time.sleep(0.01) |
| 58 | + if keyboard.is_pressed('f'): |
| 59 | + keyboard.press("3") |
| 60 | + pyautogui.click(button='right') |
| 61 | + keyboard.press("1") |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + else: |
| 67 | + if choice=="2": |
| 68 | + while True: |
| 69 | + message = input("message>") |
| 70 | + print("1.spam minecraft") |
| 71 | + print("2.normal spam") |
| 72 | + print("3.exit from spam bota") |
| 73 | + spammode = input("spam mode>") |
| 74 | + if spammode=="3": |
| 75 | + break |
| 76 | + czas = 0.1 |
| 77 | + czas = input("how much should I spam? >") |
| 78 | + if spammode=="1": |
| 79 | + print("click r for the bot to start spamming, if it has to go back to the message writing stage, click z") |
| 80 | + keyboard.wait('r') |
| 81 | + while True: |
| 82 | + keyboard.press('t') |
| 83 | + time.sleep(float(czas)) |
| 84 | + keyboard.write(message) |
| 85 | + time.sleep(float(czas)) |
| 86 | + keyboard.press("Enter") |
| 87 | + time.sleep(float(czas)) |
| 88 | + if keyboard.is_pressed('z'): |
| 89 | + break |
| 90 | + else: |
| 91 | + if spammode=="2": |
| 92 | + print("click r for the bot to start spamming, if it has to go back to the message writing stage, click z") |
| 93 | + keyboard.wait('r') |
| 94 | + while True: |
| 95 | + time.sleep(float(czas)) |
| 96 | + keyboard.write(message) |
| 97 | + time.sleep(float(czas)) |
| 98 | + keyboard.press("Enter") |
| 99 | + if keyboard.is_pressed('z'): |
| 100 | + break |
0 commit comments