POLAR X CONSOLE [ENGLISH VERSION]

kogama console

// ==UserScript==
// @name              POLAR X CONSOLE [ENGLISH VERSION]
// @run-at            document-start
// @version           1.0
// @description    kogama console
// @author            ..POLAR X..
// @match                https://www.kogama.com/page/webgl-frame/*
// @match                https://kogama.com.br/page/webgl-frame/*
// @match                https://friends.kogama.com/page/webgl-frame/*
// @grant                none
// @namespace https://greasyfork.org/ru/users/880764
// @license MIT
// ==/UserScript==

/*sniffers*/
WS_Original = WebSocket;
WebSocket = function(url, type){
	let ws = new WS_Original(url, type);
	kcc.ws = ws;

	ws._send = ws.send;
	ws.send = kcc.injectClient;
	kcc.logClient('injected client');
	function waitServer(e){
		kcc.injectServer(e);
		if(!this.editServer){
			this.removeEventListener('message', waitServer);
			this._msg = this.onmessage;
			this.onmessage = kcc.injectServer;
		}
		kcc.logServer('injected server');
	}
	ws.addEventListener('message', waitServer);

	return ws;
};

/*Utils*/
Uint8Array.prototype.equals=
Array.prototype.equals=function(array){
	if(!(array&&this.length==array.length))return false;
	for(var i=0,l=this.length;i<l;i++){
		if(this[i] instanceof Array&&array[i] instanceof Array){
				if(!this[i].equals(array[i]))return false;
		}else if(this[i]!=array[i]){return false;}
	}
	return true;
}
Object.defineProperty(window.Uint8Array.prototype,"equals",{enumerable:false});
Object.defineProperty(window.Array.prototype,"equals",{enumerable:false});
decode=d=>new TextDecoder().decode(d);
encode=d=>new TextEncoder().encode(d);
top.toByte16=toByte16=num=>new Uint8Array(new Uint16Array([num]).buffer).reverse();
top.toNum16Sign=toNum16Sign=nums=>new Int16Array(new Uint8Array(nums).reverse().buffer)[0];
top.toNum16=toNum16=nums=>new Uint16Array(new Uint8Array(nums).reverse().buffer)[0];
top.unsign16=unsign16=num=>new Uint16Array([num])[0];
top.toByte32=toByte32=num=>new Uint8Array(num?new Uint32Array([num]).buffer:[]).reverse();
top.toNum32=toNum32=nums=>new Uint32Array(nums?new Uint8Array(nums).reverse().buffer:0)[0];
getJSON=str=>{
	let pos=0,left=0,i=0,arr=[];
	while(i++<str.length){
		if(str[i]=='{'&&str[i+1]=='"'){
			if(!left)pos=i;
			left++;
		}
		if(str[i]=='}'){
			if(left>0){
				left--;
				if(!left)arr.push(str.slice(pos,i+1));
			}
		}
	}
	return arr.map(a=>JSON.parse(a));
}
top.format=format=str=>{//ff0011->[255,0,17]
	let rez=[];
	let n=0;
	for(let i=0;i<str.length;i++){
		rez.push(str[i]);
		if((i+2-n)%3==0){n+=2;rez.push(" ");}
	}
	rez.pop();
	return new Uint8Array(rez.join('').split(' ').map(n=>parseInt(n,16)))
};

