HATEBIN
>
import pyautogui import pyglet import time import multiprocessing as mp import winsound pyautogui.FAILSAFE = False window = pyglet.window.Window(1600, 900) image = pyglet.image.load('sss.png') cursor = pyglet.window.ImageMouseCursor(image) window.set_mouse_cursor(cursor) @window.event def on_draw(): window.clear() class goto(): def __init__(self, time, window): self.time = time self.window = window def right(self): image2 = pyglet.image.load('nahh2.png') cursor2 = pyglet.window.ImageMouseCursor(image2) self.window.set_mouse_cursor(cursor2) pyautogui.moveRel(1590, 0, duration=self.time) def lift(self): image3 = pyglet.image.load('nahh3.png') cursor3 = pyglet.window.ImageMouseCursor(image3) self.window.set_mouse_cursor(cursor3) pyautogui.moveRel(-1590, 0, duration=self.time) def up(self): image4 = pyglet.image.load('nahh4.png') cursor4 = pyglet.window.ImageMouseCursor(image4) self.window.set_mouse_cursor(cursor4) pyautogui.moveRel(0, -880, duration=self.time) def down(self): images = pyglet.image.load('nahh.png') cursor = pyglet.window.ImageMouseCursor(images) self.window.set_mouse_cursor(cursor) pyautogui.moveRel(0, 880, duration=self.time) def cpm(self, x, y, im): image3 = pyglet.image.load(im) cursor = pyglet.window.ImageMouseCursor(image3) self.window.set_mouse_cursor(cursor) pyautogui.moveTo(x, y, duration=self.time) def ncpm(self, x, y, im): image3 = pyglet.image.load(im) cursor = pyglet.window.ImageMouseCursor(image3) window.set_mouse_cursor(cursor) pyautogui.moveRel(x, y, duration=self.time) veryfast = goto(0.3, window) fast = goto(0.5, window) normal = goto(0.6, window) slow = goto(0.7, window) slower = goto(0.8, window) soslow = goto(0.9, window) sssslow = goto(1, window) sssssslow = goto(1.5, window) # mid veryfast.cpm(800, 450, 'nahh.png') # right veryfast.ncpm(790, 0, 'nahh2.png') # lift veryfast.lift() # up veryfast.ncpm(0, -450, 'nahh4.png') # down veryfast.down() # right veryfast.right() # lift veryfast.lift() # up veryfast.up() # down veryfast.down() # up veryfast.up() # down veryfast.down() # up veryfast.up() # down veryfast.down() # right veryfast.right() # up veryfast.up() # down veryfast.down() # lift veryfast.lift() # up veryfast.up() # right veryfast.right() # lift veryfast.lift() # right veryfast.right() # lift fast.lift() # right fast.right() # lift normal.lift() # right normal.right() # down slow.down() # up slow.up() # down slow.down() # up slow.up() # down slow.down() # up slow.up() # lift slower.lift() # down soslow.down() # up slower.up() # down sssssslow.down() # mid sssslow.cpm(800, 450, 'sss.png') pyglet.app.run()