Skip to content

Instantly share code, notes, and snippets.

@zbitname
Last active September 27, 2023 16:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save zbitname/19ce4fc3a569b1287ffd to your computer and use it in GitHub Desktop.
Save zbitname/19ce4fc3a569b1287ffd to your computer and use it in GitHub Desktop.
ParticleClicker cheat
/*
Cheat code for http://particle-clicker.web.cern.ch/particle-clicker/
*/
(function(angular) {
var e = angular.element;
function c() {
e('#detector').scope().dc.click();
}
function u() {
var rcScope = e('#researchContent').scope().rc;
rcScope.research.forEach(function(r) {
if (rcScope.isAvailable(r)) {
rcScope.doResearch(r);
}
});
var hrScope = e('#hrContent').scope().hrc;
hrScope.workers.forEach(function(w) {
if (hrScope.isAvailable(w)) {
hrScope.hire(w);
}
});
var ucScope = e('#upgradesContent').scope().uc;
ucScope.upgrades.forEach(function(u) {
if (ucScope.isAvailable(u)) {
ucScope.upgrade(u);
}
});
}
setInterval(c, 10);
setInterval(u, 100);
})(angular);
@Gurkan1805
Copy link

How do I export it?

@pyxl-hacks
Copy link

var ff = JSON.parse(localStorage.getItem("lab"));
ff["money"] = 1e+00;
ff["data"] = 1e+300;
ff["reputation"] =1e+300;
localStorage.setItem("lab", JSON.stringify(ff));
window.location.reload();

i have made widerkinkakajou67YTs code 200 times more powerful.

@Jaydenhackerpp
Copy link

hi

@Jaydenhackerpp
Copy link

it worked :)

@imadeadmeme
Copy link

how do you do all this

@Nightmare5172
Copy link

fbffug

@funneljai21
Copy link

here it is without the auto buy
javascript:/*
Cheat code for http://particle-clicker.web.cern.ch/particle-clicker/
*/

(function(angular) {
var e = angular.element;

function c() {
e('#detector').scope().dc.click();
}
setInterval(c, 10);
setInterval(u, 100);
})(angular);

@barny1551
Copy link

how do i in port

@Gavin448
Copy link

(function(angular) {
var e = angular.element;

function c() {
e('#detector').scope().dc.click();
}
setInterval(c, 10);
setInterval(u, 100);
})(angular);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment