您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
you can't use aimbot with this enabled
// ==UserScript== // @name Gats.io - Anti Aimbot // @namespace http://tampermonkey.net/ // @version 1.1 // @description you can't use aimbot with this enabled // @author nitrogem35 // @match https://gats.io // @grant none // ==/UserScript== (function() { 'use strict'; console.log = console.dir; //Allows console.log to be used var mouseX; var mouseY; var mouseAngle2; var centerX = document.body.clientWidth/2; var centerY = document.body.clientHeight/2; //get height and width of screen var detections = 0; document.addEventListener('mousemove', function(event) { //get mouse coordinates and calculate the angle where your player should be facing mouseX = event.clientX; mouseY = event.clientY; mouseAngle2 = Math.floor((angle(centerX,centerY,mouseX,mouseY)+360)%360); }); function angle(x1, y1, x2, y2) { //angle calculation function var angleRads = Math.atan2(y2 - y1, x2 - x1); var angleDegrees = angleRads * (180/Math.PI); return angleDegrees; } setInterval(function() { //check mouse angle relative to player angle if(Math.abs(RD.pool[c3].playerAngle - mouseAngle2) > 30) { console.log('aimbot detected...'); detections++; } if(detections > 10) { //if aimbot is detected for more then 1s, close the connection RF.list[0].socket.close(); } }, 100); setInterval(function() { //reset detetections every 4s to avoid accidental kick detections = 0; }, 4000); })();