Greasy Fork is available in English.

hack dino

Dino game Hack

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
Ahmed Blacklist
Denně instalací
0
Celkem instalací
14
Hodnocení
0 0 0
Verze
2024-07-26
Vytvořeno
22. 12. 2024
Aktualizováno
22. 12. 2024
Size
1,3 KB
Licence
neuvedeno
Spustit na

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