Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import keyboard,mouse,os
- from time import *
- t=0.16
- isOn = False
- cycle = 0
- def switch():
- global isOn
- isOn = not isOn
- keyboard.add_hotkey('+', switch, args=())
- while True:
- os.system("cls")
- print("script obsiauto v1.1 pour la faction Echec")
- print("key : \"+\"")
- sleep(0.5)
- if isOn:
- mouse.press()
- while isOn:
- sleep(1)
- mouse.move(50,0,absolute=False)
- sleep(1)
- mouse.move(-50,0,absolute=False)
- mouse.release()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement