Advertisement
NewBestPastebins

Chrome dino hack (😅Bad coding😅)

Oct 4th, 2021 (edited)
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. This chrome dino hack is cool but some of the features dosn't work cuz i am shit at coding :L
  2.  
  3.  
  4. console.log('[== Starting MineGrawls Op chrome dino... ==]');
  5.  
  6.  
  7.  
  8. document.onkeydown = function(e){
  9.   e = e || window.event;
  10.   var key = e.which || e.keyCode;
  11.   if(key===72){
  12.       hackMenu();
  13.   } else if (key === 67) {
  14.       ac.termtimer();
  15.   }
  16. }; // thx to myself MineGrawl xD
  17.  
  18. 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';
  19.  
  20. function hackMenu() {
  21.    // if (event.code = 'KeyH') {
  22.        ans = prompt(hmenuText);
  23.        if (ans == '1') {
  24. ans = prompt('How much speed do you want to have?');
  25.  
  26. Runner.instance_.setSpeed(Number(ans));
  27. ///////////////////////////////////////////////////
  28.        } if (ans == '4') {
  29. ans = prompt('How much free score would you like?'); {
  30.  
  31. Runner.instance_.distanceRan = (ans) / Runner.instance_.distanceMeter.config.COEFFICIENT
  32. ///////////////////////////////////////////////////
  33.        } if (ans == '2') {
  34. alert('press ok and you wont be able to die');
  35. Runner.instance_.gameOver = function(){};
  36. ///////////////////////////////////////////////////
  37.        } else if (ans == '3') {
  38. alert('By doing this you can really move anywhere only get points but ok');
  39. Runner.instance_.playIntro = true
  40.  
  41. console.log('[== Successfully started! ==]');
  42. console.log('[== Whats new: Danish translations ==]');
  43.        }
  44. }
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement