Advertisement
HonestlyDex

Snake Menu

Dec 3rd, 2021 (edited)
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.snake.more_menu = function(e) {
  2.   e = e || 25;
  3.  
  4.   // micro
  5.   let img = new Image;
  6.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Micro.png?raw=true';
  7.   img.width = 47;
  8.   img.height = 47;
  9.   document.querySelector('#size').appendChild(img);
  10.  
  11.   // tiny
  12.   img = new Image;
  13.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Tiny.png?raw=true';
  14.   img.width = 47;
  15.   img.height = 47;
  16.   document.querySelector('#size').appendChild(img);
  17.  
  18.   // super big
  19.   img = new Image;
  20.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Super%20Big.png?raw=true';
  21.   img.width = 47;
  22.   img.height = 47;
  23.   document.querySelector('#size').appendChild(img);
  24.  
  25.   // ultra big
  26.   img = new Image;
  27.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Too%20Big.png?raw=true';
  28.   img.width = 47;
  29.   img.height = 47;
  30.   document.querySelector('#size').appendChild(img);
  31.  
  32.   // humongous
  33.   img = new Image;
  34.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Humongous.png?raw=true';
  35.   img.width = 47;
  36.   img.height = 47;
  37.   document.querySelector('#size').appendChild(img);
  38.  
  39.   // too big
  40.   img = new Image;
  41.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Too%20Big.png?raw=true';
  42.   img.width = 47;
  43.   img.height = 47;
  44.   document.querySelector('#size').appendChild(img);
  45.  
  46.   // too big
  47.   img = new Image;
  48.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Way%20Too%20Big.png?raw=true';
  49.   img.width = 47;
  50.   img.height = 47;
  51.   document.querySelector('#size').appendChild(img);
  52.  
  53.  
  54.   /*--SPEEDS--*/
  55.  
  56.   // blursed
  57.   img = new Image;
  58.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/blursed.png?raw=true';
  59.   img.width = 47;
  60.   img.height = 47;
  61.   img.class = 'DqMRee SsAred';
  62.   document.querySelector('#speed').appendChild(img);
  63.  
  64.  
  65.  
  66.   // lightning
  67.   img = new Image;
  68.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/lightning.png?raw=true';
  69.   img.width = 47;
  70.   img.height = 47;
  71.   img.class = 'DqMRee SsAred';
  72.   document.querySelector('#speed').appendChild(img);
  73.  
  74.   // snail
  75.   img = new Image;
  76.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Snail.png?raw=true';
  77.   img.width = 47;
  78.   img.height = 47;
  79.   img.class = 'DqMRee SsAred';
  80.   document.querySelector('#speed').appendChild(img);
  81.  
  82.   // fast-slow 2: faster and slower
  83.   img = new Image;
  84.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Faster%20And%20Slower.png?raw=true';
  85.   img.width = 47;
  86.   img.height = 47;
  87.   img.class = 'DqMRee SsAred';
  88.   document.querySelector('#speed').appendChild(img);
  89.  
  90.   // desert bus
  91.   img = new Image;
  92.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Desert%20Bus.png?raw=true';
  93.   img.width = 47;
  94.   img.height = 47;
  95.   img.class = 'DqMRee SsAred';
  96.   document.querySelector('#speed').appendChild(img);
  97.  
  98.   // bullet
  99.   img = new Image;
  100.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Bullet.png?raw=true';
  101.   img.width = 47;
  102.   img.height = 47;
  103.   img.class = 'DqMRee SsAred';
  104.   document.querySelector('#speed').appendChild(img);
  105.  
  106.   // hyperbullet (red)
  107.   img = new Image;
  108.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Red%20bullet.png?raw=true';
  109.   img.width = 47;
  110.   img.height = 47;
  111.   img.class = 'DqMRee SsAred';
  112.   document.querySelector('#speed').appendChild(img);
  113.  
  114.   // ultrabullet (purple)
  115.   img = new Image;
  116.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Purple%20bullet.png?raw=true';
  117.   img.width = 47;
  118.   img.height = 47;
  119.   img.class = 'DqMRee SsAred';
  120.   document.querySelector('#speed').appendChild(img);
  121.  
  122.   // yeetbullet (blue)
  123.   img = new Image;
  124.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Blue%20Bullet.png?raw=true';
  125.   img.width = 47;
  126.   img.height = 47;
  127.   img.class = 'DqMRee SsAred';
  128.   document.querySelector('#speed').appendChild(img);
  129.  
  130.   // eternity
  131.   img = new Image;
  132.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/eternal.png?raw=true';
  133.   img.width = 47;
  134.   img.height = 47;
  135.   img.class = 'DqMRee SsAred';
  136.   document.querySelector('#speed').appendChild(img);
  137.  
  138.   // ultradeath
  139.   img = new Image;
  140.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/ultradeath.png?raw=true';
  141.   img.width = 47;
  142.   img.height = 47;
  143.   img.class = 'DqMRee SsAred';
  144.   document.querySelector('#speed').appendChild(img);
  145.  
  146.  
  147.   /*--COUNTS--*/
  148.  
  149.   // 13
  150.   img = new Image;
  151.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/13.png?raw=true';
  152.   img.width = 47;
  153.   img.height = 47;
  154.   document.querySelector('#count').appendChild(img);
  155.  
  156.   // 25
  157.   img = new Image;
  158.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/25.png?raw=true';
  159.   img.width = 47;
  160.   img.height = 47;
  161.   document.querySelector('#count').appendChild(img);
  162.  
  163.   // 40 :rolling_eyes:
  164.   img = new Image;
  165.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/40.png?raw=true';
  166.   img.width = 47;
  167.   img.height = 47;
  168.   document.querySelector('#count').appendChild(img);
  169.  
  170.   // 87
  171.   img = new Image;
  172.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/87.png?raw=true';
  173.   img.width = 47;
  174.   img.height = 47;
  175.   document.querySelector('#count').appendChild(img);
  176.  
  177.   // apple bomb
  178.   img = new Image;
  179.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Apple%20Bomb.png?raw=true';
  180.   img.width = 47;
  181.   img.height = 47;
  182.   document.querySelector('#count').appendChild(img);
  183.  
  184.   // apple nuke
  185.   img = new Image;
  186.   img.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/nuke.png?raw=true';
  187.   img.width = 47;
  188.   img.height = 47;
  189.   document.querySelector('#count').appendChild(img);
  190.  
  191.   /* making do things */
  192.   const scripts = document.getElementsByTagName('script');
  193.   for (let script of scripts) {
  194.     if(script.src === '' || script.src.includes('apis.google.com'))continue;
  195.     const req = new XMLHttpRequest();
  196.     req.open('GET', script.src);
  197.     req.onload = function () {
  198.       const code = this.responseText;
  199.       if (code.indexOf('trophy') === -1)
  200.         return;
  201.  
  202.       const functio = code.match(
  203.         /[a-zA-Z0-9_$]{1,6}\.prototype\.resetState=function\(a\){a=void 0===a\?!0:a;[^]*?this,!1\)}/
  204.       )[0];
  205.       const thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj = functio.match(
  206.         /0!==this\.[a-zA-Z0-9_$]{1,6}/
  207.       )[0].replace('0!==', '');
  208.       const pafihwotyhopyplacetheiopafsjafijplesllllllll = functio.match(
  209.         /this\.[a-zA-Z0-9_$]{1,6}\.push\([a-zA-Z0-9_$]{1,6}\(this,/
  210.       )[0];
  211.       const inevilmodes = functio.match(
  212.         /[a-zA-Z0-9_$]{1,6}\(this,2\)\|\|[a-zA-Z0-9_$]{1,6}\(this,8\)\|\|[a-zA-Z0-9_$]{1,6}\(this,9\)\|\|[a-zA-Z0-9_$]{1,6}\(this,10\)/
  213.       )[0];
  214.       const dothething = functio.match(
  215.         /for\(d=[a-zA-Z0-9_$]{1,6}\(this\.[a-zA-Z0-9_$]{1,6}\),[^}]*?this\)/
  216.       )[0];
  217.       const dothethingportalstyle = functio.match(
  218.         /for\(b=Math\.floor\(21\/\(1===this\.[^}]*?type=this\.[a-zA-Z0-9_$]{1,6}\[d\]\.type\)/
  219.       )[0];
  220.       const modecheck = code.match(
  221.         /[a-zA-Z0-9_$]{1,6}=function\(a,b\){return 12===a[^}]*?===b}/
  222.       )[0].match(/[a-zA-Z0-9_$]{1,6}/)[0];
  223.  
  224.       eval(
  225.         functio.replace(
  226.           `if(c=${inevilmodes})`,
  227.           `
  228.           if(${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} > 2) {
  229.             if(!(${inevilmodes})) {
  230.               if(${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 3) {
  231.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, 2));
  232.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, 2));
  233.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, 2));
  234.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, 1));
  235.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, 1));
  236.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, 0));
  237.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, 0));
  238.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, 0));
  239.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, -1));
  240.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, -1));
  241.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, -2));
  242.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, -2));
  243.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, -2));
  244.               } else if(${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 4) {
  245.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, 2));
  246.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, 2));
  247.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, 2));
  248.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, 2));
  249.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, 2));
  250.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, 1));
  251.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, 1));
  252.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, 1));
  253.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, 1));
  254.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, 1));
  255.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, 0));
  256.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, 0));
  257.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, 0));
  258.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, 0));
  259.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, 0));
  260.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, -1));
  261.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, -1));
  262.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, -1));
  263.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, -1));
  264.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, -1));
  265.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, -2));
  266.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, -2));
  267.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, -2));
  268.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, -2));
  269.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, -2));
  270.               } else if(${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 5) {
  271.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, 2));
  272.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, 2));
  273.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, 2));
  274.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, 2));
  275.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, 2));
  276.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, 1));
  277.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, 1));
  278.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, 1));
  279.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, 1));
  280.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, 1));
  281.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, 0));
  282.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, 0));
  283.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, 0));
  284.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, 0));
  285.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, 0));
  286.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, -1));
  287.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, -1));
  288.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, -1));
  289.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, -1));
  290.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, -1));
  291.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, -2));
  292.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, -2));
  293.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, -2));
  294.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, -2));
  295.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, -2));
  296.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, -3));
  297.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, -3));
  298.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, -3));
  299.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, -3));
  300.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, -3));
  301.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 2, -2));
  302.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 2, -1));
  303.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 2, 0));
  304.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 2, 1));
  305.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 2, 2));
  306.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 1, 3));
  307.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, 3));
  308.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, 3));
  309.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -2, 3));
  310.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -3, 3));
  311.               } else if(${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 6) {
  312.                 for (i=-7;i<3;i++) {
  313.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} i, -4));
  314.                 }
  315.                 for (i=-7;i<3;i++) {
  316.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} i, -3));
  317.                 }
  318.                 for (i=-7;i<3;i++) {
  319.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} i, -2));
  320.                 }
  321.                 for (i=-7;i<3;i++) {
  322.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} i, -1));
  323.                 }
  324.                 for (i=-3;i<3;i++) {
  325.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} i, 0));
  326.                 }
  327.                 for (i=-7;i<3;i++) {
  328.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} i, 1));
  329.                 }
  330.                 for (i=-7;i<3;i++) {
  331.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} i, 2));
  332.                 }
  333.                 for (i=-7;i<3;i++) {
  334.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} i, 3));
  335.                 }
  336.                 for (i=-7;i<3;i++) {
  337.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} i, 4));
  338.                 }
  339.               } else if(${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 7) {
  340.                 for (i=0;i<200;i++) {
  341.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, 0));
  342.                 }
  343.               } else if(${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 8) {
  344.                   for (i=0;i<10000;i++) {
  345.                     ${pafihwotyhopyplacetheiopafsjafijplesllllllll} -1, 0));
  346.                   }
  347.               } else
  348.                 ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 100000, 1));
  349.  
  350.               ${dothething}
  351.             } else {
  352.               if(${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} < 7)
  353.                 for(
  354.                   let i = 0; i < (
  355.                     ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 3
  356.                       ? 13
  357.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 4
  358.                       ? 25
  359.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 5
  360.                       ? 40
  361.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 6
  362.                       ? 100
  363.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 7
  364.                       ? 0
  365.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 8
  366.                       ? 0
  367.                     : 0
  368.                   ); i++
  369.                 ) {
  370.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} i - ~~((
  371.                     ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 3
  372.                       ? 13
  373.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 4
  374.                       ? 25
  375.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 5
  376.                       ? 40
  377.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 6
  378.                       ? 100
  379.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 7
  380.                       ? 0
  381.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 8
  382.                       ? 0
  383.                     : 0
  384.                   ) / 1.25), -4));
  385.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} i- ~~((
  386.                     ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 3
  387.                       ? 13
  388.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 4
  389.                       ? 25
  390.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 5
  391.                       ? 40
  392.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 6
  393.                       ? 100
  394.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 7
  395.                       ? 0
  396.                     : ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 8
  397.                       ? 0
  398.                     : 0
  399.                   ) / 1.25), 4));
  400.                  
  401.                 }
  402.               else {
  403.                 for(let i = 0; i < (
  404.                   ${thjaselcdtctedaboupplelcountthingffjfjfjfjfjfjfjfjfjfj} === 7
  405.                     ? 200
  406.                   : 20000
  407.                 ); i++)
  408.                   ${pafihwotyhopyplacetheiopafsjafijplesllllllll} 0, 0));
  409.               }
  410.             }
  411.             if(${modecheck}(this, 2)) {${dothethingportalstyle}}
  412.             if(${modecheck}(this, 10)) {${dothething}}
  413.           } else if(${inevilmodes})
  414.           `
  415.         ).replace(
  416.           'this,!1)}',
  417.           `this,!1);
  418.           this.gW[-1] = this.gW[0];
  419.           }`
  420.         )
  421.       );
  422.  
  423.       const limesarebetter = code.match(
  424.         /[a-zA-Z0-9_$]{1,6}=function\(a\){switch\(a\.[a-zA-Z0-9_$]{1,6}\){case 1:return\.66[^}]*?1}}/
  425.       )[0];
  426.       const limename = limesarebetter.match(/[a-zA-Z0-9_$]{1,6}/)[0];
  427.       const limespeed = limesarebetter.match(/switch\(a\.[a-zA-Z0-9_$]{1,6}\)/)[0].replace('switch(a.', 'this.').replace(')', '');
  428.       const a = code.match(new RegExp(
  429.         `this\\.[a-zA-Z0-9_$]{1,6}=[a-zA-Z0-9_$]{1,6}\\*${limename}\\(this\\);`
  430.       ))[0];
  431.       eval(
  432.         limesarebetter.replace(
  433.           '1.33;',
  434.           `1.33;case 3:return _soup;case 4:return 0.45;case 5:return 1.85;case 6:return _soep;case 7:return 18.5;case 8:return 0.35;case 9:return 0.25;case 10:return 0.15;case 11:return 0.05;case 12:return 26640;case 13:return 0.00001;`
  435.         )
  436.       );
  437.      
  438.       const soup = code.match(
  439.         /[a-zA-Z0-9_$]{1,6}\.prototype\.update=function\(\){[^]*?this\)}}}}/
  440.       )[0];
  441.       const f = soup.match(
  442.         /:this\.[a-zA-Z0-9_$]{1,6}\+=\n?1,this\.[a-zA-Z0-9_$]{1,6}\+\+,/
  443.       )[0];
  444.       eval('var _soup = 1.33;');
  445.       eval('var _soep = 1.85;');
  446.       eval(
  447.         soup.replace(
  448.           f,
  449.           f + `_soup = Math.random() < .5 ? .66 : 1.33, _soep = Math.random() < .5 ? .45 : 1.85, ${limespeed} === 3 && (${a.replace(limename + '(this);', '_soup')}), ${limespeed} === 6 && (${a.replace(limename + '(this);', '_soep')}),`
  450.         )
  451.       );
  452.  
  453.       const fishes = code.match(
  454.         /[a-zA-Z0-9_$]{1,6}=function\(a\){[^}]*?h6Ousc[^]*?\(a\)}/
  455.       )[0];
  456.       const words = fishes.match(
  457.         /0!==a\.[a-zA-Z0-9_$]{1,6}/
  458.       )[0].replace('0!==', '');
  459.  
  460.  
  461.       eval(
  462.         fishes.replace(
  463.           '(a)}',
  464.           `(a)
  465.             if(${words} < 3) {
  466.               __b = document.body.getElementsByClassName('UJhXPd wSwbef EWyEF')[0];
  467.               [...__b.children].forEach((e, i) => i > 1 && (__b.removeChild(__b.children[i])));
  468.             }
  469.             if(${words} === 3) {
  470.               __b = document.body.getElementsByClassName('UJhXPd wSwbef EWyEF')[0];
  471.               [...__b.children].forEach((e, i) => i > 1 && (__b.removeChild(__b.children[i])));
  472.               __c = new Image;
  473.               __c.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/13.png?raw=true';
  474.               __c.width = __c.height = 47;
  475.               __c.style = 'position:fixed;top: 10px;';
  476.               __b.appendChild(__c);
  477.             }
  478.             if(${words} === 4) {
  479.               __b = document.body.getElementsByClassName('UJhXPd wSwbef EWyEF')[0];
  480.               [...__b.children].forEach((e, i) => i > 1 && (__b.removeChild(__b.children[i])));
  481.               __c = new Image;
  482.               __c.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/25.png?raw=true';
  483.               __c.width = __c.height = 47;
  484.               __c.style = 'position:fixed;top: 10px;';
  485.               __b.appendChild(__c);
  486.             }
  487.             if(${words} === 5) {
  488.               __b = document.body.getElementsByClassName('UJhXPd wSwbef EWyEF')[0];
  489.               [...__b.children].forEach((e, i) => i > 1 && (__b.removeChild(__b.children[i])));
  490.               __c = new Image;
  491.               __c.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/40.png?raw=true';
  492.               __c.width = __c.height = 47;
  493.               __c.style = 'position:fixed;top: 10px;';
  494.               __b.appendChild(__c);
  495.             }
  496.             if(${words} === 6) {
  497.               __b = document.body.getElementsByClassName('UJhXPd wSwbef EWyEF')[0];
  498.               [...__b.children].forEach((e, i) => i > 1 && (__b.removeChild(__b.children[i])));
  499.               __c = new Image;
  500.               __c.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/87.png?raw=true';
  501.               __c.width = __c.height = 47;
  502.               __c.style = 'position:fixed;top: 10px;';
  503.               __b.appendChild(__c);
  504.             }
  505.             if(${words} === 7) {
  506.               __b = document.body.getElementsByClassName('UJhXPd wSwbef EWyEF')[0];
  507.               [...__b.children].forEach((e, i) => i > 1 && (__b.removeChild(__b.children[i])));
  508.               __c = new Image;
  509.               __c.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/Apple%20Bomb.png?raw=true';
  510.               __c.width = __c.height = 47;
  511.               __c.style = 'position:fixed;top: 10px;';
  512.               __b.appendChild(__c);
  513.             }
  514.             if(${words} === 8) {
  515.               __b = document.body.getElementsByClassName('UJhXPd wSwbef EWyEF')[0];
  516.               [...__b.children].forEach((e, i) => i > 1 && (__b.removeChild(__b.children[i])));
  517.               __c = new Image;
  518.               __c.src = 'https://github.com/carlgustavh/GoogleSnakeCustomMenuStuffImages/blob/main/nuke.png?raw=true';
  519.               __c.width = __c.height = 47;
  520.               __c.style = 'position:fixed;top: 10px;';
  521.               __b.appendChild(__c);
  522.             }
  523.           }`
  524.         )
  525.       );
  526.  
  527.       const meat = code.match(
  528.         /[a-zA-Z0-9_$]{1,6}=function\(a\){a\.[a-zA-Z0-9_$]{1,6}\.clearRect\(0,0,[^]*?0\),0,b\)}/
  529.       )[0];
  530.       const ul = meat.match(
  531.         /var b=a\.[a-zA-Z0-9_$]{1,6}\.width/
  532.       )[0].replace('var b=', '');
  533.       const mDb = meat.match(
  534.         /a\.[a-zA-Z0-9_$]{1,6}\.render/g
  535.       )[1].replace('.render', '');
  536.       const Hw = meat.match(
  537.         /1===a\.[a-zA-Z0-9_$]{1,6}/
  538.       )[0].replace('1===', '');
  539.       eval(
  540.         meat.replace(
  541.           '&&',
  542.           '?'
  543.         ).replace(
  544.           'd));',
  545.           `d)) : ${Hw} !== 0 && (${mDb}.context.drawImage(document.querySelector('#speed').children[${Hw}], ${ul} - 80, c.y - 80, 80, 80));`
  546.         )
  547.       );
  548.      
  549.  
  550.       eval(
  551.         code.match(
  552.           /[a-zA-Z0-9_$]{1,6}=function\(a\){switch\(a\.[a-zA-Z0-9_$]{1,6}\){case 2:return 512;[^]*?256}}/
  553.         )[0].replace(
  554.           '96;',
  555.           `96;case 3:return ${e};case 4:return 48;case 5:return 1200;case 6:return 3500;case 7:return 10000;case 8:return 25000;case 9:return 100000;`
  556.         )
  557.       );
  558.     };
  559.     req.send();
  560.   }
  561. };
  562.  
  563. window.snake.more_menu();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement