Add files via upload
[bcp.git] / csptest / src / global / useanyblook.blook
blob1037fefe5da40ffc82ae222d1384fff9a8e22795
1 console.log(
2 "%cScript: useanyblook.blook\n\n%cCreated by Ducklife3141!\n%cJoin the discord server: https://discord.gg/Sta64r9hYp",
3 "color:#0bc2cf;font-size:125%;font-weight:bold;",
4 "font-size:150%;color:red;",
5 "font-size:120%;color:#a000ff;"
6 );
7 var snode = Object.values(window.document.querySelector('#app>div>div'))[1].children[0]._owner.stateNode;
8 function setBlooks(blks){
9 snode.setState({unlocks:Object.keys(blks)});
10 alert("All Blooks ran successfully!");
11 console.log("Blooks Found!");
13 if(!window.location.href.includes("/lobby")){
14 alert("You must be on the lobby for this cheat to work!");
15 console.error("you must be on the lobby page!");
16 }else {
17 if(window.Object.keys.toString().includes("native code")){
18 var t = window.Object.keys;
19 window.Object.keys = function(a){
20 if(a["Breakfast Combo"]){window.Object.keys = t;setBlooks(a);}
21 return t(a);
24 snode.render();