Skip to content

Instantly share code, notes, and snippets.

@zbitname
Last active September 26, 2024 14:04
Show Gist options
  • 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);
@topshotter4352
Copy link

How do i download this

@mmccall0813
Copy link

@topshotter4352
Copy this : 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(); } 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);

Then paste it into a bookmark's link. Click on the bookmark when your on the game and the cheat is now activated.

@wbish69
Copy link

wbish69 commented Feb 27, 2019

Why is it buying random stuff?

@DonaldTsang
Copy link

@primalwound2
Copy link

@mmccall0813 i need some help. I understand how this works but not how u remove the spaces

@primalwound2
Copy link

@topshotter4352
Copy this : 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(); } 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);

Then paste it into a bookmark's link. Click on the bookmark when your on the game and the cheat is now activated.

Can you make some of these haks

@widerkinkakajou67YT
Copy link

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

@widerkinkakajou67YT
Copy link

@ihuaebipaepbih
Copy link

can you do this but without the auto buy. Ruins the purpose of the hack

@khggk
Copy link

khggk commented Dec 2, 2020

how do you do the hack?

@DoomSlayer-cm
Copy link

How do you reset the hack?

@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);

@MoonPro69
Copy link

is there an updated one, because this one is not working at all. I have tried everything this has to offer, and it's still not working. Is there a way to get an update? Please

@Ballskids3
Copy link

Dog how yall on git and dont know how to use ts ;-;. First Go to the game double click or right click to bring up little menu.
Second You wanna click inspect. Third You wanna go to the console page Fourth You wanna copy code, Then paste it in. Problems* If you get a message telling you some bs just type what it says to type. I think its "allow consloe" idk tho

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