Strange Mod for ZOMBS.io

When the button play will be clicked, strange things will start...

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

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

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         Strange Mod for ZOMBS.io
// @version      0.7
// @description  When the button play will be clicked, strange things will start...
// @author       DemostanisYt
// @match        http://zombs.io/*
// @namespace https://greasyfork.org/users/205154
// ==/UserScript==

function strangeMode() {
    document.getElementsByClassName('hud-intro-guide')[0].innerHTML = '<h1> Strange mod enabled! </h1>';
document.getElementsByClassName('btn btn-green hud-intro-play')[0].onclick = function(){
        setInterval(() => Game.currentGame.world.localPlayer.entity.fromTick.yaw = NaN)
  };
}
    document.getElementsByClassName('hud-intro-guide')[0].innerHTML = '<button class="btn btn-red strange-mod" style="width: 100%;">Enable strange mod</button><br><br>';

document.querySelector(".strange-mod").addEventListener("click", strangeMode)

                                                          /***********************************************************************\
                                                          //**********************script made by demostanis**********************\\
                                                          \***********************************************************************/