OP 25 March, 2022 - 08:53 PM
You will need to pip install pynput for this to work.
Code:
from pynput.keyboard import Key, Controller
import time
a=Controller()
print("SpamBot v1.2 ")
word=input("What do you want to spam: ")
num=int(input("How many times do you want to spam it: "))
count=0
time.sleep(0.5)
print("Click where you want to spam ")
time.sleep(5)
def spam(word):
a.type(word)
a.press(Key.enter)
a.release(Key.enter)
time.sleep(0.1)
while count < num:
spam(word)
count+=1
if count==num:
lol=input("Press enter to finish ")