/*kogama console*/
{
	window.html=top.html=id=>top.document.getElementById(id);
	window.make=top.make=tag=>top.document.createElement(tag);
	window.kc=top.kc={green:'#43B581',red:'#F04747',blue:'#72A9DA',
                       cubegun:()=>{
                          kcc.ws._send(new Uint8Array([
                              243,2,25,0,2,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,20
                          ]));
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,20,254,105,0,0,0,0
                          ]).buffer});
                      },
                      Impulsegun:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,2,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,2,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,9,97,110,105,109,97,116,105,111,110,68,0,0,0,2,115,0,5,115,116,97,116,101,115,0,4,73,100,108,101,115,0,9,116,105,109,101,83,116,97,109,112,105,70,131,252,232,254,105,0,0,0,0
                          ]).buffer});
                      },
                      Bazooka:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,4,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                      autofire:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,8,105,115,70,105,114,105,110,103,111,1,254,105,0,0,0,0
                          ]).buffer});
                      },
                      Pistol:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,12,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                      mousegun:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,60,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                      healgun:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,70,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                      shotgun:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,9,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                      centralgun:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,1,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                      railgun:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,6,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                      sword:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,8,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                      growthgun:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,2,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,62,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,9,97,110,105,109,97,116,105,111,110,68,0,0,0,2,115,0,5,115,116,97,116,101,115,0,4,73,100,108,101,115,0,9,116,105,109,101,83,116,97,109,112,105,80,15,108,52,254,105,0,0,0,0
                          ]).buffer});
                      },
                      pistol2x:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,13,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                      flamethrower:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,10,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                      shuriken:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,45,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                      shuriken5x:()=>{
                          kcc.ws._msg({data:new Uint8Array([
                              243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,46,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,254,105,0,0,0,0
                          ]).buffer});
                      },
                                     poison:()=>{kcc.ws._msg({data:new Uint8Array([243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,28,254,105,0,0,0,0]).buffer});},

                      kill:()=>{
			kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,64,254,105,0,0,0,0
			]).buffer});
		},
                      bazooka2:()=>{
        kcc.ws._msg({data:new Uint8Array([
        243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,3,115,0,4,116,121,112,101,105,0,0,0,4,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,5,254,105,0,0,0,0
            ]).buffer});
        },
                       mutant:()=>{
        kcc.ws._msg({data:new Uint8Array([
        243,4,29,0,3,22,105,...toByte32(kcc.self),89,57,0,39,48,0,0,86,29,0,0,0,6,9,34,3,90, 90, 90, 39, 48,0,0,86,29,0,0,0,6,9,34,3
            ]).buffer});
        },
                      shield:()=>{
        kcc.ws._msg({data:new Uint8Array([
        243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,9,109,111,100,105,102,105,101,114,115,68,0,0,0,2,115,0,26,95,84,105,109,101,65,116,116,97,99,107,70,108,97,103,68,101,98,114,105,101,102,83,108,111,119,98,0,115,0,16,95,83,112,97,119,110,80,114,111,116,101,99,116,105,111,110,98,0,254,105,0,0,0,0
        ]).buffer});
        },
                       enlarged: () => {
                kcc.ws._msg({
                    data: new Uint8Array([
                        243, 4, 29, 0, 3, 22, 105, ...toByte32(kcc.self), 70, 68, 0, 0, 0, 1, 115, 0, 9, 109, 111, 100, 105, 102, 105, 101, 114, 115, 68, 0, 0, 0, 1, 115, 0, 9, 95, 69, 110, 108, 97, 114, 103, 101, 100, 98, 0, 254, 105, 0, 0, 0, 0
                    ]).buffer
                });
                      },
            shrunken: () => {
                kcc.ws._msg({
                    data: new Uint8Array([
                        243, 4, 29, 0, 3, 22, 105, ...toByte32(kcc.self), 70, 68, 0, 0, 0, 1, 115, 0, 9, 109, 111, 100, 105, 102, 105, 101, 114, 115, 68, 0, 0, 0, 1, 115, 0, 9, 95, 83, 104, 114, 117, 110, 107, 101, 110, 98, 0, 254, 105, 0, 0, 0, 0
                    ]).buffer
                });
            },

                      ringeffect:()=>{
           var effectID = 1;
                for(var boss = 0; boss < 20; effectID++){
                    kcc.ws._msg({data:new Uint8Array([
                        243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,9,109,111,100,105,102,105,101,114,115,68,0,0,0,effectID,115,0,9,95,83,104,105,101,108,100,101,100,98,0,254,105,0,0,0,0
                    ]).buffer});
                    if(effectID > 20){
                        break;
                    }
                }
		},
                       nitro:()=>{
        kcc.ws._msg({data:new Uint8Array([
        243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,9,109,111,100,105,102,105,101,114,115,68,0,0,0,1,115,0,9,95,78,105,110,106,97,82,117,110,98,0,254,105,0,0,0,0
        ]).buffer});
		},                       stripedcement:()=>{
			kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,60,254,105,0,0,0,0
			]).buffer});
		},
        machinery:()=>{
			kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,61,254,105,0,0,0,0
			]).buffer});
		},
        embossedmetal:()=>{
			kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,62,254,105,0,0,0,0
			]).buffer});
		},
                               scrolling:()=>{
			kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,63,254,105,0,0,0,0
			]).buffer});
		},
                      a0:()=>{
			kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,0,254,105,0,0,0,0,256,256,256,256,256,256,256,256,256,256,256,256,256,256
			]).buffer});
		},
        a1:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,1,254,105,0,0,0,0
			]).buffer});
        },
        a2:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,2,254,105,0,0,0,0
			]).buffer});
        },
        a3:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,3,254,105,0,0,0,0
			]).buffer});
        },
        a4:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,4,254,105,0,0,0,0
			]).buffer});
        },
        a5:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,5,254,105,0,0,0,0
			]).buffer});
        },
        a6:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,6,254,105,0,0,0,0
			]).buffer});
        },
        a7:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,7,254,105,0,0,0,0
			]).buffer});
        },
        a8:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,8,254,105,0,0,0,0
			]).buffer});
        },
        a9:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,9,254,105,0,0,0,0
			]).buffer});
        },
        a10:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,10,254,105,0,0,0,0
			]).buffer});
        },
        a11:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,11,254,105,0,0,0,0
			]).buffer});
        },
        a12:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,12,254,105,0,0,0,0
			]).buffer});
        },
        a13:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,13,254,105,0,0,0,0
			]).buffer});
        },
        a14:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,14,254,105,0,0,0,0
			]).buffer});
        },
        a15:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,15,254,105,0,0,0,0
			]).buffer});
        },
        a16:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,16,254,105,0,0,0,0
			]).buffer});
        },
        a17:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,17,254,105,0,0,0,0
			]).buffer});
        },
        a18:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,18,254,105,0,0,0,0
			]).buffer});
        },
        a19:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,19,254,105,0,0,0,0
			]).buffer});
        },
        a20:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,20,254,105,0,0,0,0
			]).buffer});
        },
        a21:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,21,254,105,0,0,0,0
			]).buffer});
        },
        a22:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,22,254,105,0,0,0,0
			]).buffer});
        },
        a23:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,23,254,105,0,0,0,0
			]).buffer});
        },
        a24:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,24,254,105,0,0,0,0
			]).buffer});
        },
                      b24:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,5,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,24,254,105,0,0,0,0
			]).buffer});
        },
        a25:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,25,254,105,0,0,0,0
			]).buffer});
        },
        a26:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,26,254,105,0,0,0,0
			]).buffer});
        },
        a27:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,27,254,105,0,0,0,0
			]).buffer});
        },
        a28:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,28,254,105,0,0,0,0
			]).buffer});
        },
        a29:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,29,254,105,0,0,0,0
			]).buffer});
        },
        a30:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,30,254,105,0,0,0,0
			]).buffer});
        },
        a31:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,31,254,105,0,0,0,0
			]).buffer});
        },
        a32:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,32,254,105,0,0,0,0
			]).buffer});
        },
        a33:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,33,254,105,0,0,0,0
			]).buffer});
        },
        a34:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,34,254,105,0,0,0,0
			]).buffer});
        },
        a35:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,35,254,105,0,0,0,0
			]).buffer});
        },
        a36:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,36,254,105,0,0,0,0
			]).buffer});
        },
        a37:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,37,254,105,0,0,0,0
			]).buffer});
        },
        a38:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,38,254,105,0,0,0,0
			]).buffer});
        },
        a39:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,39,254,105,0,0,0,0
			]).buffer});
        },
        a40:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,40,254,105,0,0,0,0
			]).buffer});
        },
        a41:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,41,254,105,0,0,0,0
			]).buffer});
        },
        a42:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,42,254,105,0,0,0,0
			]).buffer});
        },
        a43:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,43,254,105,0,0,0,0
			]).buffer});
        },
        a44:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,44,254,105,0,0,0,0
			]).buffer});
        },
        a45:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,45,254,105,0,0,0,0
			]).buffer});
        },
        a46:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,46,254,105,0,0,0,0
			]).buffer});
        },
        a47:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,47,254,105,0,0,0,0
			]).buffer});
        },
        a48:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,48,254,105,0,0,0,0
			]).buffer});
        },
        a49:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,49,254,105,0,0,0,0
			]).buffer});
        },
        a50:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,50,254,105,0,0,0,0
			]).buffer});
        },
        a51:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,51,254,105,0,0,0,0
			]).buffer});
        },
        a52:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,52,254,105,0,0,0,0
			]).buffer});
        },
        a53:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,53,254,105,0,0,0,0
			]).buffer});
        },
        a54:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,54,254,105,0,0,0,0
			]).buffer});
        },
        a55:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,55,254,105,0,0,0,0
			]).buffer});
        },
        a56:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,56,254,105,0,0,0,0
			]).buffer});
        },
        a57:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,57,254,105,0,0,0,0
			]).buffer});
        },
       a58:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,58,254,105,0,0,0,0
			]).buffer});
       },
       a59:()=>{
           kcc.ws._msg({data:new Uint8Array([
				243,4,29,0,3,22,105,...toByte32(kcc.self),70,68,0,0,0,1,115,0,11,99,117,114,114,101,110,116,73,116,101,109,68,0,0,0,4,115,0,4,116,121,112,101,105,0,0,0,11,115,0,9,118,97,114,105,97,110,116,73,100,105,0,0,0,0,115,0,15,117,112,100,97,116,101,73,116,101,109,83,116,97,116,101,105,0,0,0,4,115,0,8,105,116,101,109,68,97,116,97,68,0,0,0,1,115,0,8,109,97,116,101,114,105,97,108,98,59,254,105,0,0,0,0
			]).buffer});
		},
                             crash:() => {for (var i = 0; i < 9999 * 2; i++) {kcc.ws.send(new Uint8Array([243,2,15,0,0,0,1,53,...toByte32(999)]))}},
        crash2:() => {for (var i = 0; i < 9999999 * 2; i++) {kcc.ws.send(new Uint8Array([243,2,15,0,0,0,1,53,...toByte32(999)]))}},
		action:(actionId,PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,actionId])),
		freeze:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,11])),
		damadge:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,10])),
		heal:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,27])),
		big:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,17])),
		small:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,16])),
		mutant_kill:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,6])),
                              sword_kill:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,5])),
                              shotgun_kill:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,7])),
                              slapgun_kill:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,9])),
                              flamethrower_kill:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,8])),
                             testkill:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,3])),
        oculus_kill:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,12])),
        none_kill:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,13])),
		rail_kill:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,2,27,0,2,22,105,...toByte32(PID),83,68,0,0,0,1,98,0,120,0,0,0,2,1,4])),
		invisible:(PID=kcc.self)=>kcc.ws.send(new Uint8Array([243,4,2,0,8,22,105,0,3,...toByte32(PID),70,68,0,0,0,1,115,0,17,115,112,97,119,110,82,111,108,101,77,111,100,101,84,121,112,101,105,0,0,0,4])),
		finish:()=>kcc.ws.send(new Uint8Array([243,2,23,0,1,191,105,0,3,0,0])),
                      teamr:()=>kcc.ws.send(new Uint8Array([243,2,29,0,1,89,105,0,0,0,1])), //change to red team
                      teamg:()=>kcc.ws.send(new Uint8Array([243,2,29,0,1,89,105,0,0,0,2])), //change to green team
                      teamy:()=>kcc.ws.send(new Uint8Array([243,2,29,0,1,89,105,0,0,0,3])), //change to yellow team
                      teamb:()=>kcc.ws.send(new Uint8Array([243,2,29,0,1,89,105,0,0,0,0])), //change to blue team
                      teamw:()=>kcc.ws.send(new Uint8Array([243,2,29,0,1,89,105,0,0,0,5])), //change to white team
		log:(msg,clr='#0000ff')=>{
			if(html('console_log').lastChild&&msg==html('console_log').lastChild.textContent){
				let counter=html('console_log').lastChild.children[0];
				if(counter){
					counter.value=1+Number(counter.value);
				}else{
					counter=make('input');
					counter.style=`height:20px;width:20px;
					text-align:center;padding:0px;
					background:${kc.green};color:#0000ff;
					border:none;border-radius:100%;cursor:default;`;
					counter.value=2;
					counter.disabled=true;
					html('console_log').lastChild.appendChild(counter)
				}
				return;
			}
			let scroll=html('console_log').scrollTop/(html('console_log').scrollHeight-html('console_log').offsetHeight);
			if(isNaN(scroll)||scroll>0.9)scroll=true;
			else scroll=false;
			let el=make('div');
			el.style='padding:2% 1% 0px 2%;width:100%;color:'+clr+';';
			el.textContent=msg;
			html('console_log').appendChild(el);
			if(scroll)html('console_log').scrollTop=html('console_log').scrollHeight-html('console_log').offsetHeight;
		},
		command:str=>{
			kc.log(str,'#0000ff');
		}
	};
