hack dino

Dino game Hack

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==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();
})();