forked from futzumi/Moby-Max-Hack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain Script
212 lines (208 loc) · 11.3 KB
/
Main Script
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
for (var e = document.getElementsByClassName("menuVirescentOverlord2"), d = 0; d < e.length; d++) e[d].hidden = !0;
(() => {
function b(b) {
let c = document.createElement("button");
return c.classList.add("cheat"), c.style.font = "arial", c.innerText = b, c
}
let d = document.createElement("style");
d.innerHTML = `details > summary { cursor: pointer; transition: 0.15s; list-style: none;}details > summary:hover { color: #2596be}details > summary::-webkit-details-marker { display: none;}details summary ~ * { animation: sweep .5s ease-in-out;}@keyframes sweep { 0% {opacity: 0; transform: translateY(-10px)} 100% {opacity: 1; transform: translateY(0)}}.cheat { border: none; background: hsl(0, 0%, 20%); padding: 5px; margin: 3px; width: 60%; color: hsl(0, 0%, 100%); transition: 0.2s; border-radius: 5px; cursor: pointer;}.cheat:hover { background: hsl(0, 0%, 30%);}`;
let da = document.createElement("style");
da.innerHTML = `body {
background-color: #333;
display: flex;
justify-content:center;
align-items: center;
height: 100vh;
}
.text-rainbow-animation {
font-family:arial black;
font-size:15px;
background-image:
linear-gradient(to right, #038ABA,#6636B3, #D05194);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: rainbow-animation 35s linear infinite;
}
@keyframes rainbow-animation {
to {
background-position: 4500vh;
}
}`;
if (window.location.href.indexOf("TPLab?") > -1) {
function submit() {TPlab.onNextClick(event);}
} else {
function submit() {doNext();}
}
const a = document.createElement("div");
a.appendChild(d), a.style.zIndex = "999999999999999999999999999999999", a.className = "menuVirescentOverlord2", a.style.width = "400px", a.style.background = "hsl(0, 0%, 10%)", a.style.borderRadius = "10px", a.style.position = "absolute", a.style.textAlign = "center", a.style.fontFamily = "arial", a.style.color = "white", a.style.overflow = "hidden", a.style.top = "28%", a.style.left = "35%";
var e = 0,
f = 0,
g = 0,
h = 0;
a.onmousedown = (b = window.event) => {
b.preventDefault(), g = b.clientX, h = b.clientY, document.onmouseup = () => {
document.onmouseup = null, document.onmousemove = null
}, document.onmousemove = b => {
b = b || window.event, b.preventDefault(), e = g - b.clientX, f = h - b.clientY, g = b.clientX, h = b.clientY, a.style.top = a.offsetTop - f + "px", a.style.left = a.offsetLeft - e + "px"
}
};
let i = document.createElement("div");
a.appendChild(i), i.style.width = "100%", i.style.height = "35px", i.style.paddingTop = "2px", i.style.fontSize = "1.2rem", i.style.textAlign = "center", i.innerHTML = "Moby Max Hack", i.zIndex = "9999", i.style.fontFamily = 'arial black';
let t, j = document.createElement("button");
i.appendChild(j), j.style.background = "#444444", j.style.height = "45px", j.style.width = "45px", j.style.border = "none", j.style.cursor = "pointer", j.style.position = "absolute", j.style.top = "-10px", j.style.right = "-10px", j.style.fontSize = "1.5rem", j.style.borderRadius = "10px", j.style.fontFamily = "Nunito", j.style.fontWeight = "bolder", j.style.paddingTop = "10px", j.style.paddingRight = "15px", j.innerText = "\u24E7", j.onclick = () => {
a.remove(), clearInterval(t)
};
let k = document.createElement("button");
i.appendChild(k), k.style.background = "#444444", k.style.height = "45px", k.style.width = "45px", k.style.border = "none", k.style.cursor = "pointer", k.style.position = "absolute", k.style.top = "-10px", k.style.left = "-10px", k.style.fontSize = "1.5rem", k.style.borderRadius = "10px", k.style.fontFamily = "Nunito", k.style.fontWeight = "bolder", k.style.paddingTop = "10px", k.style.paddingLeft = "15px", k.innerText = "-", k.onclick = () => {
l.hidden = !l.hidden;
};
let l = document.createElement("div"),
m = document.createElement("div");
l.appendChild(m), a.appendChild(l), m.innerHTML = `<div class="text-rainbow-animation"> Made By Virescent Overlord</div>`, m.style.display = "block", m.style.margin = "10px", m.style.minHeight = "70px";
let n = document.createElement("span");
m.appendChild(n), document.body.append(a);
let o = document.createElement("div");
l.appendChild(o), o.style.fontSize = "0.9rem", o.style.paddingBottom = "5px";
let p = {
global: {
"Fill in the blank": () => {
for (var a = document.getElementsByClassName("menuVirescentOverlord1"), b = 0; b < a.length; b++) a[b].hidden = !0;
ans = CurrentProblem.CorrectAnswer;
var b = document.createElement("div");
b.style.background = "black", b.className = "menuVirescentOverlord1", b.style.textAlign = "center", b.style.transform = "translateX(-50%)", b.style.border = "1px solid white", b.style.padding = "1vmin", b.style.position = "fixed", b.style.left = "50%", b.style.borderRadius = "1vmin", b.style.zIndex = "9999", b.textContent += "\u3164Made By Virescent Overlord, The solution is: " + ans, b.style.color = "white", document.body.appendChild(b)
},
"Multiple Choice Hack": () => {
for (var a = document.getElementsByClassName("menuVirescentOverlord1"), b = 0; b < a.length; b++) a[b].hidden = !0;
javascript: ans = CurrentProblem.CorrectAnswer;
problemType = CurrentProblem.TypeNew;
for (var exy = document.getElementsByClassName("mce-menu-item mce-menu-item-preview mce-stack-layout-item mce-last"), did = 0; did < exy.length; did++) exy[did].click();
try {
let b = document.getElementsByClassName("ms-pbl-manchoice ms-pbl-manchoice-checkbox ms-pbl-manchoice-radio-multistate")[0];
b.setAttribute("data-name", ans), b.click()
} catch (a) {}
for (var a = document.getElementsByClassName("menuVirescentOverlord1"), b = 0; b < a.length; b++) a[b].hidden = !0;
for (var a = document.getElementsByTagName("input"), c = 0; c < a.length; c++) a[c].setAttribute("data-name", ans);
document.getElementsByTagName("input")[0].click(),
submit();
},
"Play Games Instead": () => {
javascript: var dd = document.createElement("iframe");
let a = prompt("What Game\n\nOptions: Duck Life(DL), or Drift Boss(DB), Vex 5(V5), Retro Bowl(RB)\nDino Game(DG), Run 3(R3)");
"DL" == a ? dd.src = "https://www.mathplayground.com/duck4/index.html" : "DB" == a ? dd.src = "https://www.mathplayground.com/drift-boss-v3/index.html" : "V5" == a ? dd.src = "https://vex5.endinternetcensorship.repl.co/" : "RB" == a ? dd.src = "https://retro-bowl.endinternetcensorship.repl.co/" : "DG" == a ? dd.src = "https://offline-dino-game.firebaseapp.com/" : "R3" == a ? dd.src = "https://player03.com/run/3/beta" : alert("Not a valid responce!"),
dd.style.position = "fixed",
dd.frameBorder = "0",
dd.style.left = "0%",
dd.style.top = "0%",
dd.scrolling = "no",
dd.style.zIndex = "999999999999",
dd.id = "virescentOverlord1",
document.body.appendChild(dd);
var e = document.createElement("div");e.innerHTML = "\uD80C\uDC79",
e.style.zIndex = "999999999999999",
e.style.cursor = "pointer",
e.style.position = "fixed",
e.style.top = "0%",
e.style.left = "20%",
e.style.color = "red",
e.style.background = "transparent",
e.onclick = function() {
document.getElementById("virescentOverlord1").height = "600px", document.getElementById("virescentOverlord1").width = "1200px", e.remove()
},
document.body.appendChild(e);
var c = document.createElement("div");c.innerHTML = "\u24E7",
c.style.zIndex = "9999999999999",
c.style.cursor = "pointer",
c.style.width = "300",
c.style.height = "300",
c.style.position = "fixed",
c.style.top = "1%",
c.style.left = "1%",
c.style.color = "red",
c.style.background = "transparent",
c.onclick = function() {
c.remove(), document.getElementById("virescentOverlord1").remove(), e.remove()
}
document.body.appendChild(c)
if (dd.src == "") {
dd.remove();
e.remove();
c.remove();
}
},
"Focus Time Hack": () => {
javascript: if (window.location.href.indexOf("index?") != -1) {
function a(a) {
return 9 < a ? a : "0" + a
}
function refreshTimer() {
TimerClass.prototype.timerPause = function() {
this.studentIdle = false;
}
}
setTimeout(refreshTimer, 30000);
setInterval(this.studentIdle = false, 1);
setInterval(this.canPause = false, 1);
setInterval(this.idleTimer = 9999999999999999999, 1);
setInterval(this.timerActive = true, 1);
let b = document.createElement("div");
b.innerHTML = "Time Hacked <span id=\"minutes\"></span>:<span id=\"seconds\"></span>";
let c = document.createElement("span");
c.id = "minutes", document.body.appendChild(c);
var d = 0;
setInterval(function() {
document.getElementById("seconds").innerHTML = a(++d % 60), document.getElementById("minutes").innerHTML = a(parseInt(d / 60, 10))
}, 1e3), m.appendChild(b)
} else {
alert("You have to be in a lesson that includes a timer")
}
},
"Watch Anime": () => {
let ani = document.createElement("iframe");
ani.src = "https://animension.to/";
ani.id = "yfhdj"
ani.frameBorder = "0";
ani.style.position = 'absolute';
ani.style.left = '0';
ani.style.top = '0';
ani.style.zIndex = 9999999999;
ani.id = "virescentOverlord11";
document.body.appendChild(ani);
var e = document.createElement("div");
e.innerHTML = "\uD80C\uDC79",
e.style.zIndex = "999999999999999",
e.style.cursor = "pointer",
e.style.position = "fixed",
e.style.top = "-1%",
e.style.left = "20%",
e.style.color = "red",
e.style.background = "transparent",
e.onclick = function() {
document.getElementById("virescentOverlord11").height = "600px", document.getElementById("virescentOverlord11").width = "1200px", e.remove()
},
document.body.appendChild(e);
var fa = document.createElement("div");
fa.innerHTML = "\u24E7",
fa.style.zIndex = "9999999999999",
fa.style.cursor = "pointer",
fa.style.width = "300",
fa.style.height = "300",
fa.style.position = "fixed",
fa.style.top = "0",
fa.style.left = "0",
fa.style.color = "red",
fa.style.background = "transparent",
fa.onclick = function() {
fa.remove(), ani.remove(), e.remove()
}
document.body.appendChild(fa);
}
}
}
r = document.createElement("details"), r.innerHTML = `<summary style="padding: 10px; font-size: 1.5em; font-weight: bolder">Cheats ↴</summary>`;
for (var q = 0; q < Object.keys(p.global).length; q++) {
let c = b(Object.keys(p.global)[q]);
c.onclick = p.global[Object.keys(p.global)[q]], r.appendChild(c)
}
m.style.left = "10px"
r.open = !0, r.style.paddingBottom = "10px", m.appendChild(r), m.appendChild(da);
})();