window.makeCheat=top.makeCheat=(name='unknown',clr='#888',func=()=>{})=>{
		let el=make('input');
		el.id=name;
		el.value=name;
		el.className='cheat_element';
		el.type='button';
		el.style=`color:${clr};background-image: linear-gradient(to bottom right, #7F8381  0%, #7F8381  25%, #262827  50%, #262827 75%, #262827 100%);;border-radius:3px;border:true;padding:1px;`;
		el.addEventListener('click',func);
		html('cheat_box').appendChild(el);
	};
    window.gunCheat=top.gunCheat=(name='unknown',clr='#888',func=()=>{})=>{//new
		let el=make('input');
		el.id=name;
		el.value=name;
		el.className='cheat_element';
		el.type='button';
		el.style=`color:${clr};background-color:#F2F2F2;border-radius:3px;border:true;padding:1px;`;
		el.addEventListener('click',func);
		html('gun_box').appendChild(el);
	};
    window.gunCheat=top.gunCheat=(name='unknown',clr='#888',func=()=>{})=>{//new
		let el=make('input');
		el.id=name;
		el.value=name;
		el.className='gun_Cate';
		el.type='button';
		el.style=`color:${clr};background-color:#000;
        border-top:none;
        border-right:none;
        border-left:none;
        border-color:#ffffff;
        border-size:0px;
        border:none;
        padding:2px 75px 2px 110px;
        margin:10px 2px 2px 2px;
    `;
		el.addEventListener('click',func);
		html('gun_box').appendChild(el);
	};
	window.addBB=top.addBB=(name='unknown',id='unknown',box='unknown_box',choosen=0)=>{
		let el=make('div');
		el.id=box;
		el.style=`
			position:absolute;
			display:${choosen?'block':'none'};
			width:75%;height:90%;
			top:10%;
			right:0px;
		`;
		html('console').appendChild(el);
		el=make('div');
		el.id='console_bar_'+id;
		el.className='bar_element bar_element_'+(choosen?'on':'off');
		el.textContent=name;
		el.addEventListener('click',function(e){
			if(this!=html('console_bar').cur){
				html(box).style.display='block';
				html('console').cur.style.display='none';
				html('console').cur=html(box);
				this.className='bar_element bar_element_on';
				html('console_bar').cur.className='bar_element bar_element_off';
				html('console_bar').cur=this;
			}
		});
		html('console_bar').appendChild(el);
	};
	var sheet=top.document.head.appendChild(make('style')).sheet;
	sheet.insertRules=rules=>rules.replace(/\}/g,'}^').split('^').map(r=>(r.indexOf('{')+1)&&sheet.insertRule(r));
	sheet.insertRules(`
		.scroller{overflow-y:auto;}
		.scroller::-webkit-scrollbar{
			width:10px;
		}
		.scroller::-webkit-scrollbar-thumb{
			background-color:rgba(0,0,0,.4);
			-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.5);
			box-shadow:inset 0 0 2px rgba(0,0,0,.5);
		}
		.scroller::-webkit-scrollbar-track{
			background-color:rgba(0,0,0,.3);
		}
		.scroller::-webkit-scrollbar-thumb{
			background:#000;
		}
		.bar_element:hover{
			opacity:0.9;
			background:#40444bAA;
			transition-duration: 0.3s;
		}
		.bar_element{
			color:;
			line-height: 200%;
			cursor:pointer;
			height:10%;
			width:100%;
		}
		.cheat_element:hover{
			color:#FFF !important;
		}
		.bar_element_off{
			opacity:0.5;
			background:;
		}
		.bar_element_on{
			opacity:1;
			background:;
		}
	`);
	let el=make('div');
	top.document.body.appendChild(el);
	el.id='console';
	el.style=`
		position:fixed;
		display:none;
		z-index:9999;
		background-image: url(https://cdn.wallpapersafari.com/24/62/vayO1W.gif);
		text-align:center;
		border-radius:10px;
		border:3px  solid;
	`;
	top.addEventListener('resize',function(){
		html('console').style.width=top.outerWidth*0.35+'px';
		html('console').style.height=top.outerHeight*0.35+'px';
	});
	top.dispatchEvent(new Event('resize'));
	top.document.addEventListener('mouseup',e=>{
		if(html('console').movement){
			html('console').movement=false;
			e.preventDefault();
			e.stopPropagation();
		}
	})
	top.document.addEventListener('mousemove',e=>{
		if(html('console').movement){
			html('console').style.left=(html('console').startPos.x+e.x-html('console').startPos.mx)+'px';
			html('console').style.top=(html('console').startPos.y+e.y-html('console').startPos.my)+'px';
			if(html('console').offsetTop<0)html('console').style.top='0px';
			e.preventDefault();
			e.stopPropagation();
		}
	});
	top.document.addEventListener('contextmenu', e=>{
		if(e.target==top.document.querySelector('#profile-extended-toggle>a>i')){
			html('console').style.display='block';
			e.preventDefault();
		}
	});
	el=make('div');
	el.id='console_head';
	el.innerHTML='POLAR X CONSOLE';
	el.style=`
		width:100%;height:15%;
		background-color:;
		cursor:default;
		border-top-left-radius:15px;
		border-top-right-radius:15px;
	`;
	html('console').appendChild(el);
	html('console_head').addEventListener('mousedown',e=>{
		html('console').movement=true;
		html('console').startPos={x:html('console').offsetLeft,y:html('console').offsetTop,mx:e.x,my:e.y};
		e.preventDefault();
		e.stopPropagation();
	});
	el=make('input');
	el.id='console_close';
	el.type='button';
	el.value='X';
	el.style=`
		position:absolute;
		height:10%;width:10%;
		right:0px;
		background-color:${kc.red};
		color:;line-height:0.5;
		border:none;
		border-top-right-radius:10px;
	`;
	html('console_head').appendChild(el);
	html('console_close').addEventListener('mousedown',e=>{
		if(e.which==1){
			pos={x:html('console').offsetLeft,y:html('console').offsetTop};
			html('console').style.display='none';
			html('console').style.left=pos.x+'px';
			html('console').style.top=pos.y+'px';
		}
		e.preventDefault();
		e.stopPropagation();
	});
	el=make('div');
	el.id='console_bar';
	el.style=`
		position:absolute;
		top:10%;left:0px;
		width:25%;height:90%;
		background-color:#2f3136;
	`;
	html('console').appendChild(el);

	addBB('Console','console','console_box',1);
	html('console').appendChild(el);
	el=make('input');
	el.id='console_input';
	el.placeholder='Enter command...';
	el.style=`
		position:absolute;
		width:95%;height:10%;
		bottom:2.5%;right:2.5%;
		background-color:;
		border:none;color:;
		border-radius:15px;
		text-align:center;
		cursor:text;
	`;
	html('console_box').appendChild(el);
	html('console_input').index=-1;
	html('console_input').old=[];
	html('console_input').addEventListener('keydown',function(e){
		switch(e.keyCode){
			case 13:
				if(this.value){
					kc.command(this.value);
					if(this.old[this.old.length-1]!=this.value)this.old.push(this.value);
					if(this.old>30)this.old.splice(0,1);
					this.was=undefined;
					this.index=this.old.length;
					this.value='';
				}
			break;
			case 38://up
				this.index-=2;
			case 40://down
				this.index++;
				if(this.index>this.old.length-1)this.index=this.old.length;
				if(this.index<0)this.index=0;
				if(this.index>this.old.length-1){
					if(this.was!==undefined)this.value=this.was;
					this.was=undefined;
				}else{
					if(this.was===undefined)this.was=this.value;
					this.value=this.old[this.index];
				}
			break;
		}
	});
	el=make('div');
	el.id='console_log';
	el.className='scroller';
	el.style=`
		position:absolute;
		text-align:left;
		width:100%;height:85%;
		word-break:break-all;
	`;
	html('console_box').appendChild(el);

	html('console').cur=html('console_box');
	html('console_bar').cur=html('console_bar_console');

	addBB('Cheat List','list','cheat_box');
	html('cheat_box').className='scroller';
	makeCheat('finish',kc.blue,()=>kc.finish());
   makeCheat('mutantkill',kc.red,()=>Object.keys(kcc.names).map(n=>kcc.self!=kcc.names[n]&&kc.mutant_kill(kcc.names[n])));
	makeCheat('railkill',kc.red,()=>Object.keys(kcc.names).map(n=>kcc.self!=kcc.names[n]&&kc.rail_kill(kcc.names[n])));
    makeCheat('swordkill',kc.red,()=>Object.keys(kcc.names).map(n=>kcc.self!=kcc.names[n]&&kc.sword_kill(kcc.names[n])));
    makeCheat('slapgunkill',kc.red,()=>Object.keys(kcc.names).map(n=>kcc.self!=kcc.names[n]&&kc.slapgun_kill(kcc.names[n])));// new
    makeCheat('shotgunkill',kc.red,()=>Object.keys(kcc.names).map(n=>kcc.self!=kcc.names[n]&&kc.shotgun_kill(kcc.names[n])));// new
    makeCheat('automutantkill',kc.red,()=>{//new
        if(kc.idmutant_kill){clearInterval(kc.idmutant_kill);kc.idmutant_kill=0;}
        else kc.idmutant_kill=setInterval(()=>Object.keys(kcc.names).map(n=>kcc.self!=kcc.names[n]&&kc.mutant_kill(kcc.names[n])),5e2);
    });
    makeCheat('autoflamethrowerkill',kc.red,()=>{//new
        if(kc.idflamethrower_kill){clearInterval(kc.idflamethrower_kill);kc.idflamethrower_kill=0;}
        else kc.idflamethrower_kill=setInterval(()=>Object.keys(kcc.names).map(n=>kcc.self!=kcc.names[n]&&kc.flamethrower_kill(kcc.names[n])),5e2);
    });
    makeCheat('none_kill',kc.red,()=>{//new
        if(kc.idnone_kill){clearInterval(kc.idnone_kill);kc.idnone_kill=0;}
        else kc.idnone_kill=setInterval(()=>Object.keys(kcc.names).map(n=>kcc.self!=kcc.names[n]&&kc.none_kill(kcc.names[n])),5e2);
    });

    makeCheat('AutoShot',kc.yellow,()=>{
        if(kc.idHealqa){clearInterval(kc.idHealqa);kc.idHealqa=0;}
        else kc.idHealqa=setInterval(()=>Object.keys(kcc.names).map(n=>kc.autofire(kcc.self[n])),1e1);
    });
	makeCheat('autodamadge',kc.red,()=>{
		if(kc.idDamadge){clearInterval(kc.idDamadge);kc.idDamadge=0;}
		else kc.idDamadge=setInterval(()=>Object.keys(kcc.names).map(n=>kc.damadge(kcc.names[n])),5e2);
	});
	makeCheat('autofreeze',kc.green,()=>{
		if(kc.idFreeze){clearInterval(kc.idFreeze);kc.idFreeze=0;}
		else kc.idFreeze=setInterval(()=>Object.keys(kcc.names).map(n=>kc.freeze(kcc.names[n])),5e2);
	});
	makeCheat('autoheal',kc.green,()=>{
		if(kc.idHeal){clearInterval(kc.idHeal);kc.idHeal=0;}
		else kc.idHeal=setInterval(()=>Object.keys(kcc.names).map(n=>kc.heal(kcc.names[n])),2e2);
	});
    makeCheat('autohealme',kc.green,()=>{
		if(kc.idHeal){clearInterval(kc.idHeal);kc.idHeal=0;}
		else kc.idHeal=setInterval(()=>Object.keys(kcc.names).map(n=>kc.heal(kcc.self[n])),2e2);
        if(kc.idDamadge){clearInterval(kc.idDamadge);kc.idDamadge=0;}
		else kc.idDamadge=setInterval(()=>Object.keys(kcc.names).map(n=>kc.damadge(kcc.self[n])),5e2);
	});
    makeCheat('speed (нехуя не работать)',kc.green,()=>{
        if(kc.idNitro){clearInterval(kc.idNitro);kc.idNitro=0;}
		else kc.idNitro=setInterval(()=>Object.keys(kcc.names).map(n=>kc.nitro(kcc.self[n])),2e2);
	});
    makeCheat('shield',kc.green,()=>kc.shield());
	makeCheat('autobig',kc.green,()=>{
		if(kc.idBig){clearInterval(kc.idBig);kc.idBig=0;}
		else kc.idBig=setInterval(()=>Object.keys(kcc.names).map(n=>kc.big(kcc.names[n])),5e2);
	});
	makeCheat('autosmall',kc.green,()=>{
		if(kc.idSmall){clearInterval(kc.idSmall);kc.idSmall=0;}
		else kc.idSmall=setInterval(()=>Object.keys(kcc.names).map(n=>kc.small(kcc.names[n])),5e2);
	});
    makeCheat('mousegun',kc.green,()=>kc.mousegun());
    makeCheat('shotgun',kc.green,()=>kc.shotgun());
    makeCheat('impulsegun',kc.green,()=>kc.impulsegun());
	makeCheat('heal',kc.green,()=>kc.heal());
	document.addEventListener('keydown',e=>{ //new effect :D // new хуй знает :D
		switch(e.key){
			case '0':
				kc.cubegun();
                break;
                    case '*':
setTimeout(kc.shield(), 1);
setTimeout(kc.ringeffect(), 1);
setTimeout(kc.teamr(), 1);
setTimeout(kc.shield(), 1);
setTimeout(kc.ringeffect(), 1);
setTimeout(kc.teamb(), 1);
setTimeout(kc.shield(), 1);
setTimeout(kc.ringeffect(), 1);
setTimeout(kc.teamy(), 1);
setTimeout(kc.shield(), 1);
setTimeout(kc.ringeffect(), 1);
setTimeout(kc.teamg(), 1);
setTimeout(kc.shield(), 1);
setTimeout(kc.ringeffect(), 1);
setTimeout(kc.teamw(), 1);

                    break;
                    case '/':
setTimeout(kc.shield(), 1);
setTimeout(kc.nitro(), 1);
setTimeout(kc.teamr(), 1);
setTimeout(kc.shield(), 1);
setTimeout(kc.nitro(), 1);
setTimeout(kc.teamb(), 1);
setTimeout(kc.shield(), 1);
setTimeout(kc.nitro(), 1);
setTimeout(kc.teamy(), 1);
setTimeout(kc.shield(), 1);
setTimeout(kc.nitro(), 1);
setTimeout(kc.teamg(), 1);
setTimeout(kc.shield(), 1);
setTimeout(kc.nitro(), 1);
setTimeout(kc.teamw(), 1);
            break;
                case '1':
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.Pistol(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.Pistol(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.Pistol(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.Pistol(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.Pistol(), 1);
setTimeout(kc.autofire(), 1);
                    break;
                 case '2':
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.pistol2x(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.pistol2x(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.pistol2x(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.pistol2x(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.pistol2x(), 1);
setTimeout(kc.autofire(), 1);
                    break;
                case '@':
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.Bazooka(), 1);
setTimeout(kc.autofire(), 1);
                    break;
                case '9':
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.shotgun(), 1);
setTimeout(kc.autofire(), 1);
                    break;
                case '6':
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.sword(), 1);
setTimeout(kc.autofire(), 1);
                    break;
                case '8':
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.centralgun(), 1);
setTimeout(kc.autofire(), 1);
                break;
                case '5':
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.centralgun(), 1);
setTimeout(kc.autofire(), 1);setTimeout(kc.Impulsegun(), 1);
                setTimeout(kc.autofire(),1) ;setTimeout(kc.Impulsegun(), 1);
                setTimeout(kc.mousegun(),1);

                    break;
                     case '4':
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.growthgun(), 1);
setTimeout(kc.autofire(), 1);


                break;
                    case 'w':
setTimeout(kc.shield(), 1);
                break;
                    case 'ц':
setTimeout(kc.shield(), 1);
                break;
                    case 'a':
setTimeout(kc.shield(), 1);
                break;
                    case 's':
setTimeout(kc.shield(), 1);
                break;
                    case 'd':
setTimeout(kc.shield(), 1);
                break;
                    case 'ф':
setTimeout(kc.shield(), 1);
                break;
                    case 'ы':
setTimeout(kc.shield(), 1);
                break;
                    case 'в':
setTimeout(kc.shield(), 1);
                break;
                    case 'spase':
setTimeout(kc.shield(), 1);



                    break;
                case '3':
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.Bazooka(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.Pistol(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.shotgun(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.cubegun(), 1);
setTimeout(kc.autofire(), 1);
setTimeout(kc.Impulsegun(), 1);
setTimeout(kc.shuriken(), 1);
setTimeout(kc.autofire(), 1);

                    break;



                break;
                case 'Insert':
    var spamEncoder = new TextEncoder();
                var spamCode = spamEncoder.encode('<color=#000000>===>POLAR X CONSOLE<===</color>');
                var spamCode2 = spamEncoder.encode('<color=#0101DF>===>POLAR X CONSOLE<===</color>');
                var spamCode3 = spamEncoder.encode('<color=red>===>POLAR X CONSOLE<===</color>');
                var spamCode4 = spamEncoder.encode('<color=#01DF01>===>POLAR X CONSOLE<===</color>');
                var spamCode5 = spamEncoder.encode('<color=#D7DF01>===>POLAR X CONSOLE<===</color>');
                var spamCode6 = spamEncoder.encode('<color=#FFFFFF>===>POLAR X CONSOLE <===</color>');
                var spamCode7 = spamEncoder.encode('<color=#000000>===>POLAR X CONSOLE<===</color>');
                var spamCode8 = spamEncoder.encode('<color=#0101DF>===>POLAR X CONSOLE<===</color>');
                var spamCode9 = spamEncoder.encode('<color=red>===>POLAR X CONSOLE<===</color>');
                var spamCode10 = spamEncoder.encode('<color=#01DF01>===>POLAR X CONSOLE<===</color>');
                var spamCode11 = spamEncoder.encode('<color=#D7DF01>===>POLAR X CONSOLE<===</color>');
                var spamCode12 = spamEncoder.encode('<color=#FFFFFF>===>POLAR X CONSOLE<===</color>');
                var spamCode13 = spamEncoder.encode('<color=#000000>===>POLAR X CONSOLE<===</color>');
                var spamCode14 = spamEncoder.encode('<color=#0101DF>===>POLAR X CONSOLE<===</color>');
                var spamCode15 = spamEncoder.encode('<color=red>===>POLAR X CONSOLE<===</color>');
                var spamCode16 = spamEncoder.encode('<color=#01DF01>===>POLAR X CONSOLE===</color>');
                var spamCode17 = spamEncoder.encode('<color=#D7DF01>===>POLAR X CONSOLE<===</color>');
                var spamCode18 = spamEncoder.encode('<color=#FFFFFF>===>POLAR X CONSOLE<===</color>');
    var spamLength = spamCode.length
    var spamLength2 = spamCode2.length
    var spamLength3 = spamCode3.length
    var spamLength4 = spamCode4.length
    var spamLength5 = spamCode5.length
    var spamLength6 = spamCode6.length
    var spamLength7 = spamCode7.length
    var spamLength8 = spamCode8.length
    var spamLength9 = spamCode9.length
    var spamLength10 = spamCode10.length
    var spamLength11 = spamCode11.length
    var spamLength12 = spamCode12.length
    var spamLength13 = spamCode7.length
    var spamLength14 = spamCode8.length
    var spamLength15 = spamCode9.length
    var spamLength16 = spamCode10.length
    var spamLength17 = spamCode11.length
    var spamLength18 = spamCode12.length
    var spammer = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength,...spamCode];
    var spammer2 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength2,...spamCode2];
    var spammer3 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength3,...spamCode3];
    var spammer4 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength4,...spamCode4];
    var spammer5 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength5,...spamCode5];
    var spammer6 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength6,...spamCode6];
    var spammer7 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength7,...spamCode7];
    var spammer8 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength8,...spamCode8];
    var spammer9 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength9,...spamCode9];
    var spammer10 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength10,...spamCode10];
    var spammer11 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength11,...spamCode11];
    var spammer12 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength12,...spamCode12];
    var spammer13 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength7,...spamCode7];
    var spammer14 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength8,...spamCode8];
    var spammer15 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength9,...spamCode9];
    var spammer16 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength10,...spamCode10];
    var spammer17 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength11,...spamCode11];
    var spammer18 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength12,...spamCode12];
    kcc.ws.send(new Uint8Array(spammer))
    kcc.ws.send(new Uint8Array(spammer2))
    kcc.ws.send(new Uint8Array(spammer3))
    kcc.ws.send(new Uint8Array(spammer4))
    kcc.ws.send(new Uint8Array(spammer5))
    kcc.ws.send(new Uint8Array(spammer6))
    kcc.ws.send(new Uint8Array(spammer7))
    kcc.ws.send(new Uint8Array(spammer8))
    kcc.ws.send(new Uint8Array(spammer9))
    kcc.ws.send(new Uint8Array(spammer10))
    kcc.ws.send(new Uint8Array(spammer11))
    kcc.ws.send(new Uint8Array(spammer12))
    kcc.ws.send(new Uint8Array(spammer13))
    kcc.ws.send(new Uint8Array(spammer14))
    kcc.ws.send(new Uint8Array(spammer15))
    kcc.ws.send(new Uint8Array(spammer16))
    kcc.ws.send(new Uint8Array(spammer17))
    kcc.ws.send(new Uint8Array(spammer18))

            break;

                case 'Delete':
    var spamEncoder = new TextEncoder();
                var spamCode = spamEncoder.encode('<i><b><color=#000000>[HACER]:CHAT DELETED</color></b></i>');
                var spamCode2 = spamEncoder.encode('<size=9999> < </size>');
                var spamCode3 = spamEncoder.encode('<size=9999> < </size>');
                var spamCode4 = spamEncoder.encode('<size=9999> < </size>');
                var spamCode5 = spamEncoder.encode('<size=9999> < </size>');

    var spamLength = spamCode.length
    var spamLength2 = spamCode2.length
    var spamLength3 = spamCode3.length
    var spamLength4  = spamCode4.length
    var spamLength5 = spamCode5.length
    var spammer = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength,...spamCode];
                var spammer2 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength2,...spamCode2];
                var spammer3 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength3,...spamCode3];
                var spammer4 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength4,...spamCode4];
                var spammer5 = [243,2,88,0,2,87,105,0,0,0,3,88,68,0,0,0,2,98,0,105,0,0,0,1,98,5,115,0,spamLength5,...spamCode5];
    kcc.ws.send(new Uint8Array(spammer))
    kcc.ws.send(new Uint8Array(spammer2))
    kcc.ws.send(new Uint8Array(spammer3))
    kcc.ws.send(new Uint8Array(spammer4))
    kcc.ws.send(new Uint8Array(spammer5))
            break;

        }
    });
    makeCheat('team',kc.green,()=>{
     var comando=prompt('r=redteaM ;g=Greenteam ;y=Yellowteam ;b=blue Team ;w=whiteteaM n=TeamNull s=TeamServer')
         if(comando == 'r'){
kc.teamr();
}
         if(comando == 'b'){
kc.teamb();
}
         if(comando == 'g'){
kc.teamg();
}
         if(comando == 'y'){
kc.teamy();
}
         if(comando == 'w'){
kc.teamw();
}
        if(comando == 'n'){
kc.teamnull();
}
        if(comando == 's'){
kc.teams();
}
 if(comando == null){
alert('Please enter a team.','#ff1e00')
}
if(comando == ''){
alert('Please enter a team.','#ff1e00')
}
});
   makeCheat("Crash", kc.red,()=>Object.keys(kcc.names).map(n=>kcc.self!=kcc.names[n]&&kc.crash(kcc.names[n])));
    makeCheat('ID CUBE ',kc.blue,()=>window.open("https://prnt.sc/v9jnzw")());
    makeCheat('cube gun ID ',kc.blue,()=>{
var comando=prompt('Enter CubeGun ID (0-59)')
if(comando == '0'){kill
kc.a0();
}
if(comando == '1'){
kc.a1();
}
if(comando == '2'){
kc.a2();
}
if(comando == '3'){
kc.a3();
}
if(comando == '4'){
kc.a4();
}
if(comando == '5'){
kc.a5();
}
if(comando == '6'){
kc.a6();
}
if(comando == '7'){
kc.a7();
}
if(comando == '8'){
kc.a8();
}
if(comando == '9'){
kc.a9();
}
if(comando == '10'){
kc.a10();
}
if(comando == '11'){
kc.a11();
}
if(comando == '12'){
kc.a12();
}
if(comando == '13'){
kc.a13();
}
if(comando == '14'){
kc.a14();
}
if(comando == '15'){
kc.a15();
}
if(comando == '16'){
kc.a16();
}
if(comando == '17'){
kc.a17();
}
if(comando == '18'){
kc.a18();
}
if(comando == '19'){
kc.a19();
}
if(comando == '20'){
kc.a20();
}
if(comando == '21'){
kc.a21();
}
if(comando == '22'){
kc.a22();
}
if(comando == '23'){
kc.a23();
}
if(comando == '24'){
kc.a24();
}
if(comando == '25'){
kc.a25();
}
if(comando == '26'){
kc.a26();
}
if(comando == '27'){
kc.a27();
}
if(comando == '28'){
kc.a28();
}
if(comando == '29'){
kc.a29();
}
if(comando == '30'){
kc.a30();
}
if(comando == '31'){
kc.a31();
}
if(comando == '32'){
kc.a32();
}
if(comando == '33'){
kc.a33();
}
if(comando == '34'){
kc.a34();
}
if(comando == '35'){
kc.a35();
}
if(comando == '36'){
kc.a36();
}
if(comando == '37'){
kc.a37();
}
if(comando == '38'){
kc.a38();
}
if(comando == '39'){
kc.a39();
}
if(comando == '40'){
kc.a40();
}
if(comando == '41'){
kc.a41();
}
if(comando == '42'){
kc.a42();
}
if(comando == '43'){
kc.a43();
}
if(comando == '44'){
kc.a44();
}
if(comando == '45'){
kc.a45();
}
if(comando == '46'){
kc.a46();
}
if(comando == '47'){
kc.a47();
}
if(comando == '48'){
kc.a48();
}
if(comando == '49'){
kc.a49();
}
if(comando == '50'){
kc.a50();
}
if(comando == '51'){
kc.a51();
}
if(comando == '52'){
kc.a52();
}
if(comando == '53'){
kc.a53();
}
if(comando == '54'){
kc.a54();
}
if(comando == '55'){
kc.a55();
}
if(comando == '56'){
kc.a56();
}
if(comando == '57'){
kc.a57();
}
if(comando == '58'){
kc.a58();
}
if(comando == '59'){
kc.a59();
}
if(comando == null){
alert('Invalid Command.','#ff1e00')
}
if(comando == ''){
alert('Invalid Command.','#ff1e00')
}
});
    makeCheat('spawn Gun',kc.white,()=>{
    var comando=prompt('commands_:impulsegun:i/bazooka:b/growthgun:g/mousegun:m/railgun:r/pistol:p')
         if(comando == 'i'){
kc.Impulsegun();
}
         if(comando == 'b'){
kc.Bazooka();
}
         if(comando == 'c'){
kc.centralgun();
}
         if(comando == 'g'){
kc.growthgun();
}
         if(comando == 'm'){
kc.mousegun();
}
         if(comando == 'r'){
kc.railgun();
}
        if(comando == 'p'){
kc.Pistol();
}
        if(comando == 'r'){
kc.Pistol();
}
    });
	makeCheat('big',kc.green,()=>kc.big());
	makeCheat('small',kc.green,()=>kc.small());
	makeCheat('cubegun',kc.blue,()=>kc.cubegun());
	makeCheat('cubenormal',kc.blue,()=>kcc.cubeMode=0);
	makeCheat('cubeplane',kc.blue,()=>kcc.cubeMode=1);
	makeCheat('cubegiant',kc.blue,()=>kcc.cubeMode=2);
	makeCheat('cuberoom',kc.blue,()=>kcc.cubeMode=3);
	makeCheat('cubexm',kc.blue,()=>kcc.cubeMode=4);
	makeCheat('cubexp',kc.blue,()=>kcc.cubeMode=5);
	makeCheat('cubezm',kc.blue,()=>kcc.cubeMode=6);
	makeCheat('cubezp',kc.blue,()=>kcc.cubeMode=7);
	makeCheat('normal',kc.blue,()=>kcc.cubeId=0);
}
addBB('Hotkeys','cheat_hotkeys','hotkeys_box');
	html('hotkeys_box').className='scroller';
	el=make('div');
	el.id='hotkeys_box_info';
	el.style.whiteSpace='pre';
	el.textContent=`

1 = Fly1
2= Fly2
3= Test_gun
4 = Growthgun (speed)
5 = Mousegun + sentralgun (lag)
6 = Sword (speed) (lag)
8 = Centralgun (speed)
9 = Shotgun (speed) (lag)
ASDW = AutoShield ( fake speed )
`;
	html('hotkeys_box').appendChild(el);
