Drift Boss Hack

Version 2.5.7 - Pretty much done, wont be doing anything else to this script -Final version

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Drift Boss Hack
// @namespace    http://tampermonkey.net/
// @version      2.5.7
// @description  Version 2.5.7 - Pretty much done, wont be doing anything else to this script -Final version
// @author       GDev
// @match        https://www.mathplayground.com/pg_drift_boss.html
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    // Wait for the page to load
    window.addEventListener('load', function() {
        // Delay execution for 3 seconds
        setTimeout(function() {
            // Set the desired game data including coins and boosters
            localStorage.setItem('mjs-drift-boss-game-v1.0.1-dailyreward', '{"sound":0.7,"music":0.3,"score":0,"hasShownTutorial":false,"collectedCoin":10000000,"cars":[0,1,2,3,4,5,6,7],"currentCar":7,"currentTip":0,"booster1":10000000,"booster2":10000000,"booster3":10000000,"ko":0,"hasShownBoosterTutorial":false}');
            console.log('Hack Successful!');
        }, 2000); // 3000 milliseconds = 3 seconds
    });
})();


//Credit required.