Strange Mod for ZOMBS.io

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

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

// ==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**********************\\
                                                          \***********************************************************************/