-
Notifications
You must be signed in to change notification settings - Fork 0
/
spam.py
80 lines (72 loc) · 1.76 KB
/
spam.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import pyautogui as spam
import time
import os
import sys
# import webbrowser as wb
def loading():
trg = 0
while(trg < 12.5):
print("Silahkan Masuk Ke whatsapp web | ")
time.sleep(0.1)
os.system("cls")
print("Silahkan Masuk Ke whatsapp web / ")
time.sleep(0.1)
os.system("cls")
print("Silahkan Masuk Ke whatsapp web - ")
time.sleep(0.1)
os.system("cls")
print("Silahkan Masuk Ke whatsapp web \ ")
time.sleep(0.1)
os.system("cls")
trg = trg + 1
def proges():
print("Spam Akan Di Mulai")
print("[ ] 0% ")
time.sleep(1)
os.system("cls")
print("Spam Akan Di Mulai")
print("[===== ] 25%")
time.sleep(1)
os.system("cls")
print("Spam Akan Di Mulai")
print("[========== ] 50%")
time.sleep(2)
os.system("cls")
print("Spam Akan Di Mulai")
print("[=============== ] 75%")
time.sleep(2)
os.system("cls")
print("Spam Akan Di Mulai")
print("[====================] 100%")
time.sleep(2)
os.system("cls")
# wb.open("web.whatsapp.com")
os.system("color a")
os.system("cls")
time.sleep(1)
print("Note: Harap anda sudah membuka whatsapp web terlebih dahulu")
nama = input("Masukkan Nama Whatsapp Target : ")
pesan = input("Masukkan pesan : ")
jumlah = int(input("Masukkan jumlah spam : "))
time.sleep(2)
os.system("cls")
loading()
time.sleep(2)
spam.press("tab")
time.sleep(2)
spam.write(nama)
time.sleep(5)
spam.press("enter")
time.sleep(2)
os.system("cls")
proges()
print("Spam Dimulai")
count = 0
while(count < jumlah):
spam.write(pesan)
time.sleep(0.1)
spam.press("enter")
time.sleep(0.1)
count = count + 1
os.system("cls")
print("Spam Selesai")