Gats.io

Auto Chat & Chat Spammer

目前為 2022-09-01 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Gats.io
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Auto Chat & Chat Spammer
// @author       You
// @match        https://gats.io
// @icon         https://cdn.discordapp.com/icons/1013557649943572633/83194fce8496596487ff886b09b4f0dc.webp?size=96
// @grant        Dewey
// @license      MIT
// @run-at       document-end
// ==/UserScript==

(function() {
    'use strict';
setInterval(function() {
	if (document.getElementById("ht").checked == true) {
		var random = Math.floor(Math.random() * 90 * 90 * Math.PI);
		msg = document.getElementById("holdtextInput").value + " " + random;
		RF.list[0].socket.send(`c,${msg}`)
	}
	var x = document.getElementById("m2").value;
	var y = "Maximum length reached!";
	var z = document.getElementById("m1").value;
	if (x.length > 30) {
		document.getElementById("m2").value = y;
	}
	if (z.length > 30) {
		document.getElementById("m1").value = y;
	}
}, 500);
setInterval(function() {
	if (document.getElementById("ts").checked == true) {
		var random = Math.floor(Math.random() * 40 * 40 * Math.PI * 99999);
		msg = document.getElementById("m1").value + " " + random;
		RF.list[0].socket.send(`c,${msg}`)
		setTimeout(function() {
			msg = document.getElementById("m2").value + " " + random;
			RF.list[0].socket.send(`c,${msg}`)
		}, 25);
	}
	if(document.getElementById("banner") == undefined) {
	console.log("error");
	}
}, 50);
let overlayHTML = `
<div id="a">
    <div id="a1">
	<h2 id="bannerA">dsc.gg/Exeo</h2>
	<br>
	<label for="TextHolder">Hold text</label><br>
	<input placeholder="Text..." type="text" id="holdtextInput"> <br>
    <input type="checkbox" id="ht" name="TextHolder" value="ht">
	<hr>
	<label for="TextSpammer">Text Spammer</label><br>
	<input placeholder="Message1..." type="text" id="m1"> <br>
	<input placeholder="Message2..." type="text" id="m2"> <br>
	<input type="checkbox" id="ts" name="TextSpammer" value="ts">
    </div>
</div>
<style>
#a {
    z-index: 10;
    position: absolute;
    bottom: 10vh;
    left: 10px;}
#a1 {
    padding: 15px;
    margin-bottom: 5px
	}
	#ht {
		width: 20px;
		height: 20px;
	}
		#ts {
		width: 20px;
		height: 20px;
	}
	* hr {
		border: 1px solid red;
	}
</style>`
let overlay = document.createElement("div");
overlay.innerHTML = overlayHTML;
document.body.appendChild(overlay);
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址