CCCPaste

Chrome dino hack (😅Bad coding😅)

This chrome dino hack is cool but some of the features dosn't work cuz i am shit at coding :L


console.log('[== Starting MineGrawls Op chrome dino... ==]');



document.onkeydown = function(e){
   e = e || window.event;
   var key = e.which || e.keyCode;
   if(key===72){
       hackMenu();
   } else if (key === 67) {
       ac.termtimer();
   }
}; // thx to myself MineGrawl xD
 
var hmenuText = 'Welcome to MineGrawl\'s Chrome dino hack v1.1\nPlease enter a number of the function below:\n1) custom speed\n2) cant die\n3) running in the same place all the time\n4) Custom score';
 
function hackMenu() {
   // if (event.code = 'KeyH') {
       ans = prompt(hmenuText);
       if (ans == '1') {
ans = prompt('How much speed do you want to have?');

Runner.instance_.setSpeed(Number(ans));
///////////////////////////////////////////////////
       } if (ans == '4') {
ans = prompt('How much free score would you like?'); {

Runner.instance_.distanceRan = (ans) / Runner.instance_.distanceMeter.config.COEFFICIENT
///////////////////////////////////////////////////
       } if (ans == '2') {
alert('press ok and you wont be able to die');
Runner.instance_.gameOver = function(){};
///////////////////////////////////////////////////
       } else if (ans == '3') {
alert('By doing this you can really move anywhere only get points but ok');
Runner.instance_.playIntro = true

console.log('[== Successfully started! ==]');
console.log('[== Whats new: Danish translations ==]');
       }
}
}