function main(_0x2e80b8){if(!JSON['parse'](_0x2e80b8['getServer']()['getStates']()['getString']('timeData'))['freezed'])return;let _0x14b825=_0x2e80b8['getSubject'](),_0x45db40;try{_0x45db40=JSON['parse'](_0x14b825['getStates']()['getString']('skin'));}catch(_0xf2a97){_0x45db40={'link':'c.s:hnt_male/skins/kryystll.png','type':'fred'},_0x14b825['getStates']()['setString']('skin',JSON['stringify'](_0x45db40));}let _0x4d2d16=mappet['createUI'](_0x2e80b8,'handler')['background']()['closable'](!![]),_0x4ee20d=_0x4d2d16['layout']();_0x4ee20d['current']['id']('mainMenu')['rxy'](0.5,0.5)['wh'](0x82,0xeb)['anchor'](0.5)['visible'](!![]);let _0x1ab07a=_0x4ee20d['graphics']()['rxy'](0x0,0x0)['rwh'](0x1,0x1);_0x1ab07a['rect'](0x0,0x0,0x1,0x1,0xff191919)['rwh'](0x1,1.08),_0x1ab07a['rect'](0x0,0x0,0x1,0x1,0xff252525)['xy'](0x0,0x0)['rw'](0x1)['h'](-0xf),_0x4ee20d['icon']('close')['id']('exit')['rx'](0x1,-0xa)['ry'](0x0,-0x7)['wh'](0xa,0xa)['anchor'](0.5)['tooltip']('Закрыть');let _0x556730=_0x4ee20d['label']('Кастомизация')['id']('lblСustom')['rx'](0.5)['y'](-0x2)['wh'](0x82,0xa)['anchor'](0.5,0x1)['labelAnchor'](0.5),_0x25a914=_0x4ee20d['morph'](mappet['createMorph']('{Loop:1,List:[{Random:0.0f,SetDuration:0b,Morph:{Hitbox:{Eye:0.9f,Sneak:1.65f,Enabled:1b,Height:1.8f},Pose:{Pose:{head:{},right_knee:{},right_arm:{},left_leg:{},torso:{},left_arm:{},right_leg:{},model:{SX:0.0f,SY:0.0f,SZ:0.0f,RY:-13.281956f,Y:-0.65625f},right_elbow:{},left_knee:{},left_elbow:{}}},Transition:{Interp:29,Animates:1b,Duration:0},Skin:"'+_0x45db40['link']+'",Name:"chameleon.hnt_'+(_0x45db40['type']=='fred'?'male':'female')+'"},Duration:0.0f,EndPoint:0b},{Random:0.0f,SetDuration:0b,Morph:{Hitbox:{Eye:0.9f,Sneak:1.65f,Enabled:1b,Height:1.8f},Pose:{Pose:{head:{},right_knee:{},right_arm:{},left_leg:{},torso:{},left_arm:{},right_leg:{},model:{SX:0.925f,SY:0.925f,SZ:0.925f,Y:-0.65625f},right_elbow:{},left_knee:{},left_elbow:{}}},Transition:{Interp:29,Animates:1b,Duration:25},Skin:"'+_0x45db40['link']+'",Name:"chameleon.hnt_'+(_0x45db40['type']=='fred'?'male':'female')+'"},Duration:40.0f,EndPoint:0b}],Name:"sequencer",Offset:[0.0f,0.0f,0.0f]}'))['id']('morphPlayer');_0x25a914['rxy'](0.5,0x0)['wh'](0x82,0xc8)['anchor'](0.5,0x0)['position'](0.013,1.05,-0.01)['rotation'](0x3,-0x1d)['distance'](1.8)['fov'](0x46);let _0x5359d6=_0x4ee20d['label']('Текущий скин')['id']('lblInfo')['rx'](0.5)['y'](0xcd)['wh'](0x82,0xa)['anchor'](0.5,0x0)['labelAnchor'](0.5),_0x441dcf=_0x4ee20d['row'](0x3,0x3);_0x441dcf['current']['rxy'](0.5,0x1)['wh'](0x82,0x1e)['anchor'](0.5,0x1)['visible'](!![]);let _0x43e54d=_0x441dcf['button']('Ely')['id']('elyBtn')['anchor'](0.5)['wh'](0x14,0xf)['tooltip']('Система скинов Ely.by')['background'](0x264b24),_0x2ba522=_0x441dcf['button']('TL')['id']('tlBtn')['anchor'](0.5)['wh'](0x14,0xf)['tooltip']('Система скинов TLauncher')['background'](0x264b24),_0x5461d9=_0x441dcf['button']('Свой URL')['id']('customBtn')['anchor'](0.5)['wh'](0x19,0xf)['tooltip']('Вставить URL адрес скина из буфера обмена.
')['background'](0x264b24),_0x359029=_0x441dcf['toggle']('',_0x45db40['type']=='fred'?![]:!![])['id']('alex')['rxy'](0x1,0x1)['anchor'](0x1,0x1)['wh'](0x14,0xf)['tooltip']('Тип тела: [6М [f/ [6Ж'),_0x5d5f3c=_0x4ee20d['button']('Лицензия')['id']('licBtn')['rxy'](0.46,0x1)['anchor'](0.93,0x0)['wh'](0x3d,0xf)['tooltip']('Официальная система скинов.
[4Не работает на пиратке')['background'](0x264b24),_0x260780=_0x4ee20d['button']('Шапки')['id']('hat')['rxy'](0.965,0x1)['anchor'](0.93,0x0)['wh'](0x3d,0xf)['tooltip']('Cистема шапок.')['background'](0x264b24);_0x2e80b8['getSubject']()['openUI'](_0x4d2d16);}function handler(_0x49b87e){try{let _0x2daa06=_0x49b87e['getSubject'](),_0x45b792=_0x2daa06['getPosition'](),_0xd3056b=JSON['parse'](_0x2daa06['getStates']()['getString']('skin')),_0x2d7558=_0x2daa06['getUIContext']();_0x2d7558['isClosed']()&&(_0x2daa06['setMorph'](null),_0x2daa06['setMorph'](mappet['createMorph']('{Hitbox:{Eye:0.9f,Sneak:1.65f,Enabled:1b,Height:1.8f},Pose:{Pose:{head:{},right_knee:{},right_arm:{},left_leg:{},torso:{},left_arm:{},right_leg:{},model:{SX:0.925f,SY:0.925f,SZ:0.925f,Y:-0.65625f},right_elbow:{},left_knee:{},left_elbow:{}}},Skin:"'+JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['link']+'",Name:"chameleon.hnt_'+(JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['type']=='fred'?'male':'female')+'"}')));_0x2d7558['getLast']()==='exit'&&(!_0x2daa06['getStates']()['has']('skin')?(_0x2d7558['get']('exit')['tooltip']('[4Поставьте скин!'),_0x2daa06['playSound']('mp.sounds:hnt.ui.ui_camfull',_0x45b792['x'],_0x45b792['y'],_0x45b792['z'],0.8,0x1)):_0x2daa06['closeUI']());_0x2d7558['getLast']()==='hat'&&(_0x2daa06['playSound']('mp.sounds:hnt.ui.ui_camfull',_0x45b792['x'],_0x45b792['y'],_0x45b792['z'],0.8,0x1),_0x2daa06['executeScript']('skinhead.js'));if(_0x2d7558['getLast']()==='elyBtn'){let _0x1d3a75=getSkin(_0x2daa06['getName'](),'ely');(JSON['stringify'](_0x1d3a75['json'])=='{}'||_0x1d3a75['json']===undefined)&&(_0x1d3a75=getSkin(_0x49b87e['getPlayer']()['getName'](),''),_0x2daa06['playSound']('mp.sounds:hnt.ui.ui_camfull',_0x45b792['x'],_0x45b792['y'],_0x45b792['z'],0x1,0.8),_0x2daa06['send']('§cОшибка при получении Ely.by скина')),_0xd3056b['link']=_0x1d3a75['getLink'](),_0x2daa06['getStates']()['setString']('skin',JSON['stringify'](_0xd3056b)),_0x2d7558['get']('morphPlayer')['morph'](mappet['createMorph']('{Skin:"'+JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['link']+'",Name:"chameleon.hnt_'+(JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['type']=='fred'?'male':'female')+'"}'));}if(_0x2d7558['getLast']()==='licBtn'){try{_0xd3056b['link']=_0x2daa06['getSkin']();}catch(_0x2e2c43){_0x2daa06['send']('§cОшибка при получении лицензионного скина'),_0x2daa06['playSound']('mp.sounds:hnt.ui.ui_camfull',_0x45b792['x'],_0x45b792['y'],_0x45b792['z'],0x1,0.8);}_0x2daa06['getStates']()['setString']('skin',JSON['stringify'](_0xd3056b)),_0x2d7558['get']('morphPlayer')['morph'](mappet['createMorph']('{Skin:"'+JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['link']+'",Name:"chameleon.hnt_'+(JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['type']=='fred'?'male':'female')+'"}'));}if(_0x2d7558['getLast']()==='tlBtn'){let _0x5a46f8=getSkin(_0x2daa06['getName'](),'tl');(JSON['stringify'](_0x5a46f8['json'])=='{}'||_0x5a46f8['json']===undefined)&&(_0x5a46f8=getSkin(_0x49b87e['getPlayer']()['getName'](),''),_0x2daa06['send']('§cОшибка при получении TL скина'),_0x2daa06['playSound']('mp.sounds:hnt.ui.ui_camfull',_0x45b792['x'],_0x45b792['y'],_0x45b792['z'],0x1,0.8)),_0xd3056b['link']=_0x5a46f8['getLink'](),_0x2daa06['getStates']()['setString']('skin',JSON['stringify'](_0xd3056b)),_0x2d7558['get']('morphPlayer')['morph'](mappet['createMorph']('{Skin:"'+JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['link']+'",Name:"chameleon.hnt_'+(JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['type']=='fred'?'male':'female')+'"}'));}_0x2d7558['getLast']()==='customBtn'&&_0x2daa06['getClipboard'](function(_0x45aab4){if(_0x45aab4=='')return;if(_0x45aab4['length']>0x12c)return;_0xd3056b['link']=_0x45aab4,_0x2daa06['getStates']()['setString']('skin',JSON['stringify'](_0xd3056b)),_0x2d7558['get']('morphPlayer')['morph'](mappet['createMorph']('{Skin:"'+JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['link']+'",Name:"chameleon.hnt_'+(JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['type']=='fred'?'male':'female')+'"}')),_0x2d7558['sendToPlayer'](),_0x2daa06['send']('Установлен скин с URL: '+_0x45aab4);}),_0x2d7558['getLast']()==='alex'&&(_0xd3056b['type']=_0xd3056b['type']=='fred'?'alex':'fred',_0x2daa06['getStates']()['setString']('skin',JSON['stringify'](_0xd3056b)),_0x2d7558['get']('morphPlayer')['morph'](mappet['createMorph']('{Skin:"'+JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['link']+'",Name:"chameleon.hnt_'+(JSON['parse'](_0x2daa06['getStates']()['getString']('skin'))['type']=='fred'?'male':'female')+'"}')));}catch(_0x55e1f7){_0x49b87e['send'](_0x55e1f7);}}
© 2023 Quttera Ltd. All rights reserved.