Balz.io Mod Menu

Hide the mod menu with X key

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Balz.io Mod Menu
// @namespace    Balz.io Mod Menu
// @version      1.0
// @description  Hide the mod menu with X key
// @author       ShyNivek.
// @include      https://balz.io/
// @match        http://balz.io/
// @connect      balz.io
// @copyright    Copyright © 2019 by ShyNivek. All Rights Reserved.
// @icon         https://cdn.discordapp.com/attachments/599641428154384394/599715875683041280/mod_menu.png
// ==/UserScript==

document.title = "Balz.io Mod Menu";
function inject(type, code) {
   switch(type) {
      case 'javascript':
         var inject  = document.createElement('script');
         inject.type = 'text/javascript';
         inject.appendChild(document.createTextNode(code));
      break;
      case 'stylesheet':
         var inject  = document.createElement('style');
         inject.type = 'text/css';
         inject.appendChild(document.createTextNode(code));
      break;
   }
   (document.head || document.documentElement).appendChild(inject);
}
inject('stylesheet', '#tcm,#tcm>#tcm-main>div>div{overflow-x:hidden;overflow-y:auto}#tcm>#tcm-header,#tcm>#tcm-main>div{text-align:center}@keyframes bounce-in{0%,100%,20%,40%,60%,80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@-webkit-keyframes bounce-in{0%,100%,20%,40%,60%,80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@-moz-keyframes bounce-in{0%,100%,20%,40%,60%,80%{-moz-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-moz-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-moz-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-moz-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-moz-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-moz-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}100%{opacity:1;-moz-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}#tcm{position:fixed;top:2%;left:1%;display:block;width:240px;max-height:96%;background:rgba(0,0,0,.8);border:1px solid #444;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;z-index:999999999;animation:1s both bounce-in;-webkit-animation:1s both bounce-in;-moz-animation:1s both bounce-in}#tcm>#tcm-header,#tcm>#tcm-header>p,#tcm>#tcm-header>span{position:relative;display:block}#tcm :focus{outline:0}#tcm *{font-family: "Courier New", Courier, monospace}#tcm>#tcm-header{width:initial;background:rgba(25,26,29,0.35);padding:8px}#tcm>#tcm-header>span{font-family:Verdana, Geneva, sans-serif;font-size:20px;color:#000000;text-transform:capitalize;margin:0 0 8px}#tcm>#tcm-header>p{font-size:12px;color:#32CD32;margin:0}#tcm>#tcm-main>div>div,#tcm>#tcm-main>div>span{margin:0 0 8px;position:relative;display:block}#tcm>#tcm-main,#tcm>#tcm-main>div{position:relative;display:block;width:initial}#tcm>#tcm-main{padding:8px}#tcm>#tcm-main>div>span{font-size:14px;color:#F00;text-transform:capitalize}#tcm>#tcm-main>div>div{width:100%;max-height:160px;min-height:20px;background:#222;border:1px solid #b5b8bf;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px}#tcm>#tcm-main>div>div>span{position:relative;display:block;width:100%;text-align:center;font-size:12px;color:#F00padding:4px 0;cursor:pointer}#tcm>#tcm-main>div>div>span:hover{background:rgba(0,0,0,.2)}');
inject('javascript', !function e(o){if("undefined"!=typeof document.getElementsByTagName("head")[0]&&"undefined"!=typeof document.getElementsByTagName("body")[0]){var t={l:{score:0,names:[],leaderboard:{},toggled:!0,prototypes:{canvas:CanvasRenderingContext2D.prototype,old:{}}},f:{prototype_override:function(e,o,s,a){e in t.l.prototypes.old||(t.l.prototypes.old[e]={}),o in t.l.prototypes.old[e]||(t.l.prototypes.old[e][o]=t.l.prototypes[e][o]),t.l.prototypes[e][o]=function(){"before"==s&&a(this,arguments),t.l.prototypes.old[e][o].apply(this,arguments),"after"==s&&a(this,arguments)}},filltext_override:function(){t.f.prototype_override("canvas","fillText","before",function(e,o){var s=o[0];if(console.log(o),s.match(/^(1|2|3|4|5|6|7|8|9|10)\.(.+?)$/)){var a="",n=s.split(/\.(.+)?/);t.l.leaderboard[n[0]]=n[1];for(k in t.l.leaderboard)a+=t.u.span("leaderboard name #"+k,t.l.leaderboard[k]);document.getElementById("tcm-leaderboard").innerHTML=a}else s.match(/^score\:\s([0-9]+)$/i)?(t.l.score=parseInt(s.split(/score:\s([0-9]+)?/i)[1]),document.getElementById("tcm-score").innerHTML=t.u.span("score",t.l.score)):!(""!==s&&s.length<=15)||t.l.names.indexOf(s)>-1||s.match(/(leaderboard|connect|loading|starting\smass|xp\sboost|open\sshop|([0-9]{2})m\s(([0-9]{2})h\s)?([0-9]{2})s)/i)||s.match(/^(free\scoins|\s?([0-9]+)\scoins|\s?with\soffers|collect\sin\:|hourly\scoins|come\sback\sin|to\searn\:|starter\spack|hourly\sbonus|level\s([0-9]+)|([0-9\.]+)|.([0-9\.]+)|([0-9\.]+)\%|mass\sboost|coins|skins|shop|banana|cookie|jupiter|birdie|mercury|apple|halo|neptune|black\shole|uranus|star\sball|target|galaxy|venus|breakfast|saturn|pluto|tiger|hot\sdog|heart|mouse|wolf|goldfish|piggie|blueberry|bomb|bowling|candy|frog|hamburger|nose|seal|panda|pizza|snowman|sun|baseball|basketball|bug|cloud|moo|tomato|mushroom|donuts|terrible|ghost|apple\sface|turtle|brofist|puppy|footprint|pineapple|zebra|toon|octopus|radar|eye|owl|virus|smile|army|cat|nuclear|toxic|dog|sad|facepalm|luchador|zombie|bite|crazy|hockey|brain|evil|pirate|evil\seye|halloween|monster|scarecrow|spy|fly|spider|wasp|lizard|bat|snake|fox|coyote|hunter|sumo|bear|cougar|panther|lion|crocodile|shark|mammoth|raptor|t-rex|kraken|gingerbread|santa|evil\self|cupcake|boy\skiss|girl\skiss|cupid|shuttle|astronaut|space\sdog|alien|meteor|ufo|rocket|boot|gold\spot|hat|horseshoe|lucky\sclover|leprechaun|rainbow|choco\segg|carrot|statue|rooster|rabbit|jester|earth\sday|chihuahua|cactus|sombrero|hot\spepper|chupacabra|taco|piã±ata|thirteen|black\scat|raven|mask|goblin|green\sman|slime\sface|blob|invader|space\shunter)$/i)||(t.l.names.push(s),document.getElementById("tcm-names").innerHTML=document.getElementById("tcm-names").innerHTML.concat(t.u.span("Player Name",s)))})},hotkeys:function(e){88==e.keyCode&&(document.getElementById("tcm").style.display=t.l.toggled?"none":"block",t.l.toggled=t.l.toggled?!1:!0)}},u:{fonts:function(){return'<link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet" type="text/css" />'},html:function(){return'<div id="tcm" style="display:block;"><div id="tcm-header"<span>Copy and Paste by </span><a href="https://www.youtube.com/channel/UC4_SkjR9sENgL61fhqFKWFA?sub_confirmation=1" target="_blank">ShyNivek.</a><p>Press X to hide the menu</p></div><div id="tcm-main"><div><span>Fps</span><div id="r3u2l"></div></div><div><span>Players Names</span><div id="tcm-names"></div></div><div><span>Your current mass</span><div id="7cmtt"><span onclick="javascript:prompt(\'score\', \'0\')">0</span></div></div></div></div>'},span:function(e,o){return"<span onclick=\"javascript:prompt('"+e+"', '"+o+"')\">"+o+"</span>"}}};document.getElementsByTagName("head")[0].insertAdjacentHTML("beforeend",t.u.fonts()),document.getElementsByTagName("body")[0].insertAdjacentHTML("beforeend",t.u.html()),o.addEventListener("keydown",t.f.hotkeys),t.f.filltext_override()}else o.setTimeout(function(){e(o)},100)}(window));