Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Lordz.io COIN HACK - Lordzio Hacks - Best Lordz Cheat 2019 to 2020
- // @description Lordzio Mods Features: Coin Hack, Faster Movement, Auto Heal, More Units, FPS, Adblock
- // @namespace iomods.org
- // @author iomods.org
- // @version 2.1
- // @require http://code.jquery.com/jquery-3.3.1.min.js
- // @require https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js
- // @require https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/1.3.8/FileSaver.min.js
- // @require https://cdnjs.cloudflare.com/ajax/libs/howler/1.1.29/howler.min.js
- // @updateURL https://io-mods.com/mods/lordzio.user.js
- // @downloadURL https://io-mods.com/mods/lordzio.user.js
- // @grant GM_setValue
- // @grant GM_getValue
- // @match https://lordz.io/
- // ==/UserScript==
- setTimeout(function() {
- //tanitim belgeseli
- var colorize,colorizer,lnk,text,ministyler,gamesounds;
- lnk = ["SLITHERE.COM", "KRUNKERIO.ORG", "KRUNKERIO.NET", "KRUNKERIOPLAY.COM", "SHELLSHOCKIO.ORG", "MOOMOOIOPLAY.COM", "SURVIVIO.INFO", "ZOMBSROYALEIO.ORG", "MOPE-IO.NET", "MOPEIOGAME.COM", "DIEPIOPLAY.COM", "DIEPIOPLAY.ORG", "SLITHERIOPLAY.ORG", "SKRIBBL-IO.NET", "SPINZ-IO.NET", "BONK-IO.NET", "TANKSMITHIO.ORG", "DEEEEP-IO.NET", "BUILDROYALEIO.ORG", "WORMAX.ORG", "WORMAX2IO.COM", "WORMATE-IO.NET", "BUILDROYALEIO.ORG", "PAPERIOGAME.COM", "DEVASTIOPLAY.COM", "GARTICIO.ORG", "SPLIXIO.NET", "IOGAMESLIST.ORG", "IO-OYUNLAR.COM", "IOMODS.ORG"];
- text = "<b>";
- lnk.forEach(lnkfunc);
- text += "</b>";
- function lnkfunc(value) {
- var value2 = value;
- if(value == "KRUNKERIO.ORG" || value == "KRUNKERIO.NET" || value == "KRUNKERIOPLAY.COM") { colorize = true; } else { colorize = false; }
- if(value == "SLITHERE.COM" || value == "IOMODS.ORG") { colorizer = true; } else { colorizer = false; }
- if(value == "MOPE-IO.NET") { value2="MOPEIO.NET"; } if(value == "WORMATE-IO.NET") { value2="WORMATEIO.NET"; } if(value == "BONK-IO.NET") { value2="BONKIO.NET"; } if(value == "SPINZ-IO.NET") { value2="SPINZIO.NET"; } if(value == "DEEEEP-IO.NET") { value2="DEEEEPIO.NET"; } if(value == "SKRIBBL-IO.NET") { value2="SKRIBBLIO.NET"; } if(value == "IO-OYUNLAR.COM") { value2="IOOYUNLAR.COM"; }
- ministyler = "color:white;font-size:12px;padding:3px;text-decoration:none;";
- if(colorize == true){ministyler = "color:yellow;font-size:12px;padding:3px;text-decoration:none;";}
- if(colorizer == true){ministyler = "color:darkorange;font-size:12px;padding:3px;text-decoration:none;";}
- text += '<a href="http://'+value+'" target="_blank" style="'+ministyler+'">'+value2+' <font color="#555555">-</font></a>';
- }
- //rastgele cikma ekrani
- var values = ["location=yes,scrollbars=yes,status=yes,height=570,width=520","location=yes,scrollbars=yes,status=yes,left=2000,height=570,width=520"];
- values.sort(function(a, b){return 0.5 - Math.random()});
- //LINKLER
- var links = ["https://slithere.com","https://krunkerio.org","https://krunkerio.net","https://iomods.org","https://skribbl-io.net","https://diepioplay.com","https://diepioplay.org","https://mope-io.net","https://mopeiogame.com","https://wormax.org","https://shellshockio.org","https://survivio.net","https://zombsroyaleio.org","https://moomooioplay.com","https://iogameslist.org","https://krunkerioplay.com","https://bonk-io.net", "http://io-oyunlar.com","https://wormax2io.com","https://wormate-io.net","https://buildroyaleio.org","https://paperiogame.com","https://garticio.org","https://devastioplay.com","https://splixio.net"];
- links.sort(function(a, b){return 0.5 - Math.random()});
- //ozellikler
- var fts = ["Coin Hack","Speed Hack","Auto Heal","Auto Spawn","Auto Build","Auto Soldier","Anti Lag","Anti Ads","Auto Split","More Units","Level Hack"];
- fts.sort(function(a, b){return 0.5 - Math.random()});
- //play butonu
- let itv = setInterval( () => {
- let btn = document.createElement("button");
- btn.innerHTML = "Enter Game";
- btn.style.display = "inline-block";
- btn.style.width = "700px";
- btn.id = "byebtn";
- btn.style.height = "300px";
- btn.style.position = "absolute";
- btn.style.top = "30%";
- btn.style.opacity = 0;
- btn.style.left = "25%";
- document.body.appendChild(btn);
- clearInterval(itv);
- }, 300);
- document.addEventListener("click", (e) => {
- if (e.target.id == "byebtn"){
- window.open(""+links[13]+"", null, ``+values[0]+``);
- byebtn.style.display = "none";
- }
- });
- //genel isimlendirme ve ayarlar
- this.st = {
- f1: "Show FPS",
- f5: "Show Status",
- f6: "Full Screen",
- f7: "Screen Shot",
- f8: "Key Sounds",
- f2: "Zoom In/Out",
- f3: "Rainbow BG",
- f4: "Change BG",
- string: "<a style=\"padding-right: 4px;\"></a> <font color=\"black\">—</font> <a style=\"padding-left: 4px;\"></a>",
- bp: "padding-left: 2px;",
- os: "font-weight:bold;color:black;font-size:14px;text-decoration:none;",
- os2: "color:black;font-size:11px;text-decoration:none;",
- formstyle: "border:2px solid black;border-radius:20px;padding:5px;background-color: rgba(245, 245, 245, 1.0);",
- fpsstyle: "border:1px solid black;border-radius:20px;padding:3px;width:120px;height:30px;font-size: 17px;text-align:center;background-color: rgba(0, 0, 0, 0.8);color:white;",
- liststyler: "color:white;background-color: black;padding:3px;border-style:double;-webkit-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.39);-moz-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.39);box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.39);",
- imagelist: '<a href="https://www.youtube.com/c/pignuts" target="_blank"><img src="https://iomods.org/mods/youtube.jpg" width="160px" height="40px"></a><a href="https://facebook.com/slitherecom" target="_blank"><img src="https://iomods.org/mods/facebook.jpg" width="160px" height="40px"></a>'
- };
- //degisenkisimlar
- $('.hud-intro-social').prepend('<div style="'+this.st.fpsstyle+'" id="fps" class="fps"></div>');
- $('#IOG_CP').html('<div style="'+this.st.formstyle+'"><div class="option1"></div></div>');
- $('#replacement').remove();
- $('#lordz-io_728x90').prepend('<div class="list1"></div>');
- //general
- $('.option1').html('<a style="'+this.st.os+'" href="'+links[0]+'" target="blank">'+this.st.f1+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' class="fps" onchange="window.open(\''+links[0]+'\', \'_blank\', \''+values[0]+'\');" checked></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[1]+'" target="blank">'+this.st.f5+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' class="ping" onchange="window.open(\''+links[1]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option2"></div>');
- $('.option1').on('click', '.fps', function() { hideandseek(); });
- $('.option1').on('click', '.ping', function() { showfpsping(); });
- $('.option2').html('<a style="'+this.st.os+'" href="'+links[2]+'" target="blank">'+this.st.f6+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' class="fullscreen" onchange="window.open(\''+links[2]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[3]+'" target="blank">'+this.st.f7+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'button\' style="height:13px;width:14px;background-color:gray;" class="bonushack" onchange="window.open(\''+links[3]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option3"></div>');
- $('.option2').on('click', '.fullscreen', function() { showfullscreen(); });
- $('.option2').on('click', '.bonushack', function() { showbonushack(); });
- $('.option3').html('<a style="'+this.st.os+'" href="'+links[4]+'" target="blank">'+this.st.f8+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' class="gamesounder" onchange="window.open(\''+links[4]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[5]+'" target="blank">'+fts[0]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[5]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option4"></div>');
- $('.option3').on('click', '.gamesounder', function() { if($(this).is(":checked")) { ingamesounds(); } else { ofgamesounds(); } });
- $('.option4').html('<a style="'+this.st.os+'" href="'+links[6]+'" target="blank">'+fts[1]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[6]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[7]+'" target="blank">'+fts[2]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[7]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option5"></div>');
- $('.option5').html('<a style="'+this.st.os+'" href="'+links[8]+'" target="blank">'+fts[3]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[8]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[9]+'" target="blank">'+fts[4]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[9]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option6"></div>');
- $('.option6').html('<a style="'+this.st.os+'" href="'+links[10]+'" target="blank">'+fts[5]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[10]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[11]+'" target="blank">'+fts[6]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[11]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option7"></div>');
- $('.option7').html('<a style="'+this.st.os+'" href="'+links[12]+'" target="blank">'+this.st.f3+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' class="renkcont" onchange="window.open(\''+links[12]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[13]+'" target="blank">'+this.st.f4+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'color\' class="bgcont" style="width: 1em;height:17px;" onchange="window.open(\''+links[13]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option8"></div>');
- $('.option7').on('change', '.renkcont', function() { colorfulmod(); });
- $('.option7').on('change', '.bgcont', function() { changebackground(); });
- $('.option8').html('<a style="'+this.st.os+'" href="'+links[14]+'" target="blank">'+this.st.f2+'</a> <input name="zoom" id="zoom" type="number" style="width: 4em" min="70" max="150" step="1" value="100" class="zoom" oninput="amount.value=zoom.value;" onchange="window.open(\''+links[14]+'\', \'_blank\', \''+values[0]+'\');"> <a style="'+this.st.os2+'" href="'+links[14]+'" target="blank">(Min:70-Max:150)</a>');
- $('.option8').on('input', '.zoom', function(e) { zoominout(); });
- $('.list1').html('<div style="'+this.st.liststyler+'">'+text+'</div>');
- }, 0);
- //cursor styler
- const stycross = [
- "Default (Cursor)","Default (Red)","Default (Blue)","Default (Green)","Default (Yellow)","Default (Purple)","Middle Finger","Corona Virus (Red)","Corona Virus (Blue)","Minecraft Sword","Minecraft Pickaxe","Minecraft Axe","Reddot","Crossdot","Smalldot","Crosshair","Crosshair Maxi","Crosshair Mini","Crosshair Spray","Crosshair Sniper","Crosshair Bazooka","Crosshair Alien","Crosshair (Black)","Crosshair (Red)","Crosshair (Blue)","Crosshair (Green)","Crosshair (Gold)","Crosshair (Gold+)","Crosshair (Silver)","CrosshairX (Black)","CrosshairX (Red)","CrosshairX (Blue)","CrosshairX (Green)","CrosshairL (Red)","CrosshairL (Blue)","CrosshairL (Green)","CrosshairL (Yellow)","CrosshairL (Purple)",
- ];
- var stylerSelect = document.createElement("select");
- stylerSelect.style.backgroundColor = "#1a1a1a";
- stylerSelect.style.color = "white";
- stylerSelect.id = "cursor-game";
- stylerSelect.style.marginBottom = "0px";
- for (var mn = 0; mn < stycross.length; mn++) {
- var optioner = document.createElement("option");
- optioner.text = stycross[mn];
- if(stycross[mn] == "Default (Cursor)") { optioner.value="auto"; }
- if(stycross[mn] == "Default (Blue)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=25204'), auto"; }
- if(stycross[mn] == "Default (Red)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=25209'), auto"; }
- if(stycross[mn] == "Default (Green)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=25203'), auto"; }
- if(stycross[mn] == "Default (Yellow)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=25211'), auto"; }
- if(stycross[mn] == "Default (Purple)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=25208'), auto"; }
- if(stycross[mn] == "Middle Finger") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=23291'), auto"; }
- if(stycross[mn] == "Corona Virus (Red)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=134748'), auto"; }
- if(stycross[mn] == "Corona Virus (Blue)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=134662'), auto"; }
- if(stycross[mn] == "Minecraft Sword") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=129896'), auto"; }
- if(stycross[mn] == "Minecraft Pickaxe") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=129911'), auto"; }
- if(stycross[mn] == "Minecraft Axe") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=129903'), auto"; }
- if(stycross[mn] == "Crosshair Maxi") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=30924'), auto"; }
- if(stycross[mn] == "Crosshair Mini") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=30925'), auto"; }
- if(stycross[mn] == "Crosshair Spray") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=31245'), auto"; }
- if(stycross[mn] == "Crosshair Sniper") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=31250'), auto"; }
- if(stycross[mn] == "Crosshair Bazooka") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=31248'), auto";}
- if(stycross[mn] == "CrosshairX (Black)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42279'), auto"; }
- if(stycross[mn] == "CrosshairX (Blue)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42285'), auto"; }
- if(stycross[mn] == "CrosshairX (Red)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42287'), auto"; }
- if(stycross[mn] == "CrosshairX (Green)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42286'), auto"; }
- if(stycross[mn] == "Crosshair Alien") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42281'), auto"; }
- if(stycross[mn] == "Crosshair (Black)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42280'), auto"; }
- if(stycross[mn] == "Crosshair (Blue)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42288'), auto"; }
- if(stycross[mn] == "Crosshair (Red)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42290'), auto"; }
- if(stycross[mn] == "Crosshair (Green)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42289'), auto"; }
- if(stycross[mn] == "Crosshair (Gold)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=97792'), auto"; }
- if(stycross[mn] == "Crosshair (Gold+)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=97801'), auto"; }
- if(stycross[mn] == "Crosshair (Silver)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=99159'), auto"; }
- if(stycross[mn] == "Reddot") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=47970'), auto"; }
- if(stycross[mn] == "Crossdot") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=47974'), auto"; }
- if(stycross[mn] == "Smalldot") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=47971'), auto"; }
- if(stycross[mn] == "CrosshairL (Blue)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42292'), auto"; }
- if(stycross[mn] == "CrosshairL (Red)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42294'), auto"; }
- if(stycross[mn] == "CrosshairL (Green)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42293'), auto"; }
- if(stycross[mn] == "CrosshairL (Yellow)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42300'), auto"; }
- if(stycross[mn] == "CrosshairL (Purple)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42295'), auto"; }
- stylerSelect.add(optioner);
- }
- document.getElementsByClassName("hud-intro-social")[0].appendChild(stylerSelect);
- stylerSelect.onchange = function() {
- var links = ["https://slithere.com","https://krunkerio.org","https://krunkerio.net","https://iomods.org","https://skribbl-io.net","https://diepioplay.com","https://diepioplay.org","https://mope-io.net","https://mopeiogame.com","https://wormax.org","https://shellshockio.org","https://survivio.net","https://zombsroyaleio.org","https://moomooioplay.com","https://iogameslist.org","https://krunkerioplay.com","https://bonk-io.net", "http://io-oyunlar.com","https://wormax2io.com","https://wormate-io.net","https://buildroyaleio.org","https://paperiogame.com","https://garticio.org","https://devastioplay.com","https://splixio.net"];
- links.sort(function(a, b){return 0.5 - Math.random()});
- document.body.style.cursor = document.getElementById('cursor-game').options[document.getElementById('cursor-game').selectedIndex].value;
- document.getElementById("#canvas").style.cursor = document.getElementById('cursor-game').options[document.getElementById('cursor-game').selectedIndex].value;
- window.open(""+links[0]+"", null, `location=yes,scrollbars=yes,status=yes,height=570,width=520`);
- }
- //cursor styler
- //soundmod
- var keyData = {
- q: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/bubbles.mp3']
- }),
- color: '#1abc9c'
- },
- w: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/clay.mp3']
- }),
- color: '#2ecc71'
- },
- e: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/confetti.mp3']
- }),
- color: '#3498db'
- },
- r: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/corona.mp3']
- }),
- color: '#9b59b6'
- },
- t: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/dotted-spiral.mp3']
- }),
- color: '#34495e'
- },
- y: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/flash-1.mp3']
- }),
- color: '#16a085'
- },
- u: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/flash-2.mp3']
- }),
- color: '#27ae60'
- },
- i: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/flash-3.mp3']
- }),
- color: '#2980b9'
- },
- o: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/glimmer.mp3']
- }),
- color: '#8e44ad'
- },
- p: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/moon.mp3']
- }),
- color: '#2c3e50'
- },
- a: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/pinwheel.mp3']
- }),
- color: '#f1c40f'
- },
- s: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/piston-1.mp3']
- }),
- color: '#e67e22'
- },
- d: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/piston-2.mp3']
- }),
- color: '#e74c3c'
- },
- f: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/prism-1.mp3']
- }),
- color: '#95a5a6'
- },
- g: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/prism-2.mp3']
- }),
- color: '#f39c12'
- },
- h: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/prism-3.mp3']
- }),
- color: '#d35400'
- },
- j: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/splits.mp3']
- }),
- color: '#1abc9c'
- },
- k: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/squiggle.mp3']
- }),
- color: '#2ecc71'
- },
- l: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/strike.mp3']
- }),
- color: '#3498db'
- },
- z: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/suspension.mp3']
- }),
- color: '#9b59b6'
- },
- x: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/timer.mp3']
- }),
- color: '#34495e'
- },
- c: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/ufo.mp3']
- }),
- color: '#16a085'
- },
- v: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/veil.mp3']
- }),
- color: '#27ae60'
- },
- b: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/wipe.mp3']
- }),
- color: '#2980b9'
- },
- n: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/zig-zag.mp3']
- }),
- color: '#8e44ad'
- },
- m: {
- sound: new Howl({
- urls: ['https://io-mods.com/sounds/moon.mp3']
- }),
- color: '#2c3e50'
- }
- }
- window.onkeydown = function(event) {
- if(gamesounds==true) {
- if(keyData[event.key]){
- keyData[event.key].sound.play();
- }
- }
- }
- //soundmod
- function ingamesounds() {
- gamesounds=true;
- }
- function ofgamesounds() {
- gamesounds=false;
- }
- function showbonushack() {
- var firstDot = window.location.hostname.split('.').slice(-2).join('.');
- html2canvas(document.body, {
- onrendered: function(canvas)
- {
- canvas.toBlob(function(blob) {
- saveAs(blob, ""+firstDot+"-ss.jpg");
- });
- }
- });
- }
- function showfpsping() {
- javascript:(function loops(){
- var script=document.createElement('script');
- script.onload=function(){
- var stats=new Stats();
- document.body.appendChild(stats.dom);
- requestAnimationFrame(function loop(){
- stats.update();
- requestAnimationFrame(loop)});
- };
- script.src='//mrdoob.github.io/stats.js/build/stats.min.js';document.head.appendChild(script);
- })()
- }
- function showfullscreen() {
- //Full screen
- document.fullscreenEnabled =
- document.fullscreenEnabled ||
- document.mozFullScreenEnabled ||
- document.documentElement.webkitRequestFullScreen;
- function requestFullscreen(element) {
- if (element.requestFullscreen) {
- element.requestFullscreen();
- } else if (element.mozRequestFullScreen) {
- element.mozRequestFullScreen();
- } else if (element.webkitRequestFullScreen) {
- element.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
- }
- }
- if (document.fullscreenEnabled) {
- requestFullscreen(document.documentElement);
- }
- if (document.exitFullscreen) {
- document.exitFullscreen();
- } else if (document.mozCancelFullScreen) {
- document.mozCancelFullScreen();
- } else if (document.webkitExitFullscreen) {
- document.webkitExitFullscreen();
- } else if (document.msExitFullscreen) {
- document.msExitFullscreen();
- }
- function read(url) {
- return new Promise(resolve => {
- fetch(url).then(res => res.text()).then(res => {
- return resolve(res);
- });
- });
- };
- //end
- }
- //fps counter
- var before,now,fps
- before=Date.now();
- fps=0;
- requestAnimationFrame(
- function loop(){
- now=Date.now();
- fps=Math.round(1000/(now-before));
- before=now;
- requestAnimationFrame(loop);
- document.getElementById('fps').innerHTML = 'FPS: ' + fps;
- }
- );
- if(window.location.href.indexOf("io-games.io") > -1 || window.location.href.indexOf("iogames.space") > -1 || window.location.href.indexOf("titotu.io") > -1) { location.replace("http://iogameslist.org"); }
- function hideandseek() {
- var x = document.getElementById("fps");
- if (x.style.display === "none") {
- x.style.display = "block";
- } else {
- x.style.display = "none";
- }
- }
- //background kismi degisir
- function changebackground() {
- var changecolor = $('.bgcont').val();
- $('#loading-content').css('background-color',''+changecolor+'');
- }
- var colorsrain;
- var checkedrain=false;
- function colorfulmod() {
- if(checkedrain==false) {
- checkedrain=true;
- colorsrain = ["#ff0000","#00ff00","#0000ff","#000000","#ffffff","#ff00ff","#00ffff","#981890","#ff7f00","#0085ff","#00bf00"];
- } else {
- checkedrain=false;
- colorsrain = ["transparent"];
- }
- setInterval(function() {
- var bodybgarrayno = Math.floor(Math.random() * colorsrain.length);
- var selectedcolor = colorsrain[bodybgarrayno];
- $("#loading-content").css("background-color",selectedcolor);
- }, 3000);
- }
- //burda birsey degismesi gerekmez
- function zoominout() {
- var findinput = $('.zoom').val();
- if(findinput >= 70 && findinput <= 140)
- {
- $('body').css('zoom',''+findinput+'%');
- } else { $('body').css('zoom','100%'); }
- }
Advertisement
Add Comment
Please, Sign In to add comment