addBB('About','cheat_about','about_box');
	html('about_box').className='scroller';
	el=make('div');
	el.id='about_box_info';
	el.style.whiteSpace='pre';
	el.textContent=`
    discord:
   ..POLAR X..#1876
    kogama:https://www.kogama.com/profile/668528357/

 ?  ?  ?  ?  ?  ?  ?  ????????? `;
	html('about_box').appendChild(el);

/*Kogama Cheat Client*/
window.kcc=top.kcc={
	ws:{},
	self:0,
	pos:[0,0,0],
	names:{},
	parts:[],
	cubeSize:4,
	cubeD:1812,
	superbounce:1846,
	poison:1820,
	blackice:1835,
	ice:1817,
	magma:1818,
	bounce:1819,
	cubeId:0,
	cubeXZ:10,
	roomSize:4,
	cubeMode:0,
	cubeWay:50,
	cubeServer:(randomId=kcc.self,x=0,y=0,z=0,material)=>new Uint8Array([243,4,10,0,3,47,105,...toByte32(randomId),49,120,0,0,0,...(material?[9,2]:[7,0]),...toByte16(x),...toByte16(y),...toByte16(z),...(material?toByte16(material):[]),254,105,0,0,0,material?3:1]),
	cube:(randomId=kcc.self,x=0,y=0,z=0,material)=>new Uint8Array([243,2,7,0,2,47,105,...toByte32(randomId),49,120,0,0,0,...(material?[9,2]:[7,0]),...toByte16(x),...toByte16(y),...toByte16(z),...(material?toByte16(material):[])]),
	logClient:(msg,...items)=>{
		console.log.apply(console,['%c'+msg,"background-color:#0808;",...items]);
	},
	logServer:(msg,...items)=>{
		console.log.apply(console,['%c'+msg,"background-color:#F808;",...items]);
	},
	injectClient:function(data){
		data = new Uint8Array(data);
		data = kcc.separator(data);
		if(data)this._send(data);
	},
	injectServer:function(e){
		let data = new Uint8Array(e.data);
		if(this != kcc.ws){
			kcc.logServer(`wait injection: [${data.toString()}]`);
			return;
		}
		data = kcc.separator(data);
		if(data)this._msg({data:data.buffer});
	}
};

