SpamBot ASG GROUP

DESTROY THE PİXELCOUNTRY'

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         SpamBot ASG GROUP
// @namespace    http://tampermonkey.net/
// @version      2025-05-08
// @description  DESTROY THE PİXELCOUNTRY'
// @match        https://pixelplanet.fun/
// @match        https://pixmap.fun/
// @match        https://pixelya.fun/
// @match        https://pixelcountry.fun/
// @match        https://https://51.158.55.107/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @grant        none
// ==/UserScript==

(function() {
  const panel = document.createElement('div');
  panel.id = 'myStyledPanel';

  // Panel inner HTML with styled header
  panel.innerHTML = `
    <div class='header'>
      <button id='dragHandle' title='Drag Panel'>&#9776;</button>
      <span class='title'>Pissclone ultimate spammer</span>
    </div>
    <div class='content'>
      <label for='spamInput'><strong>Message to Spam:</strong></label>
      <input type='text' placeholder='Type your message...' id='spamInput'/>

      <label for='speedInput'><strong>Spam Speed (ms):</strong></label>
      <input type='number' id='speedInput' value='100' min='10'/>

      <label for='antiSpamCheckbox'>
        <input type='checkbox' id='antiSpamCheckbox'/>
        Enable Anti-Spam
      </label>

      <button id='toggleSpam' class='spamButton'>Start Spamming</button>
    </div>
  `;

  // Basic styling for panel
  Object.assign(panel.style, {
    position: 'fixed',
    bottom: '20px',
    right: '20px',
    width: '300px',
    backgroundColor: '#2c3e50',
    color: '#ecf0f1',
    borderRadius: '8px',
    boxShadow: '0 4px 12px rgba(0,0,0,0.3)',
    fontFamily: 'Arial, sans-serif',
    zIndex: 9999,
    padding: '10px',
    userSelect: 'none'
  });

  // Inject styles for internal elements
  const style = document.createElement('style');
  style.textContent = `
    #myStyledPanel .header {
      display: flex;
      align-items: center;
      margin-bottom: 8px;
    }
    #myStyledPanel #dragHandle {
      background: #34495e;
      border: none;
      border-radius: 4px;
      width: 30px;
      height: 30px;
      font-size: 18px;
      color: #ecf0f1;
      cursor: move;
      margin-right: 10px;
      transition: background 0.2s;
    }
    #myStyledPanel #dragHandle:hover {
      background: #3b5998;
    }
    #myStyledPanel .title {
      font-size: 1.2em;
      font-weight: bold;
    }
    #myStyledPanel .content {
      display: flex;
      flex-direction: column;
    }
    #myStyledPanel label {
      margin-top: 8px;
      font-size: 0.9em;
    }
    #myStyledPanel input[type='text'],
    #myStyledPanel input[type='number'] {
      padding: 6px;
      margin-top: 4px;
      border-radius: 4px;
      border: none;
      outline: none;
    }
    #myStyledPanel input[type='text']:focus,
    #myStyledPanel input[type='number']:focus {
      box-shadow: 0 0 3px #2980b9 inset;
    }
    #myStyledPanel input[type='checkbox'] {
      margin-right: 6px;
    }
    #myStyledPanel .spamButton {
      margin-top: 12px;
      padding: 8px;
      background: #2980b9;
      border: none;
      border-radius: 4px;
      color: #ecf0f1;
      font-size: 1em;
      cursor: pointer;
      transition: background 0.2s;
    }
    #myStyledPanel .spamButton:hover {
      background: #3498db;
    }
  `;
  document.head.appendChild(style);

  document.body.appendChild(panel);

  // Dragging logic
  const dragHandle = document.getElementById('dragHandle');
  let isDragging = false;
  let offsetX = 0;
  let offsetY = 0;

  dragHandle.addEventListener('mousedown', (e) => {
    isDragging = true;
    offsetX = e.clientX - panel.offsetLeft;
    offsetY = e.clientY - panel.offsetTop;
    e.preventDefault();
  });
  document.addEventListener('mouseup', () => { isDragging = false; });
  document.addEventListener('mousemove', (e) => {
    if (isDragging) {
      panel.style.left = e.clientX - offsetX + 'px';
      panel.style.top = e.clientY - offsetY + 'px';
      panel.style.bottom = 'auto';
      panel.style.right = 'auto';
    }
  });

  // Spam control variables
  const toggleButton = document.getElementById('toggleSpam');
  const messageInput = document.getElementById('spamInput');
  const speedInput = document.getElementById('speedInput');
  const antiSpamCheckbox = document.getElementById('antiSpamCheckbox');

  let spamInterval = null;
  let spamActive = false;

  toggleButton.addEventListener('click', () => {
    if (!spamActive) {
      const speed = parseInt(speedInput.value, 10) || 1000;
      spamActive = true;
      toggleButton.textContent = 'Stop Spamming';

      spamInterval = setInterval(() => {
        const chatInput = document.querySelector('.chatinput input');
        const sendButton = document.getElementById('sendbtn'); // adjust if different

        if (chatInput && sendButton) {
          let message = messageInput.value || 'Spam';
          if (antiSpamCheckbox.checked) {
            const randStr = Math.random().toString(36).substring(2, 8);
            message += ' ' + randStr;
          }
          chatInput.value = message;
          sendButton.click();
        }
      }, speed);
    } else {
      spamActive = false;
      toggleButton.textContent = 'PCFYİ YOK ET';
      clearInterval(spamInterval);
    }
  });
})();