Dino hackerman

Teh hackerman dino

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Dino hackerman
// @namespace    http://tampermonkey.net/
// @version      1
// @description  Teh hackerman dino
// @author       codingMASTER398
// @match        https://chrometrex.com/
// @match        https://dino-chrome.com/
// @grant        none
// ==/UserScript==

(function() {
    var para = document.createElement("button");
    para.innerHTML = "Stand still. Why?";
    para.onclick = function() {Runner.instance_.stop()};
    document.body.prepend(para);


    var para = document.createElement("button");
    para.innerHTML = "Set speed 10";
    para.onclick = function() {Runner.instance_.setSpeed(10)};
    document.body.prepend(para);

    var para = document.createElement("button");
    para.innerHTML = "Set speed 100";
    para.onclick = function() {Runner.instance_.setSpeed(100)};
    document.body.prepend(para);

    var para = document.createElement("button");
    para.innerHTML = "Set speed 1000";
    para.onclick = function() {Runner.instance_.setSpeed(1000)};
    document.body.prepend(para);

    var para = document.createElement("button");
    para.innerHTML = "Kill dino";
    para.onclick = function() {Runner.instance_.gameOver()};
    document.body.prepend(para);

    var para = document.createElement("button");
    para.innerHTML = "Disable death";
    para.onclick = function() {Runner.instance_.gameOver = function(){};};
    document.body.prepend(para);

    var para = document.createElement("button");
    para.innerHTML = "Infinite high score";
    para.onclick = function() {Runner.instance_.saveHighScore(9999999);};
    document.body.prepend(para);



    var para = document.createElement("button");
    para.innerHTML = "Yeet";
    para.onclick = function() {Runner.instance_.tRex.setJumpVelocity(100)};
    document.body.prepend(para);

    var para = document.createElement("button");
    para.innerHTML = "Delete everything";
    para.onclick = function() {delete Runner.instance_.tRex};
    document.body.prepend(para);

    var para = document.createElement("button");
    para.innerHTML = "Distance hack";
    para.onclick = function() {Runner.instance_.distanceRan = 99999999};
    document.body.prepend(para);

})();