-
Notifications
You must be signed in to change notification settings - Fork 0
/
objects.py
214 lines (178 loc) · 9.33 KB
/
objects.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
import pywhatkit, sys, time, itertools, threading, os, random, pytz, json, math
import numpy as np
from datetime import datetime
class World:
def singAsong():
song = "word.execute(me);"
pywhatkit.playonyt(song)
def slow_print(text:str,speed):
for karakter in text:
print(karakter,end="",flush=True)
time.sleep(speed)
def getPass(pswd):
passwd = ["ᛞ","ᚫ","ᛉ","ᚵ","ᛒ","ᛍ","ᛣ","ᛤ","ᛄ"]
if pswd == passwd:
print(" >>> LOGIN SUCCESS ")
else:
sys.exit()
def layDown():
listx = ["ᛞ","ᛞᚫ","ᛞᚫᛉ","ᛞᚫᛉᚵ","ᛞᚫᛉᚵᛒ","ᛞᚫᛉᚵᛒᛍ","ᛞᚫᛉᚵᛒᛍᛣ","ᛞᚫᛉᚵᛒᛍᛣᛤ","ᛞᚫᛉᚵᛒᛍᛣᛤᛄ"]
count = 0
for c in listx:
if count != len(listx):
sys.stdout.write('\r' + c)
time.sleep(0.0001)
count +=1
sys.stdout.flush()
listy = ["ᛄ"," ᛄ"," ᛄ"," ᛄ"," ᛄ"," ᛄ"]
count2 =0
for cc in itertools.cycle(listy):
if count2 == len(listy):
break
else:
sys.stdout.write('\r' + cc)
time.sleep(0.1)
count2 +=1
sys.stdout.flush()
def INITIALIZATION():
listx = [" ██ 39%"," ███ 49%"," ████ 76%"," █████ 89%"," ██████ 100%"," ██████ INITIALIZATION"," ██████ INITIALIZATION"," ██████ INITIALIZATION"," ██████ INITIALIZATION"," ██████ INITIALIZATION"," ██████ INITIALIZATION"," ██████ INITIALIZATION"]
count = 0
for c in listx:
if count != len(listx):
sys.stdout.write('\r' + c)
time.sleep(0.1)
count +=1
sys.stdout.flush()
def START_SIMULATION():
obj = """\033[32m \n________________________________________________________________________________________
. . * . . . . * . . . . . . * . . . .
* . . * . . . * . . * . . . * . . .
. * . . . . . * . . . .-o--. . * .
. . . . . . . * * . :O o O : . .
____ * . . . . . . . . : O. Oo; . .
`. ````.---...___ . * . . . * . `-.O-' . * . .
\_ ; \`.-'```--..__. . . * . . . . .
,'_,-' _,-' ``--._ . * . . . . * . . .
-' ,-' `-._ * . . * . . .
,-' _,-._ ,`-. . . . . . * . .
'--. _ _.._`-. `-._ | `_ . * . . . . . .
; ,' ' _ `._`._ `. `,-'' `-. . . . . . .
,-' \ `;. `. ;` `._ _/\___ `. . * . . *
\ \ , `-' ) `':_ ; \ `. . * . . . *
\ _; ` ,; __; `. . . . . .
'-.; __, ` _,-'-.--''' \-: `. * . . . * .
)`-..---' `---'' \ `. . . . . . . .
___________________________________________________________________________________________\033[0m"""
for karakter in obj:
print(karakter,end="",flush=True)
listx = [" ██ 39%"," ███ 49%"," ████ 76%"," █████ 89%"," ██████ 100%"," ██████ GENERATE DATA"," ██████ GENERATE OBJECT"," ██████ GENERATE FUNCTION"," ██████ COLLECTIONG DATA"," ██████ DOING WORK"," ██████ CONNECTING TO SERVER............"," ██████ CONNECTING TO SERVER DONE............."," ██████ S T A R T T H E S I M U L A T I O N"]
count = 0
for c in listx:
if count != len(listx):
sys.stdout.write('\r' + c)
time.sleep(1)
count +=1
sys.stdout.flush()
def set_of_point():
tz = pytz.timezone("Asia/Jakarta")
timeNow = datetime.now(tz=tz)
setpoint = datetime.strftime(timeNow, "%H:%M:%S")
return setpoint
def prettyPrint(djson, ind=4):
print(json.dumps(djson, indent=ind, sort_keys=True))
def GiveDimension(data):
arr = np.array(data)
print("\n>>> Dimension of set point ::: "+str(arr))
def giveCIRCUMFERENCE(data):
luas = math.pi*(data*data)
keliling = 2*math.pi*data
print ("\n>>> CIRCUMFERENCE of set point ::: ",keliling)
def loopInfinity():
for c in itertools.cycle(['|', '/', '-', '\\',' Then you can be my']):
sys.stdout.write('\r' +"\033[31m"+ c+"\033[0m")
sys.stdout.flush()
time.sleep(0.0001)
def BlindMYVision():
blind = """\033[32m
88 88 88 88
88 88 "" 88
88 88 88
88,dPPYba, 88 88 8b,dPPYba, ,adPPYb,88
88P' "8a 88 88 88P' `"8a a8" `Y88
88 d8 88 88 88 88 8b 88
88b, ,a8" 88 88 88 88 "8a, ,d88
8Y"Ybbd8"' 88 88 88 88 `"8bbdP"Y8
\033[0m
"""
print(blind)
def GiveAllSumulation():
return "Dummy"
def run_Exec(me):
if me == "happy":
return "\n-- S U C C E S S E X E C U T E --"
def TRAPPED():
for c in itertools.cycle(['💀 Though we are trapped', ' Though we are trapped']):
sys.stdout.write('\r' +"\033[31m"+ c+"\033[0m")
sys.stdout.flush()
time.sleep(0.0001)
def IMTRAPPED():
for c in itertools.cycle(['❤️ Though IM trapped', ' Though IM trapped']):
sys.stdout.write('\r' +"\033[31m"+ c+"\033[0m")
sys.stdout.flush()
time.sleep(0.0001)
def GET_NUTRIENTS():
return "-- S U C C E S S G E T N U T R I E N T S --"
def GET_ANTIOXIDANTS():
return "-- S U C C E S S A N T I O X I D A N T S --"
def GET_ENJOYMENT():
return "-- S U C C E S S E N J O Y M E N T --"
def GOD_EXISTENCE():
return "-- S U C C E S S U P G R A D E T O [G O D] --"
def GetTimeNow():
tz = pytz.timezone("Asia/Jakarta")
timeNow = datetime.now(tz=tz)
localtimes = datetime.strftime(timeNow, "%a %I.%M ")
return localtimes
def EnterTrance(target):
os.system(f"python -m trace --listfuncs {target}")
def LeftSystem():
sys.exit("LEFT THE SIMULATION")
def ChallengingYourGod():
for c in itertools.cycle(['|', '/', '-', '\\',' Challenging your god']):
sys.stdout.write('\r' +"\033[31m"+ c+"\033[0m")
sys.stdout.flush()
time.sleep(0.0001)
def FxingIllegalArgument():
for c in itertools.cycle(
["ᛞ Fixing Illegal Arguments","ᛞᚫ Fixing Illegal Arguments","ᛞᚫᛉ Fixing Illegal Arguments","ᛞᚫᛉᚵ Fixing Illegal Arguments","ᛞᚫᛉᚵᛒ Fixing Illegal Arguments","ᛞᚫᛉᚵᛒᛍ Fixing Illegal Arguments","ᛞᚫᛉᚵᛒᛍᛣ Fixing Illegal Arguments","ᛞᚫᛉᚵᛒᛍᛣᛤ Fixing Illegal Arguments","ᛞᚫᛉᚵᛒᛍᛣᛤᛄ Fixing Illegal Arguments"]
):
sys.stdout.write('\r' +"\033[31m"+ c+"\033[0m")
sys.stdout.flush()
time.sleep(0.0001)
def run_execution():
print("\n")
exec("print('SYSTEM TRY ::: EXECUTION!!')")
def announce(num,say):
datas = {"number":num,"says":say}
print(json.dumps(datas, indent=4, sort_keys=True))
def Execute(me):
if me != "":
fire = """
_ _ _ _ ___ _ __ _____ _____ __ _ _ ___ ___ _ _ _ ___ _
| | | |/ \| o \ | | \ | __\ V / __/ _|| | ||_ _|| __| //| \_/ || __|\\
| V V ( o ) / |_ | o ) | _| ) (| _( (_ | U | | | | _| || | \_/ || _| |()
\_n_/ \_/|_|\\___||__() |___/_n_\___\__||___| |_| |___||| |_| |_||___| |()
\\ //V
CREATE BY ALIF BUDIMAN
MUSIC BY MILI 'WORLD.EXECUTE(ME);'
. . * . . . . * . . . . . . * . . . .
* . . * . . . * . . * . . . * . . .
. . * . . . . * . . . . . . * . . . .
* . . * . . . * . . * . . . * . . .
. . * . . . . * . . . . . . * . . . .
* . . * . . . * . . * . . . * . . .
EXECUTION!!
"""
for karakter in fire:
print(karakter,end="",flush=True)
time.sleep(0.001)