Gems iPhone Bot

Gems

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.org/scripts/562007/1731037/Gems%20iPhone%20Bot.js

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Gems iPhone Bot
// @match        *://https://tronpick.io/gems.php*
// @grant        none
// ==/UserScript==

(function () {
  alert("✅ Gems Bot geladen");

  let running = false;
  let bet = 0.0001;

  function delay(ms){ return new Promise(r=>setTimeout(r,ms)); }

  async function loop(){
    while(running){
      const i=document.getElementById("bet_amount");
      if(i){
        i.value=bet.toFixed(8);
        i.dispatchEvent(new Event("input",{bubbles:true}));
      }

      document.querySelector("#start_game_gems")?.click();
      await delay(3000);

      document.querySelector("#ce00")?.click();
      await delay(3000);

      if(document.querySelector("#stop_game_gems")){
        document.querySelector("#stop_game_gems").click();
        bet=0.0001;
      }else{
        bet*=1.2;
      }

      await delay(2000);
    }
  }

  const b=document.createElement("button");
  b.textContent="▶ START BOT";
  b.style="position:fixed;bottom:20px;right:20px;z-index:99999;padding:14px;background:black;color:white";
  b.onclick=()=>{
    running=!running;
    b.textContent=running?"⏹ STOP BOT":"▶ START BOT";
    if(running) loop();
  };
  document.body.appendChild(b);
})();