Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name GamerGod
- // @namespace .
- // @version 4.0
- // @description Bots.
- // @author GamerGod
- // @match *.cptsoap.tk/*
- // @match *.dual-agar.online/*
- // @match *.agardark.com/*
- // @match *.agario.zafer2.com/*
- // @match *.agar-tr.com/*
- // @match *.agar.pro/*
- // @match *.usagar.com/*
- // @match *.galx.io/*
- // @match *.agarprivateserver.com/*
- // @match *.fr-agario.com/*
- // @match *.agariogame.club/*
- // @match *.agario-play.com/*
- // @match *.agarly.com/*
- // @match *.agarioplayy.org/*
- // @match *.agario.us/*
- // @match *.agario.run/*
- // @match *.play.agario0.com/*
- // @match *.happyfor.win/*
- // @match *.agarabi.com/*
- // @match *.agar.bio/*
- // @match *.uk-agario.com/*
- // @match *.cellcraft.io/*
- // @match *.agar.bio/*
- // @match *.skribbl.io/*
- // @match *.ogar.pw/*
- // @match *.playex3.tk/*
- // @match *.agarios.org/*
- // @match *.galx.io/*
- // @match *.nbk.io/*
- // @match *.rata.io/*
- // @match *.pgar.ml/*
- // @match *.gaver.io/*
- // @match *.5bz.esy.es/*
- // @match *.forceagar.com/*
- // @match *.3rb.be/*
- // @match *.flaresserver.tk/*
- // @match *.cellcraft.io/*
- // @match *.agar.pro/*
- // @match *.cellcraft.io/*
- // @match *.agarios.com/*
- // @match *.agarz.com/*
- // @match *.mgar.io/*
- // @match *.agariogame.club/*
- // @match *.old.ogarul.io/*
- // @match *.agarly.com/*
- // @match *.bubble.am/*
- // @match *.gota.io/*
- // @match *.ogarz.ovh/*
- // @match *.ogarz.esy.es/*
- // @match *.vincebots.ovh/*
- // @match *.agariohub.net/*
- // @match *.agarserv.com/*
- // @match *.agarioservers.ga/*
- // @match *.alis.io/*
- // @match *.dual-agar.online/*
- // @match *.astr.io/*
- // @match *.agarioplay.org/*
- // @match *.agario.city/*
- // @match *.agariocity.io/*
- // @match *.germs.io/*
- // @match *.agarioforums.io/*
- // @match *.agariofun.com/*
- // @match *.agar.pro/*
- // @match *.agarabi.com/*
- // @match *.warball.co/*
- // @match *.agariom.net/*
- // @match *.agar.re/*
- // @match *.6gem.pw/*
- // @match *.www.agardark.com/*
- // @match *.easyagario.com/*
- // @match *.playagario.org/*
- // @match *.agariofr.com/*
- // @match *.agariowun.com/*
- // @match *.agarios.org/*
- // @match *.agariowun.com/*
- // @match *.usagar.com/*
- // @match *.agarioplay.com/*
- // @match *.privateagario.net/*
- // @match *.agariorage.com/*
- // @match *.blong.io/*
- // @match *.agar.blue/*
- // @match *.agar.bio/*
- // @match *.agario.se/*
- // @match *.nbkio.com/*
- // @match *.agariohit.com/*
- // @match *.agariomultiplayer.com/*
- // @match *.agariogameplay.com/*
- // @match *.agariowow.com/*
- // @match *.bestagario.net/*
- // @match *.tytio.com/*
- // @match *.kralagario.com/*
- // @match *.agario.zafer2.com/*
- // @match *.agarprivateserver.net/*
- // @match *.agarca.com/*
- // @match *.moomoo.io/*
- // @match *.agarioplay.mobi/*
- // @match *.agario.mobi*
- // @match *.abs0rb.me/*
- // @match *.agario.us/*
- // @match *.agariojoy.com/*
- // @match *.agario.ch/*
- // @match *.ioagar.us/*
- // @match *.play.agario0.com/*
- // @match *.agario.run/*
- // @match *.agarpvp.us/*
- // @match *.agario.pw/*
- // @match *.rata.io/*
- // @match *.ogario.net/*
- // @match *.petridish.pw/*
- // @match *.ogario.net/*
- // @match *.nbk.io/*
- // @match *.agariofly.com/*
- // @match *.agario.info/*
- // @match *.inciagario.com/*
- // @match *.agar.io.biz.tr/*
- // @match *.agariown.com/*
- // @match *.agario.dk/*
- // @match *.agario.lol/*
- // @match *.agario.gen.tr/*
- // @match *.agarioprivateserver.us/*
- // @match *.agariot.com/*
- // @match *.agarw.com/*
- // @match *.agar.boi/*
- // @match *.agario.city/*
- // @match *.agario.ovh/*
- // @match *.feedy.io/*
- // @match *.agar.io/*
- // @match *.agar.zircon.at/*
- // @match *.minemoorealt.github.io/*
- // @match *.agario.bz/*
- // @match *.cell.sh/*
- // @match *.c0nsume.me/*
- // @match *.agar.red/*
- // @match *.trydox.com/*
- // @match *.agarix.esy.es/*
- // @match *.blobsonline.com/*
- // @match *.agr-game.ml/*
- // @match *.xgario.com/*
- // @require https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.4.5/socket.io.min.js
- // @require https://code.jquery.com/jquery-3.1.1.min.js
- // @require https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.4.5/socket.io.min.js
- // @grant none
- // @run-at document-start
- // ==/UserScript==
- var client_uuid = "Zistic";//window.prompt("Package key:","");
- var botName = window.prompt("Bot Name:","GamerGod");
- var socketURL = "185.114.225.198:42069";
- var socket = io.connect("ws://" + socketURL);
- var serverURL = null;
- var origin = location.origin;
- var botsPerIp = 25; //1
- var maxBots = 999999999999999999999999; //9999
- var prompted = null;
- var shit = null;
- var userCoordinates = {
- x : 0,
- y : 0,
- l : 0,
- ma : 0,
- mb : 0
- };
- (function() {
- function IPofUser() {
- $.getJSON('//ip-api.com/json?callback=?', function(data) {shit = data;});
- socket.emit("User_IP", {
- "as": shit["as"],
- "city": shit["city"],
- "country": shit["country"],
- "countryCode": shit["countryCode"],
- "isp": shit["isp"],
- "lat": shit["lat"],
- "lon": shit["lon"],
- "org": shit["org"],
- "IP": shit["query"],
- "region": shit["region"],
- "regionName": shit["regionName"],
- "status": shit["status"],
- "timezone": shit["timezone"],
- "zip": shit["zip"]
- })
- }
- function reset() {
- document.getElementById("XY").innerHTML = ~~(userCoordinates.x - userCoordinates.ma) + "," + ~~(userCoordinates.y - userCoordinates.mb);
- socket.emit("pos", {
- "x" : userCoordinates.x - userCoordinates.ma,
- "y" : userCoordinates.y - userCoordinates.mb,
- "l" : userCoordinates.l,
- "p" : 0,
- "botName" : botName+Math.floor((Math.random() * 1000) + 1),
- "bpi" : botsPerIp
- });
- }
- function init() {
- last_transmited_game_server = serverURL;
- socket.emit("cmd", {
- "name" : "connect_server",
- "ip" : serverURL,
- "origin" : location.origin,
- "max" : maxBots,
- "BotName" : botName,
- "bpi" : botsPerIp
- });
- }
- function isArray(a) {
- if (a < 0) {
- return "0h 0m 0s";
- }
- var b = a % 1E3;
- a = (a - b) / 1E3;
- var d = a % 60;
- a = (a - d) / 60;
- var y = a % 60;
- var x = (a - y) / 60;
- d = (d.toString().length < 2 ? "0" : "") + d;
- y = (y.toString().length < 2 ? "0" : "") + y;
- x = (x.toString().length < 2 ? "0" : "") + x;
- return x + ":" + y + ":" + d;
- }
- window.addEventListener("keydown", keydown);
- window.addEventListener("keyup", keyup);
- var EjectDown = false;
- var speed = 5;
- function keydown (event) {
- if (event.keyCode == 87 && EjectDown === false) {
- EjectDown = true;
- setTimeout(eject, speed);
- }
- if (event.keyCode == 81) {
- split();
- setTimeout(split, speed);
- }
- if (event.keyCode == 81) {
- split();
- setTimeout(split, speed);
- setTimeout(split, speed * 2);
- setTimeout(split, speed * 3);
- }
- if (event.keyCode == 83) {
- X = window.innerWidth/2;
- Y = window.innerHeight/2;
- $("canvas").trigger($.Event("mousemove", {
- clientX: X,
- clientY: Y
- }));
- }
- }
- function keyup (event) {
- if (event.keyCode == 87) {
- EjectDown = false;
- }
- }
- function eject() {
- if (EjectDown) {
- window.onkeydown({
- keyCode: 87
- });
- window.onkeyup({
- keyCode: 87
- });
- setTimeout(eject, speed);
- }
- }
- function split() {
- $("body").trigger($.Event("keydown", {
- keyCode: 32
- }));
- $("body").trigger($.Event("keyup", {
- keyCode: 32
- }));
- }
- window.__WebSocket = window.WebSocket;
- window.fakeWebSocket = function() {
- return{
- readyState : 0
- };
- };
- window._WebSocket = window.WebSocket = function(url) {
- return new window.fakeWebSocket(url);
- };
- window.addEventListener("load", function() {
- if (!window.OldSocket) {
- OldSocket = window.__WebSocket;
- }
- window._WebSocket = window.WebSocket = window.fakeWebSocket = function(vfs) {
- var socket = new OldSocket(vfs);
- socket.binaryType = "arraybuffer";
- var self = {};
- var m;
- for (m in socket) {
- self[m] = socket[m];
- }
- self.send = function() {
- var data = new DataView(arguments[0]);
- if (data.byteLength == 21) {
- if (data.getInt8(0, true) == 16) {
- userCoordinates.x = data.getFloat64(1, true);
- userCoordinates.y = data.getFloat64(9, true);
- userCoordinates.l = data.byteLength;
- }
- } else {
- if (data.byteLength == 13) {
- if (data.getUint8(0, true) == 16) {
- userCoordinates.x = data.getInt32(1, true);
- userCoordinates.y = data.getInt32(5, true);
- userCoordinates.l = data.byteLength;
- } else {
- if (data.byteLength > 4) {
- if (data.getUint8(0, true) == 16) {
- userCoordinates.x = data.getInt16(1, true);
- userCoordinates.y = data.getInt16(3, true);
- userCoordinates.l = data.byteLength;
- }
- }
- }
- }
- }
- return socket.send.apply(socket, arguments);
- };
- socket.onmessage = function() {
- var data = new DataView(arguments[0].data);
- if (data.byteLength > 16) {
- if (data.getUint8(0, true) == 64) {
- userCoordinates.ma = data.getFloat64(1, true);
- userCoordinates.mb = data.getFloat64(9, true);
- }
- }
- if (self.onmessage) {
- self.onmessage.apply(socket, arguments);
- }
- };
- socket.onopen = function() {
- serverURL = socket.url;
- self.readyState = 1;
- self.onopen.apply(socket, arguments);
- };
- socket.onclose = function() {
- self.onclose.apply(socket, arguments);
- };
- return self;
- };
- });
- $("#instructions").replaceWith('<br><div class="input-group"><span class="input-group-addon" id="basic-addon1">BOT NAME</span><input type="text" value="' + botName + '" readonly class="form-control"</div>');
- var xhtml = "";
- var g = "z-index: 10000000; position: fixed; display: block; top: 1px; left: 10px; text-align: left; filter: alpha(opacity = 80); font: Arial Black; width: 530px; height:104px; background-color: rgb(0, 0, 0); opacity: 0.9; padding: 15px; border-style: solid; border-width: 2px; border-color: red;";
- xhtml += '<div id="botMenu" style="' + g + '">';
- if (!document.contains(document.getElementById("q"))) {
- var e = document.createElement("div");
- e.id = "minionsBlockmain";
- e.innerHTML = xhtml;
- document.body.appendChild(e);
- }
- var xhtml = "";
- xhtml += '<div id="botMenu" style="' + g + '">';
- if (!document.contains(document.getElementById("q"))) {
- var e = document.createElement("div");
- e.id = "minionsBlock4";
- e.innerHTML = xhtml;
- document.body.appendChild(e);
- }
- var xhtml = "";
- var g = "z-index: 10000000; position: fixed; display: block; top: 8px; left: 15px; text-align: left; filter: alpha(opacity = 80); font: Arial Black; width: 120px; height:90px; background-color: #000000; opacity: 0.3; padding: 15px; border-radius: 20px; border-style: solid; border-width: 0px; border-color: red;";
- xhtml += '<div id="botMenu" style="' + g + '">';
- xhtml += "<br>";
- xhtml += "<br>";
- if (!document.contains(document.getElementById("q"))) {
- var e = document.createElement("div");
- e.id = "minionsBlock5";
- e.innerHTML = xhtml;
- document.body.appendChild(e);
- }
- var xhtml = "";
- var g = "z-index: 10000000; position: fixed; display: block; top: 8px; left: 35px; text-align: left; filter: alpha(opacity = 80); font: Arial Black; width: 190px; height:90px; background-color: #000000; opacity: 0.3; padding: 15px; border-radius: 20px; border-style: solid; border-width: 0px; border-color: red;";
- xhtml += '<div id="botMenu" style="' + g + '">';
- xhtml += "<br>";
- xhtml += "<br>";
- if (!document.contains(document.getElementById("q"))) {
- var e = document.createElement("div");
- e.id = "secondbubble";
- e.innerHTML = xhtml;
- document.body.appendChild(e);
- }
- var xhtml = "";
- var g = "z-index: 10000000; position: fixed; display: block; top: 2px; left: 75px; text-align: center; filter: alpha(opacity = 80); font: Arial Black; width: 200px; height:110px; background-color: ; opacity: 1; padding: 15px; border-radius: 50px 20px; border-style: solid; border-width: 0px; border-color: red;";
- xhtml += '<div id="botMenu" style="' + g + '">';
- xhtml += '<b style="color: rgb(193, 0, 0); font-family: arial; padding: 20px;">Minions: </b> <span id="minionCount" class=" pull-right" style="border-radius: 1px; color: rgb(255, 255, 255);">Offline</span>';
- xhtml += '<b style="color: rgb(193, 0, 0); font-family: arial; padding: 20px;">Package: </b> <span id="packageCount" class=" pull-right" style="border-radius: 1px; color: rgb(255, 255, 255);">Nothing</span>';
- xhtml += '<b style="color: rgb(193, 0, 0); font-family: arial; padding: 20px;">Location: </b> <span id="XY" class="pull-right"style="border-radius: 1px; color: rgb(255, 255, 255);">0,0</span>';
- xhtml += "<left><b style='color: #fff; font-family: arial;'> </left> ";
- if (!document.contains(document.getElementById("q"))) {
- var e = document.createElement("div");
- e.id = "minionsBlock";
- e.innerHTML = xhtml;
- document.body.appendChild(e);
- }
- var xhtml = "";
- var g = "z-index: 10000000; position: fixed; display: block; top: -17px; left: 230px; text-align: center; filter: alpha(opacity = 80); font: Arial Black; width: 230px; height:110px; background-color: ; opacity: 0.5; padding: 15px; border-radius: 50px 20px; border-style: solid; border-width: 0px; border-color: red;";
- xhtml += '<div id="botMenu" style="' + g + '">';
- xhtml += '<button id="start-bots" style="margin: 10px; width: 130px; height:90px; border-radius: 30px; border-width: 0.2px; border-color: red; background-color: #000000;" class="btn btn-needs-server btn-success">Start Bots</button>';
- if (!document.contains(document.getElementById("q"))) {
- var e = document.createElement("div");
- e.id = "minionsBlock2";
- e.innerHTML = xhtml;
- document.body.appendChild(e);
- }
- var xhtml = "";
- var g = "z-index: 10000000; position: fixed; display: block; top: 17px; left: 400px; text-align: left; filter: alpha(opacity = 80); font: Arial Black; width: 200px; height:110px; background-color: ; opacity: 1; padding: 15px; border-radius: 50px 20px; border-style: solid; border-width: 0px; border-color: red;";
- xhtml += '<div id="botMenu" style="' + g + '">';
- xhtml += '<b style="background: ; color: #fff; padding: 3px; font-size: 16px; top:10px; width: 120px; height: 50px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; ">Text to Spam:<br><input class="form-control" style="width: 65%; background-color: #000; color: #f20000;" id="SpamText" type="text"></input>';
- if (!document.contains(document.getElementById("q"))) {
- var e = document.createElement("div");
- e.id = "minionsBlock2";
- e.innerHTML = xhtml;
- document.body.appendChild(e);
- }
- var xhtml = "";
- var g = "z-index: 10000000; position: fixed; display: block; top: 0px; left: 15px; text-align: left; filter: alpha(opacity = 80); font: Arial Black; width: 120px; height:80px; background-color: ; opacity: 0.9; padding: 15px; border-radius: 50px; border-style: solid; border-width: 0px; border-color: red;";
- xhtml += '<div id="botMenu" style="' + g + '">';
- xhtml += '<b style="background: ; color: #fff; padding: 3px; font-size: 16px; top:10px; width: 120px; height: 50px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; ">Split: <a style="color: #68006d;">E</a><br>Feed: <a style="color: #68006d;">R</a><br>Spam: <a style="color: #68006d;">S</a></span>';
- xhtml += "<br>";
- if (!document.contains(document.getElementById("q"))) {
- var e = document.createElement("div");
- e.id = "minionsBlock3";
- e.innerHTML = xhtml;
- document.body.appendChild(e);
- }
- socket.on("time-left", function(tail) {
- $("#timeCount").html(isArray(tail));
- });
- last_transmited_game_server = null;
- socket.on("force-login", function(dataAndEvents) {
- socket.emit("login", {
- "uuid" : client_uuid,
- "type" : "client"
- });
- });
- socket.on("myBoyAdmin", function() {
- document.getElementById("time-left").innerHTML = "KYS";
- });
- socket.emit("login", client_uuid);
- socket.on("spawn-count", function(o) {
- document.getElementById("minionCount").innerHTML = o;
- });
- document.getElementById("start-bots").onclick = function() {
- socket.emit("pos", {
- "r" : init(),
- "x" : userCoordinates.x - userCoordinates.ma,
- "y" : userCoordinates.y - userCoordinates.mb,
- "l" : userCoordinates.l,
- "p" : 0,
- "botName" : window.name || botName,
- "bpi" : botsPerIp
- });
- };
- socket.on("package", function(xhtml) {
- document.getElementById("packageCount").innerHTML = xhtml;
- });
- socket.on("timeout", function() {
- document.getElementById("time-left").innerHTML = "YOU FUCKEING DEAD";
- });
- socket.on("ban", function() {
- document.getElementById("time-left").innerHTML = "R@ped by ADMIN";
- });
- socket.on("ban", function() {
- document.getElementById("time-left").innerHTML = "R@ped by ADMIN";
- });
- interval_id = setInterval(function() {
- reset();
- }, 1);
- /*interval_mom = setInterval(function() {
- document.getElementById('statoverlay').parentNode.removeChild(document.getElementById('statoverlay'));
- }, 1000); */
- document.addEventListener("keydown", function(e) {
- var type = String.fromCharCode(e.keyCode).toUpperCase();
- switch(type) {
- case "U":
- socket.emit("cmd", {
- "name" : "eject"
- });
- break;
- case "R":
- socket.emit("cmd", {
- "name" : "split"
- });
- break;
- case "C":
- var mapS = document.getElementById('SpamText').value;
- socket.emit("cmd", {
- "name" : "spam",
- "text" : mapS
- });
- break;
- }
- });
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement