diff --git a/CUnleash.js b/CUnleash.js index c1cabcb..0f9f726 100644 --- a/CUnleash.js +++ b/CUnleash.js @@ -30,7 +30,7 @@ setInterval(function () { document.addEventListener("keydown", function (event) { if (event.code === "KeyX") { - if (state) { + if (!state) { // code to run when state is ON console.log("State is ON"); startAutoClicker();