-
-
Save ITHackCentral/683d9fb95afdf819bd3d805b53b6f47f to your computer and use it in GitHub Desktop.
| var time = 60; var clock = 300; function TimeHack(){ | |
| setInterval(function Applytime() { | |
| document.getElementsByClassName('timerLabel whiteTextWithShadow font-60 ng-binding')["0"].innerText = time; document.getElementsByClassName('timerLabel whiteTextWithShadow font-60 ng-binding')["0"].innerHtml = time; | |
| document.getElementsByClassName('clockHand').rotate = clock; | |
| }, 1);}; function TimeHackm() { | |
| setInterval(function Addtime() { | |
| time = time + 1; | |
| clock = clock + 6; | |
| }, 1000);} | |
| var score = 1; | |
| function ScoreHack(){ | |
| setInterval(function ApplyScore() { | |
| score = score + 1 | |
| document.getElementById("scoreBar0").innerText = score ; | |
| }, 1);}; | |
| alert("YOU ARE USING I_T_HackCentral's ML CHEAT! ENJOY!") | |
| var btn = document.createElement("BUTTON"); | |
| document.body.appendChild(btn); | |
| btn.setAttribute("onclick","ShowAwnser()"); | |
| btn.setAttribute("id","dashow") | |
| var t = document.createTextNode(".A. Bot"); | |
| btn.appendChild(t); | |
| var btnt = document.createElement("BUTTON"); | |
| document.body.appendChild(btnt); | |
| btnt.setAttribute("onclick","TimeHack(); TimeHackm()") | |
| btnt.setAttribute("id","dasho") | |
| var tt = document.createTextNode("TimeCheat"); | |
| btnt.appendChild(tt); | |
| var btnd = document.createElement("BUTTON"); | |
| document.body.appendChild(btnd); | |
| btnd.setAttribute("onclick","ScoreHack()"); | |
| btnd.setAttribute("id","dashowd") | |
| var td = document.createTextNode("Point Hack"); | |
| btnd.appendChild(td); | |
| function ShowAwnser(){ | |
| var nums = document.getElementsByClassName('questions-text-alignment whiteTextWithShadow question-size-v4')["0"].innerText; | |
| var add = nums.split('+' && '='); | |
| var equasion = add[0]; | |
| function addbits(s){ | |
| var total= 0, s= s.match(/[+\-]*(\.\d+|\d+(\.\d+)?)/g) || []; | |
| while(s.length){ | |
| total+= parseFloat(s.shift()); | |
| } | |
| return total; | |
| } | |
| var awnser = addbits(equasion) | |
| var nums = document.getElementsByClassName('questions-text-alignment whiteTextWithShadow question-size-v4')["0"].innerText; | |
| var add = nums.split('+' && '='); | |
| var equasion = add[0]; | |
| function addbits(s){ | |
| var total= 0, s= s.match(/[+\-]*(\.\d+|\d+(\.\d+)?)/g) || []; | |
| while(s.length){ | |
| total+= parseFloat(s.shift()); | |
| } | |
| return total; | |
| } | |
| var awnser = addbits(equasion) | |
| document.getElementById('dashow').innerText = awnser; | |
| document.getElementsByClassName("questions-input-adjustment questions-input-width-v3")["0"].value = awnser; | |
| } | |
| window.addEventListener("keydown", checkKeyPressed, false); | |
| function checkKeyPressed(e) { | |
| if (e.keyCode == "65") { | |
| ShowAwnser() | |
| } | |
| } |
oh alright thank you
im so lost amd dont know what to do
when i done the first bit where you copy the code then go on live mathletics and spam a and enter but its not working
i cant find the bookmarks
hi
fake
um it not hahahaha
im searching for a way to delete the prevent cheats file i will tell you when i can. ive been working on this for months.
Did you find a way to get rid of the mathletics file?
it still works, tf?
var time = 60;
var clock = 300;
function TimeHack() {
setInterval(function Applytime() {
const timer = document.querySelector('.timerLabel.whiteTextWithShadow.font-60.ng-binding');
if (timer) timer.innerText = time;
const hand = document.querySelector('.clockHand');
if (hand) hand.style.transform = rotate(${clock}deg);
}, 1);
}
function TimeHackm() {
setInterval(function Addtime() {
time++;
clock += 6;
}, 1000);
}
var score = 1;
function ScoreHack() {
setInterval(function ApplyScore() {
score++;
const scoreBar = document.getElementById('scoreBar0');
if (scoreBar) scoreBar.innerText = score;
}, 1);
}
alert("YOU ARE USING I_T_HackCentral's ML CHEAT! ENJOY!");
// Create buttons (unchanged)
var btn = document.createElement("BUTTON");
document.body.appendChild(btn);
btn.setAttribute("onclick", "ShowAwnser()");
btn.setAttribute("id", "dashow");
var t = document.createTextNode(".A. Bot");
btn.appendChild(t);
var btnt = document.createElement("BUTTON");
document.body.appendChild(btnt);
btnt.setAttribute("onclick", "TimeHack(); TimeHackm()");
btnt.setAttribute("id", "dasho");
var tt = document.createTextNode("TimeCheat");
btnt.appendChild(tt);
var btnd = document.createElement("BUTTON");
document.body.appendChild(btnd);
btnd.setAttribute("onclick", "ScoreHack()");
btnd.setAttribute("id", "dashowd");
var td = document.createTextNode("Point Hack");
btnd.appendChild(td);
// ----- FIXED ShowAwnser (works with subtraction) -----
function ShowAwnser() {
// 1. Locate the question element
const questionEl = document.querySelector('.questions-text-alignment.whiteTextWithShadow.question-size-v4');
if (!questionEl) {
console.error('Question element not found');
return;
}
// 2. Extract the expression before '='
let fullText = questionEl.innerText.trim();
let expression = fullText.split('=')[0].trim();
// 3. Normalize different dash characters (en dash, em dash) to standard minus
expression = expression.replace(/[−–—]/g, '-');
// 4. Evaluate the arithmetic expression safely
let answer;
try {
// Use eval for simplicity (works for +, -, *, /, etc.)
// Since the expression comes from your own website, it's generally safe.
answer = eval(expression);
} catch (e) {
console.error('Evaluation error:', e);
return;
}
if (isNaN(answer)) {
console.error('Could not evaluate expression:', expression);
return;
}
// 5. Display answer on the button (optional)
const btn = document.getElementById('dashow');
if (btn) btn.innerText = answer;
// 6. Fill the answer in the input field
const inputEl = document.querySelector('.questions-input-adjustment.questions-input-width-v3');
if (inputEl) {
inputEl.value = answer;
// Trigger events to notify any JavaScript framework (Angular, React, etc.)
inputEl.dispatchEvent(new Event('input', { bubbles: true }));
inputEl.dispatchEvent(new Event('change', { bubbles: true }));
// If the game uses AngularJS, try to manually update the model
if (window.angular && inputEl.attributes['ng-model']) {
const scope = angular.element(inputEl).scope();
if (scope) {
const modelName = inputEl.attributes['ng-model'].value;
scope[modelName] = answer;
scope.$apply();
}
}
} else {
console.error('Input field not found');
}
}
// Hotkey: press 'A' to trigger the answer bot
window.addEventListener("keydown", checkKeyPressed, false);
function checkKeyPressed(e) {
if (e.keyCode == "65") ShowAwnser(); // 'A' key
}
you're welcome kids
you're welcome kids
do I use it in tamper monkey? or the console
Convert it to bookmarklet
It works the best that way
Convert it to a bookmark let and put it in your bookmarks
I might give up finding a way to get rid of the prevent cheats file I did find a way to delete it but It regenerated the file
Convert it to bookmarklet
how to convert, since i am new
NP