Advertisement
TinSpy

Untitled

Nov 22nd, 2017
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.66 KB | None | 0 0
  1. // ==UserScript==
  2. // @name (Free)TinBots v3.3
  3. // @namespace Free TinBots v3.3
  4. // @version 3.3
  5. // @description TinBots
  6. // @author TinSpy
  7. // @match http://clan-yt.000webhostapp.com/Old/index.html/*
  8. // @match http://gaver.io/*
  9. // @match http://agar.io/*
  10. // @match http://play.agario0.com/*
  11. // @match http://galx.io/*
  12. // @match http://cellcraft.io/*
  13. // @require https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.7.3/socket.io.min.js
  14. // @grant none
  15. // ==/UserScript==
  16.  
  17. (function() {
  18. 'use strict';
  19. window.trap = {
  20. x: 0,
  21. y: 0,
  22. ip: null,
  23. byteLength : 0
  24. };
  25. WebSocket.prototype.Asend = WebSocket.prototype.send;
  26. WebSocket.prototype.send = function(a) {
  27. this.Asend(a);
  28. var msg = new DataView(a);
  29. if (msg.byteLength === 21) {
  30. if (msg.getInt8(0, true) === 16) {
  31. trap.x = msg.getFloat64(1, true);
  32. trap.y = msg.getFloat64(9, true);
  33. trap.byteLength = msg.byteLength;
  34. }
  35. }
  36. if (msg.byteLength === 13) {
  37. if (msg.getUint8(0, true) === 16) {
  38. trap.x = msg.getInt32(1, true);
  39. trap.y = msg.getInt32(5, true);
  40. trap.byteLength = msg.byteLength;
  41. }
  42. }
  43. if (msg.byteLength === 5 || msg.byteLength < 4) {
  44. if (msg.getUint8(0, true) === 16) {
  45. trap.x = msg.getInt16(1, true);
  46. trap.y = msg.getInt16(3, true);
  47. trap.byteLength = msg.byteLength;
  48. }
  49. }
  50. if(this.url !== null) {
  51. trap.ip = this.url;
  52. console.log(trap.ip);
  53. }
  54. };
  55. var socket = io.connect('ws://TinBots-v3-1-tinspy1323412.codeanyapp.com:8080');
  56.  
  57. document.addEventListener('keydown', function(e) {
  58. var key = e.keyCode || e.which;
  59. switch (key) {
  60. case 69:
  61. socket.emit('split');
  62. break;
  63. case 82:
  64. socket.emit('eject');
  65. break;
  66. case 67:
  67. socket.emit('spam');
  68. break;
  69. }
  70. });
  71. setInterval(function() {
  72. socket.emit('movement', {
  73. x: trap.x,
  74. y: trap.y,
  75. byteLength: trap.byteLength
  76. });
  77. },100);
  78. window.start = function() {
  79. socket.emit('start', {
  80. ip : trap.ip !== null ? trap.ip : 0,
  81. origin : location.origin
  82. });
  83. };
  84. setTimeout(function() {
  85. $("#canvas").after("<div style='box-shadow: 0px 5px 5px black;z-index:9999999; background-image: url(http://49.media.tumblr.com/bd6c786943b1da9de06c559a6b997fbe/tumblr_nz14o7t0Z61skcd7fo2_r2_500.gif); background-color: #FFFFFF; -moz-opacity: 0.4; -khtml-opacity: 0.4; opacity: 0.7; zoom: 1; height: 341px; width: 400px; top: 100px; left: 0px; display: block; position: fixed; text-align: center; font-size: 15px; color: #FFFFFF; font-family: Arial Black, Gadget, sans-serif;border: 2px solid #0B0B61;'> <div style='color:#ffffff; display: inline; -moz-opacity:1; -khtml-opacity: 1; opacity:1;font-size: 22px; filter:alpha(opacity=100); padding: 10px;'><a>TinBots V3.3</a></div> <div style=' color:#FFFFFF; display: inline; -moz-opacity:1; -khtml-opacity: 1; opacity:1; filter:alpha(opacity=100); padding: 10px;'><br><a id='minionCount'>Server Offline</a> </div><button id='start-bots' style='display: block;border-radius: 5px;border: 2px solid #FFFFFF;background-color: #FAFAFA;height: 50px;width: 100px;margin: auto;text-align: center;'>Start Bots </button>---------------<br> C spam </br><br>E split bots</br><br>R feed bots</br><br></br><a style='height: 50px; width: 72px;'><marquee>Client Made By TinSpy Bots Made By TrapKillo Enjoy!</marquee> </div>");
  86. document.getElementById('start-bots').onclick = function() {
  87. start();
  88. var StartBots = 's';
  89. };
  90. // Skin Rotator
  91. setTimeout(function() {
  92.  
  93. $('#instructions').after('<center><span class="text-muted">Press <b>UNKNOW GAME</b>THIS SKIN ROTATOR ONLY WORKS ON AGAR.IO</span><button id="start" class="btn btn-primary btn-party party-create" style="float: left;">Start</button></center>');
  94.  
  95. Array.prototype.random = function() {
  96. return this[Math.floor(Math.random() * length)];
  97. };
  98.  
  99. skins = ['fly', 'spider', 'wasp', 'lizard', 'bat', 'snake', 'fox', 'coyote', 'hunter', 'sumo', 'bear', 'cougar', 'panther', 'lion', 'crocodile', 'shark', 'mammoth', 'raptor', 't-rex', 'kraken'];
  100.  
  101. let rotator = true;
  102.  
  103. this.rotating = null;
  104.  
  105. window.start = () => {
  106. var rotating = setInterval(function() {
  107. if(rotator === true) {
  108. MC.setNick(skins.random());
  109.  
  110. core.registerSkin('fly', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Fly.png', 1, null);
  111. core.registerSkin('spider', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Spider.png', 1, null);
  112. core.registerSkin('wasp', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Wasp.png', 1, null);
  113. core.registerSkin('lizard', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Lizard.png', 1, null);
  114. core.registerSkin('bat', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Bat.png', 1, null);
  115. core.registerSkin('snake', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Snake.png', 1, null);
  116. core.registerSkin('fox', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Fox.png', 1, null);
  117. core.registerSkin('coyote', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Coyote.png', 1, null);
  118. core.registerSkin('hunter', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Hunter.png', 1, null);
  119. core.registerSkin('sumo', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Sumo.png', 1, null);
  120. core.registerSkin('bear', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Bear.png', 1, null);
  121. core.registerSkin('cougar', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Cougar.png', 1, null);
  122. core.registerSkin('panther', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Panther.png', 1, null);
  123. core.registerSkin('lion', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Lion.png', 1, null);
  124. core.registerSkin('crocodile', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Crocodile.png', 1, null);
  125. core.registerSkin('shark', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Shark.png', 1, null);
  126. core.registerSkin('mammoth', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Mammoth.png', 1, null);
  127. core.registerSkin('raptor', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Raptor.png', 1, null);
  128. core.registerSkin('t-rex', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/T-Rex.png', 1, null);
  129. core.registerSkin('kraken', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Kraken.png', 1, null);
  130. }
  131. }, 1000);
  132. };
  133.  
  134. window.add = () => {
  135. this.rotating = setInterval(function() {
  136. if(rotator === true) {
  137. MC.setNick(skins.random());
  138.  
  139. core.registerSkin('fly', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Fly.png', 1, null);
  140. core.registerSkin('spider', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Spider.png', 1, null);
  141. core.registerSkin('wasp', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Wasp.png', 1, null);
  142. core.registerSkin('lizard', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Lizard.png', 1, null);
  143. core.registerSkin('bat', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Bat.png', 1, null);
  144. core.registerSkin('snake', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Snake.png', 1, null);
  145. core.registerSkin('fox', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Fox.png', 1, null);
  146. core.registerSkin('coyote', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Coyote.png', 1, null);
  147. core.registerSkin('hunter', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Hunter.png', 1, null);
  148. core.registerSkin('sumo', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Sumo.png', 1, null);
  149. core.registerSkin('bear', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Bear.png', 1, null);
  150. core.registerSkin('cougar', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Cougar.png', 1, null);
  151. core.registerSkin('panther', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Panther.png', 1, null);
  152. core.registerSkin('lion', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Lion.png', 1, null);
  153. core.registerSkin('crocodile', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Crocodile.png', 1, null);
  154. core.registerSkin('shark', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Shark.png', 1, null);
  155. core.registerSkin('mammoth', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Mammoth.png', 1, null);
  156. core.registerSkin('raptor', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Raptor.png', 1, null);
  157. core.registerSkin('t-rex', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/T-Rex.png', 1, null);
  158. core.registerSkin('kraken', null, 'https://configs-web.agario.miniclippt.com/live/v9/1027/Kraken.png', 1, null);
  159. }
  160. }, 1000);
  161. };
  162.  
  163. document.addEventListener('keydown', (e) => {
  164. let keyCode = e.keyCode;
  165. switch(keyCode) {
  166. case 27: //ESC
  167. console.log('ESC , Stoping interval...');
  168. window.start = null;
  169. clearInterval(this.rotating);
  170. break;
  171. }
  172. });
  173.  
  174. document.getElementById('start').onclick = function() {
  175. rotator = true;
  176. window.start = window.add();
  177. console.log('starting skin rotator...');
  178. };
  179.  
  180. }, 1000);
  181. },2000);
  182. socket.on('botCount', function(count) {
  183. $('#minionCount').html(count);
  184. });
  185. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement