Lostworld.io Rainbow Hack + Extra Controls

Type the commands in the Info tab in the Lostworld.io chat for results. The wood, stone, food and gold will turn rainbow. Here is the link to my youtube channel: https://www.youtube.com/channel/UCva86StavXgOW1UKBSrlvXA/featured

You will need to install an extension such as Tampermonkey, Greasemonkey 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 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.

You will need to install a user script manager extension to install this script.

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

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         Lostworld.io Rainbow Hack + Extra Controls
// @namespace    http://tampermonkey.net/
// @version      0.9
// @description  Type the commands in the Info tab in the Lostworld.io chat for results. The wood, stone, food and gold will turn rainbow. Here is the link to my youtube channel: https://www.youtube.com/channel/UCva86StavXgOW1UKBSrlvXA/featured
// @author       Deadly Dotio
// @match        http://*lostworld.io/*
// @match        http://*sploop.io/*
// @grant        none
// ==/UserScript==

function rainbow(id, r = rain){
    var elm = document.getElementById(id);
    elm.style.color = `hsl(${r}, 100%, 50%)`;
}
var rain = 0;
setInterval(function(){
    rainbow('foodDisplay');
    rainbow('woodDisplay');
    rainbow('stoneDisplay');
    rainbow('goldDisplay');
    rainbow('chatInput');
    rainbow('clanDisplay');
    rainbow('createClanName');
    rainbow('createClanButton');
    rainbow('memberDisplay');
    rainbow('leaveClanButton');
    rainbow('loader');
    rain++;
    },);
var css = "h1 { background: blue; }"
var style = document.createElement("style");
style.type = "text/css";
style.appendChild(document.createTextNode(css));
document.head.appendChild(style);

(function() {
    "use strict"
var img = new Image();
img.src = 'path/to/image.jpg';
var holder = document.getElementById('holder');
holder.appendChild(img);
})();

(function() {
    'use strict';

    alert('HERE IS THE SPECIAL COMMAND: /bg ../entity/dragon. The command to get the hat is: bg ../hats/hat_1.');
    })();