Created
April 23, 2020 21:15
-
-
Save hrik2001/5ba9fe7c4a7c8b8a257f019df3a5030c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pynput.keyboard import Controller , Key | |
from time import sleep , time | |
import random | |
k = Controller() | |
arr = ["randi" , " gay" , "gay boy" , "nigger dick"] | |
n = input("how many spams?") | |
n = int(n) | |
sleep(2) | |
for i in range(n): | |
st = arr[random.randint(0 , len(arr)-1)] | |
for j in st: | |
if j != " ": | |
k.press(j) | |
k.release(j) | |
else: | |
k.press(Key.space) | |
k.release(Key.space) | |
sleep(0.1) | |
k.press(Key.enter) | |
k.release(Key.enter) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment