您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Dino game Hack
// ==UserScript== // @name hack dino // @namespace http://tampermonkey.net/ // @version 2024-07-26 // @description Dino game Hack // @author Hackdinoss // @match https://chromedino.com/ // @icon https://seeklogo.com/images/D/dinosaur-game-logo-2723F385F0-seeklogo.com.png // @grant none // ==/UserScript== (function () { 'use strict'; Runner. prototype. gameOver=function( ) {} Runner.instance_.setSpeed(100); /** * Dino AI */ function dinoAI() { if (Runner.instance_.horizon.obstacles.length > 0) { let dist = Runner.instance_.horizon.obstacles[0].xPos; let obj = Runner.instance_.horizon.obstacles[0]; let type = obj.typeConfig.type; let speed = Runner.instance_.currentSpeed; if (dist < speed * 22) { if (type === 'PTERODACTYL' && obj.yPos < 60) { if (!Runner.instance_.tRex.ducking) Runner.instance_.tRex.setDuck(true); } else { if (Runner.instance_.tRex.ducking) Runner.instance_.tRex.setDuck(false); Runner.instance_.tRex.startJump(Runner.instance_.currentSpeed); } } } requestAnimationFrame(dinoAI); } dinoAI(); })();