Cosmetic Oib

Plus ( + ) - Up color; Minus ( - ) - Down color; M - cosmetic shield; j - comsetic sword; n - ghost mode

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         Cosmetic Oib
// @name:ru     Cosmetic oib
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Plus ( + ) - Up color; Minus ( - ) - Down color; M - cosmetic shield; j - comsetic sword; n - ghost mode
// @description:ru Plus ( + ) - Up color; Minus ( - ) - Down color; M - cosmetic shield; j - comsetic sword; n - ghost mode
// @author       0days
// @match        http://oib.io/
// @grant        none
// ==/UserScript==
( function ()
 {
    var Ghst = 0;
    var shieldgear = 0;
    var sworlgear = 0;
    var upcolor = 0;
    var downcolor = 0;
    var ScrptKeys = {
        GostMode: 78,
        Shield: 77,
        Sword: 74,
        UpColor: 187,
        DownColor: 189
    };
    var ShowInfo = setInterval ( function ()
    {
        for ( let i = 0; i < lapa10315mauve.lapa10277mauve.length; i++ )
        {
            if ( lapa10315mauve.lapa10277mauve[ i ] != undefined )
            {
                lapa10315mauve.lapa10277mauve[ i ].info_delay = 1;
            }
        }
    } );
    window.addEventListener( "keydown", CaptureKeyPress );
    function CaptureKeyPress ( a )
    {
        var players = lapa10279mauve;
        var i = 0;
        if ( a.keyCode == ScrptKeys.GostMode )
        {
            Ghst += 1;
            if ( Ghst >= 2 )
            {
                Ghst = 0;
            }
            if ( Ghst == 1 )
            {
                for ( i = 0; i < players.length; i++ ) {
                    if ( players[ i ] ) players[ i ].vuln = 1;
                }
            }
            if ( Ghst == 0 )
            {
                for ( i = 0; i < players.length; i++ ) {
                    if ( players[ i ] ) players[ i ].vuln = 0;
                }
            }
        }
        if ( a.keyCode == ScrptKeys.Shield )
        {
            shieldgear += 1;
            if ( shieldgear >= 5 )
            {
                shieldgear = 0;
            }
            if ( shieldgear < 5 )
            {
                players[ player.id ].shield = shieldgear;
            }
        }
        if ( a.keyCode == ScrptKeys.Sword )
        {
            sworlgear += 1;
            if ( sworlgear >= 5 )
            {
                sworlgear = 0;
            }
            if ( sworlgear < 5 )
            {
                players[ player.id ].sword = sworlgear;
            }
        }
        if ( a.keyCode == ScrptKeys.UpColor )
        {
            upcolor += 1;
            if ( upcolor >= 7 )
            {
                upcolor = 0;
            }
            if ( sworlgear < 7 )
            {
                players[ player.id ].color = upcolor;
            }
        }
        if ( a.keyCode == ScrptKeys.DownColor )
        {
            upcolor -= 1;
            if ( upcolor >= 7 )
            {
                upcolor = 0;
            }
            if ( upcolor < 0 )
            {
                upcolor = 6;
            }
            if ( sworlgear < 7 )
            {
                players[ player.id ].color = upcolor;
            }
        }
    }
})();