forked from hankypoo7/The-blooket-hacks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OPchests.js
58 lines (55 loc) · 2.32 KB
/
OPchests.js
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
// Blooket-Hacks - @ 2022 CrazyH & cph101
if (console_msg("Op Chests")) {
setInterval(function(){var obj = Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state;
obj.choices = [{
"type": "multiply",
"val": 100,
"text": "Multiply Gold!",
"blook": "Rainbow Astronaut"
},
{
"type": "swap",
"text": "SWAP!",
"blook": "Spooky Ghost"
},
{
"type": "gold",
"val": 1000000,
"text": "+1M Gold",
"blook": "Tim the Alien"
}
]
})
}
// Console Message Code
function console_msg(file, state) {
if (!state) {
if (window.location.href.indexOf("blooket.com") > -1 && window.location.host !== "www.blooket.com" && window.location.host !== "id.blooket.com") {
console_msg(file, true);
return true;
} else if (window.location.host === "www.blooket.com" || window.location.host === "id.blooket.com") {
console_msg(file, "Please run this hack on the dashboard or in a game");
return;
} else {
console_msg(file, "Please run this hack on blooket");
return;
}
} else {
console.log("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"); // Spacing: 60
var style = 'color: yellow; -webkit-text-stroke: 1px black; font-size:30px;';
console.info('%c📁 Loaded: '+file+'.js\n', style );
console.group("📣 Blooket Hacks By cph101 & CrazyH - Announcement 📣"); // Open Console Group
var style = 'color: tomato; -webkit-text-stroke: 1px black; font-size:30px;';
console.info('%c👋🏻 Hi, We are Happy to have you as one of our users', style );
var style = 'color: blue; -webkit-text-stroke: 1px black; font-size:30px;';
console.info('%c⭐️ Please star our Github repo', style );
if (state === true) {
var style = 'color: green; -webkit-text-stroke: 1px black; font-size:30px;';
console.info('%c✅ Hack Successfully Enabled', style );
} else {
var style = 'color: red; -webkit-text-stroke: 1px black; font-size:30px;';
console.info('%c❌ Failed To Enable Hack', style );
}
console.groupEnd(); // Close Console Group
if (state != true) alert(state);
}};