/*requests separating*/
kcc.no_sense=data=>{
	if(data.length<7)return true;//not action
	return false;
	/*
	if(data.equals([243,4,81,0,0])){//each tick
		//kcc.logServer('short_ping');
		return true;
	}else if(data.equals([243,2,58,0,0])){//1 time
		//kcc.logClient('short_ping(1)');
		return true;
	}else if(data.equals([243,2,102,0,0])){//1 time
		//kcc.logClient('short_ping(2)');
		return true;
	}else if(data.equals([243,2,95,0,0])){//1 time
		//kcc.logClient('short_ping(3)');//build->game, once
		return true;
	}else if(data.equals([243,1,0])){//1 time
		kcc.logServer('open connection');
		return true;
	}
	*/
}

kcc.separator=data=>{
	if(kcc.no_sense(data))return data;

	head = data.slice(0,7);//[243, (client:2|6, server:4|7), actionId(u32), 105]
	reqId = head.slice(2,6);
	/*
	2,6 - client
	4,7 - server
	*/
	source = (head[1]==2||head[1]==6)?"client":"server";

	return new Uint8Array([...head, ...kcc[source+"Separator"](toNum32(reqId), data.slice(7))]);
}

kcc.clientSeparator=(reqId,data)=>{
	switch(reqId){
		case 117441071://[7,0,2,47] 26->19 bytes
			let id=toNum32(data.slice(0,4));
			let material=toNum16(data.slice(17,19));
			let x=toNum16Sign(data.slice(11,13));
			let y=toNum16Sign(data.slice(13,15));
			let z=toNum16Sign(data.slice(15,17));
			//kc.log(`cubegun:{id:${id},x:${x},y:${y},z:${z},material:${material}}`,'#080');
			if(kcc.cubeMode){
				let arr=[];
				if(kcc.cubeMode==1){//plane
					for(let i=x-kcc.cubeXZ;i<=x+kcc.cubeXZ;i++)
						for(let i2=y-1;i2<=y-1;i2++)
							for(let i3=z-kcc.cubeXZ;i3<=z+kcc.cubeXZ;i3++){
								arr.push({x:unsign16(i),y:unsign16(i2),z:unsign16(i3)});
							}
				}else if(kcc.cubeMode==2){//giant
					for(let i=x-kcc.cubeSize;i<=x+kcc.cubeSize;i++)
						for(let i2=y-kcc.cubeSize;i2<=y+kcc.cubeSize;i2++)
							for(let i3=z-kcc.cubeSize;i3<=z+kcc.cubeSize;i3++){
								arr.push({x:unsign16(i),y:unsign16(i2),z:unsign16(i3)});
							}
				}else if(kcc.cubeMode==3){//room
					for(let i=x-kcc.roomSize;i<=x+kcc.roomSize;i++)
						for(let i2=y-1;i2<=y+kcc.roomSize*2-1;i2++)
							for(let i3=z-kcc.roomSize;i3<=z+kcc.roomSize;i3++){
								if(i==x-kcc.roomSize||i==x+kcc.roomSize||
									i2==y+kcc.roomSize*2-1||i2==y-1||
									i3==z-kcc.roomSize||i3==z+kcc.roomSize){
										arr.push({x:unsign16(i),y:unsign16(i2),z:unsign16(i3)});
									}
							}
				}else if(kcc.cubeMode==4){//xm
					for(let i=x-kcc.cubeWay;i<=x;i++)
						for(let i2=y-1;i2<=y-1;i2++)
							for(let i3=z-2;i3<=z+2;i3++){
								arr.push({x:unsign16(i),y:unsign16(i2),z:unsign16(i3)});
							}
				}else if(kcc.cubeMode==5){//xp
					for(let i=x;i<=x+kcc.cubeWay;i++)
						for(let i2=y-1;i2<=y-1;i2++)
							for(let i3=z-2;i3<=z+2;i3++){
								arr.push({x:unsign16(i),y:unsign16(i2),z:unsign16(i3)});
							}
				}else if(kcc.cubeMode==6){//zm
					for(let i=x-2;i<=x+2;i++)
						for(let i2=y-1;i2<=y-1;i2++)
							for(let i3=z-kcc.cubeWay;i3<=z;i3++){
								arr.push({x:unsign16(i),y:unsign16(i2),z:unsign16(i3)});
							}
				}else if(kcc.cubeMode==7){//zp
					for(let i=x-2;i<=x+2;i++)
						for(let i2=y-1;i2<=y-1;i2++)
							for(let i3=z;i3<=z+kcc.cubeWay;i3++){
								arr.push({x:unsign16(i),y:unsign16(i2),z:unsign16(i3)});
							}
				}
				arr.map((pos,i)=>{
					kcc.ws._msg({data:kcc.cubeServer(id,pos.x,pos.y,pos.z,kcc.cubeId?kcc.cubeId:material).buffer});
					kcc.ws._send(kcc.cube(id,pos.x,pos.y,pos.z,kcc.cubeId?kcc.cubeId:material));
				});
			}
		break;
		case 33556246://[2,0,7,22], 47->40 bytes
			//kc.log('moving','#080');
			//let PID=data.slice(0,4);//36 bytes
			kcc.pos=data.slice(4);

		break;
		case 16777473://[1,0,1,1]
			//kcc.logClient('ping time');//(11)
		break;
		case 4278192982://toNum32([255,0,11,86]):
			kc.log('login','#080');
		break;
		case 1040188095://toNum32([62,0,2,191]):
			kc.log('[image part]','#080');
		break;
		case 385876415://toNum32([23,0,1,191]):
			kc.log('finish','#080');
		break;
		case 419430934://toNum32([25,0,2,22]):
			//kcc.self=toNum32(data.slice(0,4));
		break;
		case 654311702://toNum32([39,0,1,22]):
			//kcc.logClient('add model to inventory');
		break;
		case 738198312://toNum32([44,0,3,40]):
			//kcc.logClient('push model to the marketplace');
		break;
		case 218104104://toNum32([13,0,1,40]):
			//kcc.logClient('delete model from inventory');
		break;
		case 452985366://toNum32([27,0,2,22]):
			//kcc.logClient('use effect on player');
		break;
	}
	return data;
}
kcc.serverSeparator=(reqId,data)=>{
	//server:243,4,10,0,3,47,105,...toByte32(randomId),49,120,0,0,0,9,2,...toNum16(x),...toNum16(y),...toNum16(z),7,material,254,105,0,0,0,3

	//client:243,2,7,0,2,47,105, 0,0,5,196,49,120,0,0,0,9,2,255,211,0,4,255,225
	//       243,4,10,0,3,47,105,0,0,5,207,49,120,0,0,0,7,0,255,229,0,4,255,213,254,105,0,0,0,1

	//243,4,86,0,5,220,105,0,0,41,254,219,98,2,209,105,0,0,0,0,85,105,0,0,0,10,254,105,0,0,0,1
	switch(reqId){
		case toNum32([10,0,3,47])://case toNum32([86,0,5,220]):
			//kc.log('cubegun another');
		break;
		case toNum32([1,0,0,42]):
			//kcc.logServer('ping time');//(20)
		break;
		case toNum32([255,0,6,89]):
			{
				top.keks=top.keks?top.keks:[];
				let info=getJSON(decode(data))[0];
				top.keks.push(info);
				//kc.log(`[${info.UserName}]->joining`,'#F80');
				kcc.parts.push(info.UserName);
			}
		break;
		case toNum32([104,0,2,245]):
			{
				top.keks=top.keks?top.keks:[];
				let info=getJSON(decode(data))[0];
				top.keks.push(info);
				let pid=info.SpawnRolesRuntimeData.activeSpawnRole;//.spawnRoleAvatarIds[0];
				let name=kcc.parts.pop();
				kc.log(`[${name},${pid}]->joined`,'#F80');
				kcc.names[name]=pid;
			}
		break;
		case toNum32([102,0,10,245]):case toNum32([61,0,10,245]):
			{
				kc.log('joined','#F80');
				let info=getJSON(decode(data));
				top.kek=info;
				kcc.self=info[info.length-1].spawnRolesDefaultTypeWoIDMap;
				kcc.self=kcc.self?kcc.self.DefaultPlayModeSpawnRole:info[info.length-1].DefaultPlayModeSpawnRole;
				info=info.slice(1,info.length-1);
				for(let k=0;k<info.length;k+=3){
					kcc.names[info[k].UserName]=info[k+2].activeSpawnRole;
				}
				kc.log(`Player List:${JSON.stringify(kcc.names)}`,'#F80');
			}
		break;
		case toNum32([6,0,11,22]):
			{
				let id=toNum32(data.slice(0,4))-1;
				for(let k in kcc.names)if(kcc.names[k]==id){
					kc.log(`[${k},${id}]->left`,'#F80');
					delete kcc.names[k];break;
				}
			}
		break;
	}
	return data;
}