Back to scripts

自动连点

game

在游戏中自动执行点击操作

2024-03-21v1.0.0Community

使用风险自负。此脚本可能违反 Blooket 的服务条款。

Usage

Steps

  1. 进入游戏界面
  2. 运行脚本
  3. 等待自动操作完成

Notes

  • 脚本会在30秒后自动停止
  • 可能会影响游戏体验
  • 使用时请注意游戏规则

Requirements

  • 必须在游戏界面中使用
  • 浏览器需要允许自动点击

Code

function autoSpam() {
  const buttons = document.querySelectorAll('button');
  let spamInterval;
  
  function spam() {
    buttons.forEach(button => {
      if (button.textContent.toLowerCase().includes('click') || 
          button.textContent.toLowerCase().includes('spam')) {
        button.click();
      }
    });
  }
  
  spamInterval = setInterval(spam, 50);
  
  // Auto-stop after 30 seconds
  setTimeout(() => {
    clearInterval(spamInterval);
    alert('Auto spam completed!');
  }, 30000);
}

autoSpam();

Changelog

Version 1.0.0

2024-03-21
  • 初始版本发布
  • 添加自动点击功能
  • 设置30秒自动停止机制