ShellShockers Aimbot [Fixed]

Hey. This is in the making so, idk like don't expect it to work. Make sure you have tampermonkey so that way this works. I fixed this aimbot to make the stuff more cancerus. heres how to use it: Aim at the closest player by pressing Shift, turn it off with left control.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

"use strict";

// ==UserScript==
// @name         ShellShockers Aimbot [Fixed]
// @description  Hey. This is in the making so, idk like don't expect it to work. Make sure you have tampermonkey so that way this works. I fixed this aimbot to make the stuff more cancerus. heres how to use it: Aim at the closest player by pressing Shift, turn it off with left control.
// @match        https://shellshock.io/
// @match        http://www.shellshock.io
// @version      1.5555556
//
// @namespace https://greasyfork.org/en/users/220570-meowffle-cat
// ==/UserScript==

var active = true;
var interval = void 0;
var c=1
var gameInput
var player
var target
var gameObjects
var targetChanged

function activate(event) {
  event.preventDefault();
  if (event.keyCode === 16 ) {
    c.removeEventListener("mousemove", gameInput, false);
    active = true;
    interval = setInterval(aimClosestPlayer, 10);
  }
}

function deactivate(event) {
  event.preventDefault();
  if (event.keyCode === 17) {
    active = false;
    clearInterval(interval);
    c.addEventListener("mousemove", gameInput, false);
  }
}

c.addEventListener("keydown", activate, false);
c.addEventListener("keyup", deactivate, false);

function getOtherPlayers(gameObjects, myTeam) {
  return gameObjects.filter(function (o) {
    return o.type === 'player' && o.dead === false && o.name !== player.name && o.team !== myTeam;
  });
}

function getMyPlayer(gameObjects) {
  return gameObjects.filter(function (o) {
    return o.name === player.name;
  })[0];
}