Chrome Dino Simple Hack For https://dino-chrome.com/

Simple Invincibility and Speed Hack

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Chrome Dino Simple Hack For https://dino-chrome.com/
// @namespace    http://tampermonkey.net/
// @version      2.0.2
// @description  Simple Invincibility and Speed Hack
// @author       Hypno7767
// @icon https://cdn.dribbble.com/users/974273/screenshots/3270748/chrom_no_internet_connection.png
// @include        https://dino-chrome.com/
// @include        https://t-rex-game.com/
// @grant        none
// ==/UserScript==


// NOTE: I am fully aware this is basic as f*ck, but stay with me here.
// NOTE: I am fully aware this is basic as f*ck, but stay with me here.
// NOTE: I am fully aware this is basic as f*ck, but stay with me here.
// NOTE: I am fully aware this is basic as f*ck, but stay with me here.
// NOTE: I am fully aware this is basic as f*ck, but stay with me here.
// it really took me a long time to figure this out. HTML is so much easier, dammit.

// Invincibility Script
Runner.instance_.gameOver = function(){}
//Speed hack
var button = document.createElement("Button");
button.innerHTML = "Speed Hack Enable";
button.style = "top:0;right:0;position:absolute;z-index:99999;padding:20px;";
document.body.appendChild(button);
button.onclick = function(){Runner.instance_.setSpeed(40)};

// Other Speed Hack (press "s" for it)

window.addEventListener("keydown", hehe, false);

showHacks();

function showHacks(){
    var box = document.getElementById("desktop-controls");
    var controls = document.createElement("div");
    controls.className = "title2";
    controls.id = "adamsstuff";
    var lol = document.getElementById("adamsstuff");
}

function hehe(e){
    if(e.keyCode == "83"){
        var a = prompt("What Speed Would You Like?");
        if(isNaN(a)){
            window.alert("Please enter a number next time");
        }else{
            Runner.instance_.setSpeed(a);
        }
    }

else if(e.keyCode == "68"){
        var b = prompt("What Distance Would You Like?");
        if(isNaN(b)){
            window.alert("Please enter a number next time");
        }else{
            Runner.instance_.distanceRan = b
        }
    }
}