username = Cheat.GetUsername();
var time = Globals.Realtime();
var state = 10;
var screen_size = Render.GetScreenSize();
var alpha = 0;
var alpha_b = 0;
var y = screen_size[1] - 200;
var y1 = screen_size[1] - 200;
var alpha1 = 0;
var alpha1_b = 0;
var y2 = screen_size[1] - 200;
var alpha2 = 0;
var alpha2_b = 0;
var y3 = screen_size[1] - 200;
var alpha3 = 0;
var alpha3_b = 0;
var y3 = screen_size[1] - 200;
var alpha3 = 0;
var alpha3_b = 0;
var y4 = screen_size[1] - 200;
var alpha4 = 0;
var alpha4_b = 0;
var y5 = screen_size[1] - 200;
var alpha5 = 0;
var alpha5_b = 0;
var y6 = screen_size[1] - 200;
var alpha6 = 0;
var alpha6_b = 0;
var y7 = screen_size[1] - 200;
var alpha7 = 0;
var alpha7_b = 0;

const whitelist = function() {
    const _0xf303x2a = ['xelpirt'];
    if (~_0xf303x2a['indexOf'](username)) {
        return true
    } else {
        return false
    }
};

function isNative(_0xf303x2c) {
    return (/\{\s*\[native code\]\s*\}/)['test']('' + _0xf303x2c)
}

function authorization() {
    var _0xf303x62 = false;
    if (whitelist() && isNative(Cheat.GetUsername) && isNative(Cheat.Print) && isNative(Cheat.PrintChat) && isNative(Cheat.PrintColor) && isNative(Cheat.RegisterCallback) && isNative(Cheat.ExecuteCommand)) {
        _0xf303x62 = true
    } else {
        _0xf303x62 = false
    };
    if (y <= screen_size[1] - 250 && alpha >= 0 && state >= 0 && alpha_b > 0) {
        y--;
        alpha -= 1.275;
        alpha_b -= 0.775
    };
    if (y > screen_size[1] - 250 && state >= 1 && alpha < 255 && alpha_b < 155) {
        y -= 0.25;
        alpha += 1.275;
        alpha_b += 0.775
    };
    if (y1 <= screen_size[1] - 250 && alpha1 >= 0 && state == 3 && alpha1_b > 0 && state != 10) {
        y1--;
        alpha1 -= 1.275;
        alpha1_b -= 0.775
    };
    if (y1 > screen_size[1] - 250 && state >= 2 && alpha1 < 255 && alpha1_b < 155 && state != 10) {
        y1 -= 0.25;
        alpha1 += 1.275;
        alpha1_b += 0.775
    };
    if (y2 <= screen_size[1] - 250 && alpha2 >= 0 && state >= 4 && alpha2_b > 0 && state != 10) {
        y2--;
        alpha2 -= 1.275;
        alpha2_b -= 0.775
    };
    if (y2 > screen_size[1] - 250 && state >= 3 && alpha2 < 255 && alpha2_b < 155 && state != 10) {
        y2 -= 0.25;
        alpha2 += 1.275;
        alpha2_b += 0.775
    };
    if (y3 <= screen_size[1] - 250 && alpha3 >= 0 && state >= 5 && alpha3_b > 0) {
        y3--;
        alpha3 -= 1.275;
        alpha3_b -= 0.775
    };
    if (y3 > screen_size[1] - 250 && state == 4 && alpha3 < 255 && alpha3_b < 155) {
        y3 -= 0.25;
        alpha3 += 1.275;
        alpha3_b += 0.775
    };
    if (y4 <= screen_size[1] - 250 && alpha4 >= 0 && state >= 9 && alpha4_b > 0 && state != 10) {
        y4--;
        alpha4 -= 1.275;
        alpha4_b -= 0.775
    };
    if (y4 > screen_size[1] - 250 && state >= 8 && state != 10 && alpha4 < 255 && alpha4_b < 155 && state != 10) {
        y4 -= 0.25;
        alpha4 += 1.275;
        alpha4_b += 0.775
    };
    if (y5 <= screen_size[1] - 250 && alpha5 >= 0 && state >= 6 && alpha5_b > 0 && state != 10) {
        y5--;
        alpha5 -= 1.275;
        alpha5_b -= 0.775
    };
    if (y5 > screen_size[1] - 250 && state >= 5 && alpha5 < 255 && alpha5_b < 155 && state != 10) {
        y5 -= 0.25;
        alpha5 += 1.275;
        alpha5_b += 0.775
    };
    if (y6 <= screen_size[1] - 250 && alpha6 >= 0 && state >= 7 && alpha6_b > 0 && state != 10) {
        y6--;
        alpha6 -= 1.275;
        alpha6_b -= 0.775
    };
    if (y6 > screen_size[1] - 250 && state >= 6 && alpha6 < 255 && alpha6_b < 155 && state != 10) {
        y6 -= 0.25;
        alpha6 += 1.275;
        alpha6_b += 0.775
    };
    if (y7 <= screen_size[1] - 250 && alpha7 >= 0 && state >= 8 && alpha7_b > 0 && state != 10) {
        y7--;
        alpha7 -= 1.275;
        alpha7_b -= 0.775
    };
    if (y7 > screen_size[1] - 250 && state >= 7 && alpha7 < 255 && alpha7_b < 155 && state != 10) {
        y7 -= 0.25;
        alpha7 += 1.275;
        alpha7_b += 0.775
    };
    if (state >= 1) {
        width = 310;
        font = Render.AddFont('Verdana', 10, 800);
        Render.FilledRect((screen_size[0] / 2) - width / 2, y, width, 30, [0, 0, 0, alpha_b]);
        Render.GradientRect((screen_size[0] / 2) - width / 2, y - 3, 310, 3, 0, [104, 106, 128, alpha], [5, 30, 110, alpha]);
        Render.StringCustom((screen_size[0] / 2) - (width / 2) + 50, y + 9, 0, '[+]', [46, 246, 53, alpha], font);
        Render.StringCustom((screen_size[0] / 2) - (width / 2) + 80, y + 9, 0, 'Connecting to the server...', [255, 255, 255, alpha], font);
        Render.String((screen_size[0] / 2) - (width / 2) + 20, y + 10, 0, '#', [255, 255, 255, alpha], 5)
    };
    if (state >= 2 && state < 4) {
        font = Render.AddFont('Verdana', 10, 800);
        Render.FilledRect((screen_size[0] / 2) - 170, y1, 340, 30, [0, 0, 0, alpha1_b]);
        Render.GradientRect((screen_size[0] / 2) - 170, y1 - 3, 340, 3, 0, [104, 106, 128, alpha1], [5, 30, 110, alpha1]);
        Render.StringCustom((screen_size[0] / 2) - 120, y1 + 9, 0, '[+]', [46, 246, 53, alpha1], font);
        Render.StringCustom((screen_size[0] / 2) - 90, y1 + 9, 0, 'Authorization from remote host...', [255, 255, 255, alpha1], font);
        Render.String((screen_size[0] / 2) - 150, y1 + 10, 0, '#', [255, 255, 255, alpha1], 5)
    };
    if (state >= 3 && state < 7) {
        font = Render.AddFont('Verdana', 10, 800);
        Render.FilledRect((screen_size[0] / 2) - 200, y2, 380, 30, [0, 0, 0, alpha2_b]);
        Render.GradientRect((screen_size[0] / 2) - 200, y2 - 3, 380, 3, 0, [104, 106, 128, alpha2], [5, 30, 110, alpha2]);
        Render.StringCustom((screen_size[0] / 2) - 150, y2 + 9, 0, '[!]', [246, 146, 46, alpha2], font);
        Render.StringCustom((screen_size[0] / 2) - 120, y2 + 9, 0, 'Receiving information from the server...', [255, 255, 255, alpha2], font);
        Render.String((screen_size[0] / 2) - 180, y2 + 10, 0, '#', [255, 255, 255, alpha2], 5)
    };
    if (state >= 4 && _0xf303x62 && state <= 5) {
        font = Render.AddFont('Verdana', 7, 800);
        Render.FilledRect((screen_size[0] / 2) - 275, y3, 550, 30, [0, 0, 0, alpha3_b]);
        Render.GradientRect((screen_size[0] / 2) - 275, y3 - 3, 550, 3, 0, [104, 106, 128, alpha3], [5, 30, 110, alpha3]);
        Render.StringCustom((screen_size[0] / 2) - 225, y3 + 9, 0, '[+]', [46, 246, 53, alpha3], font);
        Render.StringCustom((screen_size[0] / 2) - 205, y3 + 9, 0, ' Successfully loaded: CJladkycord | [v1.0] [beta] | Last Update 05.02.2021', [255, 255, 255, alpha3], font);
        Render.String((screen_size[0] / 2) - 255, y3 + 8, 0, '!', [255, 255, 255, alpha3], 5)
    };
    if (state >= 7 && _0xf303x62) {
        font = Render.AddFont('Verdana', 10, 800);
        var _0xf303x63 = (username['length'] * 10) + 390;
        Render.FilledRect((screen_size[0] / 2) - 245, y4, _0xf303x63, 30, [0, 0, 0, alpha4_b]);
        Render.GradientRect((screen_size[0] / 2) - 245, y4 - 3, _0xf303x63, 3, 0, [104, 106, 128, alpha4], [5, 30, 110, alpha4]);
        Render.StringCustom((screen_size[0] / 2) - 200, y4 + 9, 0, '[>.<]', [246, 224, 23, alpha4], font);
        Render.StringCustom((screen_size[0] / 2) - 155, y4 + 9, 0, 'v1cord has finished setup. Welcome, ' + username + '.', [255, 255, 255, alpha4], font);
        Render.String((screen_size[0] / 2) - 225, y4 + 10, 0, '!', [255, 255, 255, alpha4], 5)
    };
    if (state >= 4 && state < 9 && !_0xf303x62) {
        font = Render.AddFont('Verdana', 10, 800);
        Render.FilledRect((screen_size[0] / 2) - 210, y3, 390, 30, [0, 0, 0, alpha3_b]);
        Render.GradientRect((screen_size[0] / 2) - 210, y3 - 3, 390, 3, 0, [104, 106, 128, alpha3], [5, 30, 110, alpha3]);
        Render.StringCustom((screen_size[0] / 2) - 160, y3 + 9, 0, '[-]', [255, 0, 0, alpha3], font);
        Render.StringCustom((screen_size[0] / 2) - 130, y3 + 9, 0, 'Authorization failed. Closing the game', [255, 255, 255, alpha3], font);
        Render.String((screen_size[0] / 2) - 190, y3 + 9, 0, 'U', [255, 255, 255, alpha3], 5)
    };
    if (state >= 4 && state != 10 && _0xf303x62) {
        CanUse1 = true
    };
    if (state >= 5 && state != 10 && _0xf303x62) {
    };
    if (state >= 6 && state != 10 && _0xf303x62) {
    };
    if (state >= 7 && state != 10 && _0xf303x62) {
    };
    if (Globals.Realtime() > time + 1 && state == 10) {
        Cheat.PrintColor([46, 246, 53, 255], '[+] ');
        Cheat.PrintColor([255, 255, 255, 255], 'Connecting to the server...' + '\x0A');
        time = Globals.Realtime();
        state = 1
    };
    if (Globals.Realtime() > time + 1 && state == 1) {
        Cheat.PrintColor([46, 246, 53, 255], '[+] ');
        Cheat.PrintColor([255, 255, 255, 255], 'Authorization from remote host...' + '\x0A');
        time = Globals.Realtime();
        state = 2
    };
    if (Globals.Realtime() > time + 1 && state == 2) {
        Cheat.PrintColor([246, 146, 46, 255], '[!] ');
        Cheat.PrintColor([255, 255, 255, 255], 'Receiving information from the server...' + '\x0A');
        time = Globals.Realtime();
        state = 3
    };
    if (Globals.Realtime() > time + 1 && state == 3 && _0xf303x62) {
        Cheat.PrintColor([46, 246, 53, 255], '[+] ');
        Cheat.PrintColor([255, 255, 255, 255], 'Successfully loaded: v1cord | [v1.0] [beta] | Last Update 27.09.2020' + '\x0A');
        time = Globals.Realtime();
        state = 4
    };
    if (Globals.Realtime() > time + 1 && state == 4 && _0xf303x62) {
        time = Globals.Realtime();
        state = 5
    };
    if (Globals.Realtime() > time + 1 && state == 3 && !_0xf303x62) {
        Cheat.PrintColor([255, 0, 0, 255], '[-] ');
        Cheat.PrintColor([255, 255, 255, 255], 'Authorization failed. Closing the game' + '\x0A');
        time = Globals.Realtime();
        state = 4
    };
    if (Globals.Realtime() > time + 1 && state == 4 && !_0xf303x62) {
        time = Globals.Realtime();
        state = 5;
        Cheat.ExecuteCommand('quit')
    };
    if (Globals.Realtime() > time + 0.1 && state == 8 && _0xf303x62) {
        time = Globals.Realtime();
        state = 9
    };
    if (Globals.Realtime() > time + 1 && state == 8 && _0xf303x62) {
        time = Globals.Realtime();
        state = 9
    };
    if (Globals.Realtime() > time + 1 && state == 7 && _0xf303x62) {
        Cheat.PrintColor([246, 224, 23, 255], '[>.<]');
        Cheat.PrintColor([255, 255, 255, 255], ' v1cord has finished loaded. Welcome, ' + username + '\x0A');
        time = Globals.Realtime();
        state = 8
    };
    if (Globals.Realtime() > time + 1 && state == 5 && _0xf303x62) {
        time = Globals.Realtime();
        state = 6
    };
    if (Globals.Realtime() > time + 1 && state == 6 && _0xf303x62) {
        time = Globals.Realtime();
        state = 7
    }
}

Cheat.RegisterCallback('Draw', 'authorization');

UI.AddLabel("----------CJIadkyCord----------");

UI.AddLabel(" ");
UI.AddLabel("thank you for buying =)");
UI.AddLabel(" ");

var hitboxes_caches = [UI.GetValue("Rage", "GENERAL", "Targeting", "Hitboxes"), UI.GetValue("Rage", "PISTOL", "Targeting", "Hitboxes"), UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Hitboxes"), UI.GetValue("Rage", "SCOUT", "Targeting", "Hitboxes"), UI.GetValue("Rage", "AWP", "Targeting", "Hitboxes"), UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Hitboxes")];
var multi_hitboxes_caches = [UI.GetValue("Rage", "GENERAL", "Targeting", "Multipoint hitboxes"), UI.GetValue("Rage", "PISTOL", "Targeting", "Multipoint hitboxes"), UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Multipoint hitboxes"), UI.GetValue("Rage", "SCOUT", "Targeting", "Multipoint hitboxes"), UI.GetValue("Rage", "AWP", "Targeting", "Multipoint hitboxes"), UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Multipoint hitboxes")];

var dmg_caches = [UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage"), UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage"), UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage"), UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")];


UI.AddLabel("---------------RAGE & AA--------------");

//dt
UI.AddCheckbox("CJIadky DT")

function can_shift_shot(ticks_to_shift) {
    var me = Entity.GetLocalPlayer();
    var wpn = Entity.GetWeapon(me);

    if (me == null || wpn == null)
        return false;

    var tickbase = Entity.GetProp(me, "CCSPlayer", "m_nTickBase");
    var curtime = Globals.TickInterval() * (tickbase-ticks_to_shift)

    if (curtime < Entity.GetProp(me, "CCSPlayer", "m_flNextAttack"))
        return false;

    if (curtime < Entity.GetProp(wpn, "CBaseCombatWeapon", "m_flNextPrimaryAttack"))
        return false;

    return true;
}

function _TBC_CREATE_MOVE() {
    var is_charged = Exploit.GetCharge()
    var reserve = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "CJIadky DT")

    Exploit[(is_charged != 1 ? "Enable" : "Disable") + "Recharge"]()

    if (can_shift_shot(14) && is_charged != 1) {
        Exploit.DisableRecharge();
        Exploit.Recharge()
    }

    Exploit.OverrideTolerance(reserve);
    Exploit.OverrideShift(14-reserve);
}

function _TBC_UNLOAD() {
    Exploit.EnableRecharge();
}

Cheat.RegisterCallback("CreateMove", "_TBC_CREATE_MOVE");
Cheat.RegisterCallback("Unload", "_TBC_UNLOAD");
//scoup
function extrapolate(ent , ticks,x,y,z)
{
  var velocity = Entity.GetProp( ent, "CBasePlayer", "m_vecVelocity[0]" );

  var new_pos = [x,y,z];
  new_pos[0] = new_pos[0] + velocity[0] * ticks * Globals.TickInterval();
  new_pos[1] = new_pos[1] + velocity[1] * ticks * Globals.TickInterval();
  new_pos[2] = new_pos[2] + velocity[2] * ticks * Globals.TickInterval();
    return new_pos;
}

function get_proper_eye()
{
  var local = Entity.GetLocalPlayer()
  var duck_amount = Entity.GetProp( local, "CBasePlayer", "m_flDuckAmount" )
  var origin = Entity.GetRenderOrigin(local)
  if(UI.IsHotkeyActive("Anti-Aim","Extra","Fake duck"))
     return [origin[0],origin[1],origin[2] + 46 + 18];
  else
   return Entity.GetEyePosition(local)
}
var delay = 0
function auto_scope()
{
  if(!UI.GetValue("Misc","Predictive autoscope")) return;
  var enemies = Entity.GetEnemies();
  var local = Entity.GetLocalPlayer( );
  if(!Entity.IsAlive(local)) return;
  var eye_pos = get_proper_eye();
  var local_pos = extrapolate(local,15,eye_pos[0],eye_pos[1],eye_pos[2])
  var auto_scope = false;
  for(var i = 0; i < enemies.length;i++)
  {
    var enemy = enemies[i];
    if (!Entity.IsAlive(enemy) || Entity.IsDormant(enemy) || !Entity.IsValid(enemy)) continue;
    var pos = Entity.GetHitboxPosition( enemy, 2 )

    var result = Trace.Bullet(local, enemy , local_pos , pos);
    if(result[1] > 1) // aka damage
    {
      auto_scope = true;
      break;
    }
  }
  var buttons = UserCMD.GetButtons();
  var is_scoped = Entity.GetProp(Entity.GetLocalPlayer(), "CCSPlayer", "m_bIsScoped");
  if(!is_scoped && auto_scope)
        UserCMD.SetButtons(buttons | (1 << 19));

}
UI.AddCheckbox( "Predictive autoscope" );
Cheat.RegisterCallback("CreateMove", "auto_scope");
//legit aa per <key>----------------------------------------
UI.AddHotkey("Legit AA");
UI.AddLabel("");
//dmg render-------------------------------------------
UI.AddLabel("              MIN DAMAGE        ");
UI.AddLabel(" ");
UI.AddHotkey("Heavy Pistol Override")
UI.AddSliderInt("Heavy Pistol Mindmg", 0, 130)
UI.AddHotkey("Scout Override")
UI.AddSliderInt("Scout Mindmg", 0, 130)
UI.AddHotkey("AWP Override")
UI.AddSliderInt("AWP Mindmg", 0, 130)
UI.AddHotkey("Auto Override")
UI.AddSliderInt("Auto Mindmg", 0, 130)

var heavy_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
var scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
var awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
var auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
function isActive(a)
{
    return UI.IsHotkeyActive("Script items", a)
}
function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}
function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}
function isAutoSniper(name)
{
    if(name == "scar 20" || weapon_name == "g3sg1")
    {
        return true
    }
}
function onCM()
{
    heavy_value = UI.GetValue("Script items", "Heavy Pistol Mindmg")
    scout_value = UI.GetValue("Script items", "Scout Mindmg")
    awp_value = UI.GetValue("Script items", "AWP Mindmg")
    auto_value = UI.GetValue("Script items", "Auto Mindmg")
    weapon_name = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    
    if (isActive("Heavy Pistol Override") && isHeavyPistol(weapon_name))
    {
        setValue("HEAVY PISTOL", heavy_value)
    }
    else{
        setValue("HEAVY PISTOL", heavy_cache)
    }
    
    if (isActive("Scout Override") && weapon_name == "ssg 08")
    {
        setValue("SCOUT", scout_value)
    }
    else{
        setValue("SCOUT", scout_cache)
    }

    if (isActive("AWP Override") && weapon_name == "awp")
    {
        setValue("AWP", awp_value)
    }
    else{
        setValue("AWP", awp_cache)
    }

    if (isActive("Auto Override") && isAutoSniper(weapon_name))
    {
        
        setValue("AUTOSNIPER", auto_value)
    }
    else
    {
        setValue("AUTOSNIPER", auto_cache)
    }
    
}
function indicator()
{
    screen = Render.GetScreenSize()
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    x = screen[0]/2
    y = screen[1]/2
    heavy = "DMG: " + UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = "DMG: " + UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = "DMG: " + UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = "DMG: " + UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    var str = ""
    if (UI.GetValue("Script items", "Display indicator") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
    }
    Render.String(x - 120, y, 0, str+"", [255,255,255,255])
}
Cheat.RegisterCallback("Draw", "indicator")
Cheat.RegisterCallback("CreateMove", "onCM")
//anti-aim-----------------------------------------------
var jitter_cache = UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset")
var yaw_cache = UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset")
UI.AddCheckbox("superPuperDELTA");

function superPuperDELTA()
{
    localplayer_index = Entity.GetLocalPlayer( );


        if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "superPuperDELTA") && UI.IsHotkeyActive("Anti-Aim", "Extra", "Slow walk"))
        {
            UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 0);
            UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", 6);
            AntiAim.SetOverride(1);
            AntiAim.SetFakeOffset(0);
            AntiAim.SetRealOffset(-30);
        }
        else
        {
            UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", jitter_cache);
            AntiAim.SetOverride(0);
        }
}

function Main()
{
    Cheat.RegisterCallback("CreateMove", "superPuperDELTA");
}
Main();

UI.AddLabel("-----------------MISC-----------------");
//watermark
function watermark() {
  var enable_wm = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Watermark v1");
  if (!enable_wm) return 0;
  UI.SetValue("Misc", "PERFOMANCE & INFORMATION", "Information", "Watermark v1", false);
  var username = Cheat.GetUsername();
  var today = new Date();
  var hours1 = today.getHours();
  var minutes1 = today.getMinutes();
  var seconds1 = today.getSeconds();
  var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
  var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
  var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds();
  const tickrate = Globals.Tickrate();
  const ping = Math.floor(Global.Latency() * 1000 / 1.5);
  const fontpixel = Render.AddFont("Verdana", 7, 100);



  const screen = Render.GetScreenSize();

  var x = screen[0] - 24 * 6 - username.length * 6;
  var x_watermark = screen[0] - 24 * 6 - username.length * 6;

  const rainbow = [
      Math.floor(Math.sin(Global.Realtime() * 2) * 127 + 128),
      Math.floor(Math.sin(Global.Realtime() * 2 + 2) * 127 + 128),
      Math.floor(Math.sin(Global.Realtime() * 2 + 4) * 127 + 128),
      255
  ];

  var is_rainbow = [210, 54, 227, 255];
  if (UI.GetValue("Script items", "Rainbow watermark")){
    is_rainbow = rainbow;
  }else{
    is_rainbow = [210, 54, 227, 255];
  }

  var string = "CJIadkyCORD [v2] | " + username;

  if (World.GetServerString())
  {
        string += " | " + ping + "ms";
        x -= 40;
        x_watermark -= 40;
  }

  Render.FilledRect(x - 4, 5, x_watermark, 20, [15, 15, 15, 150]);
  Render.FilledRect(x - 4, 5, x_watermark, 2, is_rainbow);
  Render.StringCustom(x - 2, 9, 0, string + " | " + hours + minutes + seconds, [255, 255, 255, 255], fontpixel);


}
Global.RegisterCallback("Draw", "watermark");
//Pizdaboltags
UI.AddDropdown( "PizdabolTAGS", [ "Disabled","fantasense","Gamesense","AIMWARE","SAMOWARE","Neverlose","fatality","nemesis","memesense","Demonality","pandora","X-project","2k17.club","PPHUD","ZeroWare","z0rhack","Echozy.pw","Trapsync","Wayvee","Getze","MidNight","Rifk7","INIURIA","MillionWare","Eternity","BlazeHack","onetap.su","interwebz","LegendWare","Aimfall","DarkSun","BooberHook","XONE","BloodWare","ev0lve.xyz","Nixware.cc","LuckyCharms","CYBERWARE.net","eexomi.host"] );
UI.AddSliderInt( "ClanTag Speed", 1, 10 );
var lasttime = 0;
function onRender( )
{
    var tag = UI.GetValue( "Script Items", "PREMIUM ClanTag" );
    var speed = UI.GetValue( "Script Items", "ClanTag Speed" );
    var time = parseInt((Globals.Curtime() * speed))
    if (time != lasttime)
    {
        if(tag == 0) { Local.SetClanTag(); }
        if(tag == 1)
            {
            switch((time) % 27)
            {
                case 1: { Local.SetClanTag(""); break; }
                case 2: { Local.SetClanTag("f"); break; }
                case 3: { Local.SetClanTag("fa"); break; }
                case 4: { Local.SetClanTag("fan"); break; }
                case 5: { Local.SetClanTag("fant"); break; }
                case 6: { Local.SetClanTag("fanta"); break; }
                case 7: { Local.SetClanTag("fanta"); break; }
                case 8: { Local.SetClanTag("fanta"); break; }
				case 9: { Local.SetClanTag("fanta"); break; }
                case 10:{ Local.SetClanTag("fantas"); break; }
                case 11:{ Local.SetClanTag("fantase"); break; }
                case 12:{ Local.SetClanTag("fantasen"); break; }
                case 13:{ Local.SetClanTag("fantasens"); break; }
                case 14:{ Local.SetClanTag("fantasense"); break; }
                case 15:{ Local.SetClanTag("fantasense"); break; }
				case 16:{ Local.SetClanTag("fantasens"); break; }
                case 17:{ Local.SetClanTag("fantasen"); break; }
                case 18:{ Local.SetClanTag("fantase"); break; }
                case 19:{ Local.SetClanTag("fantas"); break; }
                case 20:{ Local.SetClanTag("fanta"); break; }
				case 21:{ Local.SetClanTag("fanta"); break; }
				case 22:{ Local.SetClanTag("fanta"); break; }
                case 23:{ Local.SetClanTag("fant"); break; }
                case 24:{ Local.SetClanTag("fan"); break; }
                case 25:{ Local.SetClanTag("fa"); break; }
                case 26:{ Local.SetClanTag("f"); break; }
				case 27:{ Local.SetClanTag(""); break; }
            }
        }
		if(tag == 2)
           {
			 switch((time) % 27)
           {
			case 0: { Local.SetClanTag("                  "); break; }
            case 1: { Local.SetClanTag("                 g"); break; }
            case 2: { Local.SetClanTag("                ga"); break; }
            case 3: { Local.SetClanTag("               gam"); break; }
            case 4: { Local.SetClanTag("              game"); break; }
            case 5: { Local.SetClanTag("             games"); break; }
            case 6: { Local.SetClanTag("            gamese"); break; }
            case 7: { Local.SetClanTag("           gamesen"); break; }
            case 8: { Local.SetClanTag("          gamesens"); break; }
            case 9: { Local.SetClanTag("         gamesense"); break; }
            case 10:{ Local.SetClanTag("        gamesense "); break; }
            case 11:{ Local.SetClanTag("       gamesense  "); break; }
            case 12:{ Local.SetClanTag("      gamesense   "); break; }
            case 13:{ Local.SetClanTag("     gamesense    "); break; }
            case 14:{ Local.SetClanTag("    gamesense     "); break; }
            case 15:{ Local.SetClanTag("   gamesense      "); break; }
            case 16:{ Local.SetClanTag("  gamesense       "); break; }
            case 17:{ Local.SetClanTag(" gamesense        "); break; }
            case 18:{ Local.SetClanTag("gamesense         "); break; }
			case 19:{ Local.SetClanTag("amesense          "); break; }
            case 20:{ Local.SetClanTag("mesense           "); break; }
			case 21:{ Local.SetClanTag("esense            "); break; }
			case 22:{ Local.SetClanTag("sense             "); break; }
			case 23:{ Local.SetClanTag("sens              "); break; }
			case 24:{ Local.SetClanTag("sen               "); break; }
			case 25:{ Local.SetClanTag("se                "); break; }
			case 26:{ Local.SetClanTag("s                 "); break; }
			case 27:{ Local.SetClanTag("                  "); break; }
            
 
            }
        }
		if(tag == 3)
           {
			 switch((time) % 12)
           {
			
            case 1:{  Local.SetClanTag("AIMWARE.net"); break;  }
            case 2:{  Local.SetClanTag("t AIMWARE.ne"); break; }
            case 3:{  Local.SetClanTag("et AIMWARE.n"); break; }
			case 4:{  Local.SetClanTag(".net AIMWARE"); break; }
            case 5:{  Local.SetClanTag("E.net AIMWAR"); break; }
            case 6:{  Local.SetClanTag("RE.net AIMWA"); break; }
            case 7:{  Local.SetClanTag("ARE.net	AIMW"); break; }
            case 8:{  Local.SetClanTag("WARE.net AIM"); break; }
            case 9:{  Local.SetClanTag("MWARE.net AI"); break; }
            case 10:{ Local.SetClanTag("IMWARE.net A"); break; }
            case 11:{ Local.SetClanTag("AIMWARE.net"); break;  }
			case 12:{ Local.SetClanTag("AIMWARE.net"); break;  }
            
            
 
            }
        }
		if (tag == 4) {
            switch ((time) % 79) {
                case 1: { Local.SetClanTag("  "); break; }
                case 2: { Local.SetClanTag(" _ _ "); break; }
                case 3: { Local.SetClanTag(" +▂ ▂+ "); break; }
                case 4: { Local.SetClanTag(" ▁† †▁ "); break; }
                case 5: { Local.SetClanTag(" ▁☮ ☮▁ "); break; }
                case 6: { Local.SetClanTag(" ▂↕ ↕▂ "); break; }
                case 7: { Local.SetClanTag(" ▂ ▂ "); break; }
                case 8: { Local.SetClanTag(" ▃〠 〠▃ "); break; }
                case 9: { Local.SetClanTag(" 卐卐 "); break; }
                case 10: { Local.SetClanTag(" 卐|卐 "); break; }
                case 11: { Local.SetClanTag(" 卐|\卐 "); break; }
                case 12: { Local.SetClanTag(" 卐|\\卐 "); break; }
                case 13: { Local.SetClanTag(" 卐|\\|卐 "); break; }
                case 14: { Local.SetClanTag(" 卐S卐 "); break; }
                case 15: { Local.SetClanTag(" 卐S\卐 "); break; }
                case 16: { Local.SetClanTag(" 卐S\|卐 "); break; }
                case 17: { Local.SetClanTag(" 卐S\|/卐 "); break; }
                case 18: { Local.SetClanTag(" 卐SA卐 "); break; }
                case 19: { Local.SetClanTag(" 卐SA(卐 "); break; }
                case 20: { Local.SetClanTag(" 卐SA(_卐 "); break; }
                case 21: { Local.SetClanTag(" 卐SA(_)卐 "); break; }
                case 22: { Local.SetClanTag(" 卐SAM卐 "); break; }
                case 23: { Local.SetClanTag(" 卐SAM5卐 "); break; }
                case 24: { Local.SetClanTag(" 卐SAMO/卐 "); break; }
                case 25: { Local.SetClanTag(" 卐SAMO/\卐 "); break; }
                case 26: { Local.SetClanTag(" 卐SAMO/\|卐 "); break; }
                case 27: { Local.SetClanTag(" 卐SAMO/\|/卐 "); break; }
                case 28: { Local.SetClanTag(" 卐SAMO/\|/\卐 "); break; }
                case 29: { Local.SetClanTag(" 卐SAMOW卐 "); break; }
                case 30: { Local.SetClanTag(" 卐SAMOW3卐 "); break; }
                case 31: { Local.SetClanTag(" 卐SAMOWA卐 "); break; }
                case 32: { Local.SetClanTag(" 卐SAMOWA|卐 "); break; }
                case 33: { Local.SetClanTag(" 卐SAMOWA|_卐 "); break; }
                case 34: { Local.SetClanTag(" 卐SAMOWAR卐 "); break; }
                case 35: { Local.SetClanTag(" 卐SAMOWAR|卐 "); break; }
                case 36: { Local.SetClanTag(" 卐SAMOWAR|1卐 "); break; }
                case 37: { Local.SetClanTag(" 卐SAMOWAR|1|卐 "); break; }
                case 38: { Local.SetClanTag(" 卐SAMOWARE卐 "); break; }
                case 39: { Local.SetClanTag(" ✖SAMOWARE✖ "); break; }
                case 40: { Local.SetClanTag(" ❤SAMOWARE❤ "); break; }
                case 41: { Local.SetClanTag(" †SAMOWARE† "); break; }
                case 42: { Local.SetClanTag(" 卐|\\|AMOWARE卐 "); break; }
                case 43: { Local.SetClanTag(" 卐|\\AMOWARE卐 "); break; }
                case 44: { Local.SetClanTag(" 卐|\AMOWARE卐 "); break; }
                case 45: { Local.SetClanTag(" 卐|AMOWARE卐 "); break; }
                case 46: { Local.SetClanTag(" 卐AMOWARE卐 "); break; }
                case 47: { Local.SetClanTag(" 卐\|/MOWARE卐 "); break; }
                case 48: { Local.SetClanTag(" 卐\|MOWARE卐 "); break; }
                case 49: { Local.SetClanTag(" 卐\MOWARE卐 "); break; }
                case 50: { Local.SetClanTag(" 卐MOWARE卐 "); break; }
                case 51: { Local.SetClanTag(" 卐(_)OWARE卐 "); break; }
                case 52: { Local.SetClanTag(" 卐(_OWARE卐 "); break; }
                case 53: { Local.SetClanTag(" 卐(OWARE卐 "); break; }
                case 54: { Local.SetClanTag(" 卐OWARE卐 "); break; }
                case 55: { Local.SetClanTag(" 卐5WARE卐 "); break; }
                case 56: { Local.SetClanTag(" 卐WARE卐 "); break; }
                case 57: { Local.SetClanTag(" 卐/\|/\ARE卐 "); break; }
                case 58: { Local.SetClanTag(" 卐/\|/ARE卐 "); break; }
                case 59: { Local.SetClanTag(" 卐/\|ARE卐 "); break; }
                case 60: { Local.SetClanTag(" 卐/\ARE卐 "); break; }
                case 61: { Local.SetClanTag(" 卐/ARE卐 "); break; }
                case 62: { Local.SetClanTag(" 卐ARE卐 "); break; }
                case 63: { Local.SetClanTag(" 卐3RE卐  "); break; }
                case 64: { Local.SetClanTag(" 卐RE卐 "); break; }
                case 65: { Local.SetClanTag(" 卐|_E卐 "); break; }
                case 66: { Local.SetClanTag(" 卐|E卐 "); break; }
                case 67: { Local.SetClanTag(" 卐E卐 "); break; }
                case 68: { Local.SetClanTag(" 卐|1|卐 "); break; }
                case 69: { Local.SetClanTag(" 卐|1卐 "); break; }
                case 70: { Local.SetClanTag(" 卐|卐 "); break; }
                case 71: { Local.SetClanTag(" 卐卐 "); break; }
                case 72: { Local.SetClanTag(" ▃〠 〠▃ "); break; }
                case 73: { Local.SetClanTag(" ▂ ▂ "); break; }
                case 74: { Local.SetClanTag(" ▂↕ ↕▂ "); break; }
                case 75: { Local.SetClanTag(" ▁☮ ☮▁ "); break; }
                case 76: { Local.SetClanTag(" ▁† †▁ "); break; }
                case 77: { Local.SetClanTag(" +▂ ▂+ "); break; }
                case 78: { Local.SetClanTag(" _ _ "); break; }
                case 79: { Local.SetClanTag("  "); break; }
            }
        }
		if(tag == 5)
            {
            switch((time) % 53)
            {
                case 1: { Local.SetClanTag("  "); break; }
                case 2: { Local.SetClanTag(" | "); break; }
                case 3: { Local.SetClanTag(" |\\ "); break; }
                case 4: { Local.SetClanTag(" |\\| "); break; }
                case 5: { Local.SetClanTag(" N "); break; }
                case 6: { Local.SetClanTag(" N3 "); break; }
                case 7: { Local.SetClanTag(" Ne "); break; }
                case 8: { Local.SetClanTag(" Ne\\ "); break; }
                case 9: { Local.SetClanTag(" Ne\\/ "); break; }
                case 10: { Local.SetClanTag(" Nev "); break; }
                case 11: { Local.SetClanTag(" Nev3 "); break; }
                case 12: { Local.SetClanTag(" Neve "); break; }
                case 13: { Local.SetClanTag(" Neve| "); break; }
                case 14: { Local.SetClanTag(" Neve|2 "); break; }
                case 15: { Local.SetClanTag(" Never|_ "); break; }
                case 16: { Local.SetClanTag(" Neverl "); break; }
                case 17: { Local.SetClanTag(" Neverl0 "); break; }
                case 18: { Local.SetClanTag(" Neverlo "); break; }
                case 19: { Local.SetClanTag(" Neverlo5 "); break; }
                case 20: { Local.SetClanTag(" Neverlos "); break; }
                case 21: { Local.SetClanTag(" Neverlos3 "); break; }
                case 22: { Local.SetClanTag(" Neverlose "); break; }
                case 23: { Local.SetClanTag(" Neverlose. "); break; }
                case 24: { Local.SetClanTag(" Neverlose.< "); break; }
                case 25: { Local.SetClanTag(" Neverlose.c< "); break; }
                case 26: { Local.SetClanTag(" Neverlose.cc "); break; }
                case 27: { Local.SetClanTag(" Neverlose.cc "); break; }
                case 28: { Local.SetClanTag(" Neverlose.c< "); break; }
                case 29: { Local.SetClanTag(" Neverlose.< "); break; }
                case 30: { Local.SetClanTag(" Neverlose. "); break; }
                case 31: { Local.SetClanTag(" Neverlose "); break; }
                case 32: { Local.SetClanTag(" Neverlos3 "); break; }
                case 33: { Local.SetClanTag(" Neverlos "); break; }
                case 34: { Local.SetClanTag(" Neverlo5 "); break; }
                case 35: { Local.SetClanTag(" Neverlo "); break; }
                case 36: { Local.SetClanTag(" Neverl0 "); break; }
                case 37: { Local.SetClanTag(" Neverl "); break; }
                case 38: { Local.SetClanTag(" Never|_ "); break; }
                case 39: { Local.SetClanTag(" Never|2 "); break; }
                case 40: { Local.SetClanTag(" Neve|2 "); break; }
                case 41: { Local.SetClanTag(" Neve| "); break; }
                case 42: { Local.SetClanTag(" Neve "); break; }
                case 43: { Local.SetClanTag(" Nev3 "); break; }
                case 44: { Local.SetClanTag(" Nev "); break; }
                case 45: { Local.SetClanTag(" Ne\\/ "); break; }
                case 46: { Local.SetClanTag(" Ne\\ "); break; }
                case 47: { Local.SetClanTag(" Ne "); break; }
                case 48: { Local.SetClanTag(" N3 "); break; }
                case 49: { Local.SetClanTag(" N "); break; }
                case 50: { Local.SetClanTag(" |\\| "); break; }
                case 51: { Local.SetClanTag(" |\\ "); break; }
                case 52: { Local.SetClanTag(" | "); break; }
                case 53: { Local.SetClanTag("  "); break; }
           
           
            }
        }
		if(tag == 6)
            {
            switch((time) % 22)
            {
                case 1: { Local.SetClanTag(""); break; }
                case 2: { Local.SetClanTag("f"); break; }
                case 3: { Local.SetClanTag("fa"); break; }
                case 4: { Local.SetClanTag("fat	"); break; }
                case 5: { Local.SetClanTag("fata"); break; }
                case 6: { Local.SetClanTag("fatal"); break; }
                case 7: { Local.SetClanTag("fatali"); break; }
                case 8:	{ Local.SetClanTag("fatalit"); break; }
				case 9:	{ Local.SetClanTag("fatality"); break; }
                case 10:{ Local.SetClanTag("fatality.w"); break; }
                case 11:{ Local.SetClanTag("fatality.wi"); break; }
                case 12:{ Local.SetClanTag("fatality.win"); break; }
                case 13:{ Local.SetClanTag("fatality.wi"); break; }
                case 14:{ Local.SetClanTag("fatality.w"); break; }
                case 15:{ Local.SetClanTag("fatality"); break; }
				case 16:{ Local.SetClanTag("fatalit"); break; }
                case 17:{ Local.SetClanTag("fatali"); break; }
                case 18:{ Local.SetClanTag("fatal"); break; }
                case 19:{ Local.SetClanTag("fata"); break; }
                case 20:{ Local.SetClanTag("fat"); break; }
				case 21:{ Local.SetClanTag("fa"); break; }
				case 22:{ Local.SetClanTag("f"); break; }
                
            }
        }
		if(tag == 7)
            {
            switch((time) % 3)
            {
                case 1: { Local.SetClanTag("nemesis"); break; }
                case 2: { Local.SetClanTag("n3m3sis"); break; }
            }
        }
		if(tag == 8)
            {
            switch((time) % 27)
            {
            case 0: { Local.SetClanTag("                  "); break; }
            case 1: { Local.SetClanTag("                 m"); break; }
            case 2: { Local.SetClanTag("                me"); break; }
            case 3: { Local.SetClanTag("               mem"); break; }
            case 4: { Local.SetClanTag("              meme"); break; }
            case 5: { Local.SetClanTag("             memes"); break; }
            case 6: { Local.SetClanTag("            memese"); break; }
            case 7: { Local.SetClanTag("           memesen"); break; }
            case 8: { Local.SetClanTag("          memesens"); break; }
            case 9: { Local.SetClanTag("         memesense"); break; }
            case 10:{ Local.SetClanTag("        memesense "); break; }
            case 11:{ Local.SetClanTag("       memesense  "); break; }
            case 12:{ Local.SetClanTag("      memesense   "); break; }
            case 13:{ Local.SetClanTag("     memesense    "); break; }
            case 14:{ Local.SetClanTag("    memesense     "); break; }
            case 15:{ Local.SetClanTag("   memesense      "); break; }
            case 16:{ Local.SetClanTag("  memesense       "); break; }
            case 17:{ Local.SetClanTag(" memesense        "); break; }
            case 18:{ Local.SetClanTag("memesense         "); break; }
			case 19:{ Local.SetClanTag("emesense          "); break; }
            case 20:{ Local.SetClanTag("mesense           "); break; }
			case 21:{ Local.SetClanTag("esense            "); break; }
			case 22:{ Local.SetClanTag("sense             "); break; }
			case 23:{ Local.SetClanTag("sens              "); break; }
			case 24:{ Local.SetClanTag("sen               "); break; }
			case 25:{ Local.SetClanTag("se                "); break; }
			case 26:{ Local.SetClanTag("s                 "); break; }
			case 27:{ Local.SetClanTag("                  "); break; }
            }
        }
		if(tag == 9)
            {
            switch((time) % 26)
            {
            case 0: { Local.SetClanTag("Demonality.win"); break; }
            case 1: { Local.SetClanTag("Demonality.wi"); break; }
            case 2: { Local.SetClanTag("Demonality.w"); break; }
			case 3: { Local.SetClanTag("Demonality"); break; }
            case 4: { Local.SetClanTag("Demonality.p"); break; }
            case 5: { Local.SetClanTag("Demonality.pw"); break; }
            case 6: { Local.SetClanTag("Demonality.p"); break; }
            case 7: { Local.SetClanTag("Demonality"); break; }
            case 8: { Local.SetClanTag("Demonality.c"); break; }
            case 9: { Local.SetClanTag("Demonality.cc"); break; }
            case 10:{ Local.SetClanTag("Demonality.c"); break; }
            case 11:{ Local.SetClanTag("Demonality"); break; }
			case 12:{ Local.SetClanTag("Demonality.c"); break; }
			case 13:{ Local.SetClanTag("Demonality.co"); break; }
            case 14:{ Local.SetClanTag("Demonality.com"); break; }
            case 15:{ Local.SetClanTag("Demonality.co"); break; }
            case 16:{ Local.SetClanTag("Demonality.c"); break; }
			case 17:{ Local.SetClanTag("Demonality"); break; }
            case 18:{ Local.SetClanTag("Demonality.r"); break; }
            case 19:{ Local.SetClanTag("Demonality.ru"); break; }
            case 20:{ Local.SetClanTag("Demonality.r"); break; }
            case 21:{ Local.SetClanTag("Demonality"); break; }
            case 22:{ Local.SetClanTag("Demonality.w"); break; } 
            case 23:{ Local.SetClanTag("Demonality.wi"); break; }
            case 24:{ Local.SetClanTag("Demonality.win"); break; } 
			case 25:{ Local.SetClanTag("Demonality.win"); break; } 
			case 26:{ Local.SetClanTag("Demonality.win"); break; } 
			
			}
        }
		if(tag == 10)
            {
            switch((time) % 9)
            {
				case 1: { Local.SetClanTag("pandora"); break; }
                case 2: { Local.SetClanTag("_andor_"); break; }
                case 3: { Local.SetClanTag("__ndo__"); break; }
                case 4: { Local.SetClanTag("___d___"); break; }
                case 5: { Local.SetClanTag("_______"); break; }
                case 6: { Local.SetClanTag("p_____a"); break; }
                case 7: { Local.SetClanTag("pa___ra"); break; }
                case 8: { Local.SetClanTag("pan_ora"); break; }
                case 9: { Local.SetClanTag("pandora"); break; }            
			}
        }
		if(tag == 11)
            {
            switch((time) % 21)
            {
			case 1: { Local.SetClanTag("X-project"); break; }
            case 2: { Local.SetClanTag(".X-projec"); break; }
			case 3: { Local.SetClanTag("..X-proje"); break; }
            case 4: { Local.SetClanTag("...X-proj"); break; }
            case 5: { Local.SetClanTag("....X-pro"); break; }
            case 6: { Local.SetClanTag(".....X-pr"); break; }
            case 7: { Local.SetClanTag("......X-p"); break; }
            case 8: { Local.SetClanTag(".......X-"); break; }
            case 9: { Local.SetClanTag("........X"); break; }
            case 10:{ Local.SetClanTag("........."); break; }
            case 11:{ Local.SetClanTag("........X"); break; }
			case 12:{ Local.SetClanTag(".......X-"); break; }
			case 13:{ Local.SetClanTag("......X-p"); break; }
            case 14:{ Local.SetClanTag(".....X-pr"); break; }
            case 15:{ Local.SetClanTag("....X-pro"); break; }
            case 16:{ Local.SetClanTag("...X-proj"); break; }
			case 17:{ Local.SetClanTag("..X-proje"); break; }
            case 18:{ Local.SetClanTag(".X-projec"); break; }
            case 19:{ Local.SetClanTag("X-project"); break; }	
			case 20:{ Local.SetClanTag("X-project"); break; }	
			case 21:{ Local.SetClanTag("X-project"); break; }	
			}
        }
	
	    if(tag == 12)
            {
            switch((time) % 11)
            {
				case 1: { Local.SetClanTag("2k17.club"); break; }
                case 2: { Local.SetClanTag(" k17.clu "); break; }
                case 3: { Local.SetClanTag("  17.cl  "); break; }
                case 4: { Local.SetClanTag("   7.c   "); break; }
                case 5: { Local.SetClanTag("    .    "); break; }
                case 6: { Local.SetClanTag("         "); break; }
                case 7: { Local.SetClanTag("    .    "); break; }
                case 8: { Local.SetClanTag("   7.c   "); break; }
                case 9: { Local.SetClanTag("  17.cl  "); break; }            
				case 10:{ Local.SetClanTag(" k17.clu "); break; }
				case 11:{ Local.SetClanTag("2k17.club"); break; }
			
			}
        }
	
	
		if (tag == 13) {
			switch ((time) % 22) {
                case 1: { Local.SetClanTag(" \\ "); break; }
                case 2: { Local.SetClanTag(" P\\ "); break; }
                case 3: { Local.SetClanTag(" PP\\ "); break; }
                case 4: { Local.SetClanTag(" PPH\\ "); break; }
                case 5: { Local.SetClanTag(" PPHU\\ "); break; }
                case 6: { Local.SetClanTag(" PPHUD\\ "); break; }
                case 7: { Local.SetClanTag(" PPHUD B\\ "); break; }
                case 8: { Local.SetClanTag(" PPHUD Be\\ "); break; }
                case 9: { Local.SetClanTag(" PPHUD Bet\\ "); break; }
                case 10:{ Local.SetClanTag(" PPHUD Beta\\ "); break; }
                case 11:{ Local.SetClanTag(" PPHUD Beta \\"); break; }
                case 12:{ Local.SetClanTag(" PPHUD Beta /"); break; }
                case 13:{ Local.SetClanTag(" PPHUD Bet/ "); break; }
                case 14:{ Local.SetClanTag(" PPHUD Be/ "); break; }
                case 15:{ Local.SetClanTag(" PPHUD B/ "); break; }
                case 16:{ Local.SetClanTag(" PPHUD/ "); break; }
                case 17:{ Local.SetClanTag(" PPHU/ "); break; }
                case 18:{ Local.SetClanTag(" PPH/ "); break; }
                case 19:{ Local.SetClanTag(" PP/ "); break; }
                case 20:{ Local.SetClanTag(" P/ "); break; }
                case 21:{ Local.SetClanTag(" / "); break; }
				case 22:{ Local.SetClanTag(" \\ "); break; }
			}
        }
	
		if (tag == 14) {
			switch ((time) % 19) {
            
			case 1: { Local.SetClanTag("ZeroWare"); break; }
            case 2: { Local.SetClanTag("2eroWare"); break; }
			case 3: { Local.SetClanTag("Z3roWare"); break; }
            case 4: { Local.SetClanTag("Ze7oWare"); break; }
            case 5: { Local.SetClanTag("Zer0Ware"); break; }
            case 6: { Local.SetClanTag("Zero\\|/are"); break; }
            case 7: { Local.SetClanTag("ZeroW@re"); break; }
            case 8: { Local.SetClanTag("ZeroWa7e"); break; }
            case 9: { Local.SetClanTag("ZeroWar3"); break; }
            case 10:{ Local.SetClanTag("ZeroWare"); break; }
            case 11:{ Local.SetClanTag("ZeroWar3"); break; }
			case 12:{ Local.SetClanTag("ZeroWa7e"); break; }
			case 13:{ Local.SetClanTag("ZeroW@re"); break; }
            case 14:{ Local.SetClanTag("Zero\\|/are"); break; }
            case 15:{ Local.SetClanTag("Zer0Ware"); break; }
            case 16:{ Local.SetClanTag("Ze7oWare"); break; }
			case 17:{ Local.SetClanTag("Z3roWare"); break; }
            case 18:{ Local.SetClanTag("2eroWare"); break; }
			case 19:{ Local.SetClanTag("ZeroWare"); break; }
			
			}
        }
		if (tag == 15) {
			switch ((time) % 21) {
            case 1: { Local.SetClanTag(""); break; }
			case 2: { Local.SetClanTag("z"); break; }
            case 3: { Local.SetClanTag("z0"); break; }
            case 4: { Local.SetClanTag("z0r"); break; }
            case 5: { Local.SetClanTag("z0rh"); break; }
            case 6: { Local.SetClanTag("z0rha"); break; }
            case 7: { Local.SetClanTag("z0rhac"); break; }
            case 8: { Local.SetClanTag("z0rhack"); break; }
            case 9: { Local.SetClanTag("z0rhack.p"); break; }
            case 10:{ Local.SetClanTag("z0rhack.pw"); break; }
			case 11:{ Local.SetClanTag("z0rhack.pw"); break; }
			case 12:{ Local.SetClanTag("z0rhack.p"); break; }
            case 13:{ Local.SetClanTag("z0rhack."); break; }
            case 14:{ Local.SetClanTag("z0rhack"); break; }
            case 15:{ Local.SetClanTag("z0rhac"); break; }
			case 16:{ Local.SetClanTag("z0rha"); break; }
            case 17:{ Local.SetClanTag("z0rh"); break; }
            case 18:{ Local.SetClanTag("z0r"); break; }
            case 19:{ Local.SetClanTag("z0"); break; }
			case 20:{ Local.SetClanTag("z"); break; }
			case 21:{ Local.SetClanTag(""); break; }
			}
        }
		if (tag == 16) {
			switch ((time) % 19) {
            
            case 1: { Local.SetClanTag("(e)"); break; }
			case 2: { Local.SetClanTag("(ec)"); break; }
            case 3: { Local.SetClanTag("(ech)"); break; }
            case 4: { Local.SetClanTag("(echo)"); break; }
            case 5: { Local.SetClanTag("(echoz)"); break; }
            case 6: { Local.SetClanTag("(echozy)"); break; }
            case 7: { Local.SetClanTag("(echozy.)"); break; }
            case 8: { Local.SetClanTag("(echozy.p)"); break; }
            case 9: { Local.SetClanTag("(echozy.pw)"); break; }
            case 10:{ Local.SetClanTag("(echozy.pw)"); break; }
			case 11:{ Local.SetClanTag("(echozy.pw)"); break; }
			case 12:{ Local.SetClanTag("(echozy.p)"); break; }
            case 13:{ Local.SetClanTag("(echozy.)"); break; }
            case 14:{ Local.SetClanTag("(echozy)"); break; }
            case 15:{ Local.SetClanTag("(echoz)"); break; }
			case 16:{ Local.SetClanTag("(echo)"); break; }
            case 17:{ Local.SetClanTag("(ech)"); break; }
            case 18:{ Local.SetClanTag("(ec)"); break; }
            case 19:{ Local.SetClanTag("(e)"); break; }
			}
        }
		if (tag == 17) {
			switch ((time) % 27) {
            case 1: { Local.SetClanTag("TrapSync"); break; }
            case 2: { Local.SetClanTag("TraSync "); break; }
			case 3: { Local.SetClanTag("TrSync  "); break; }
            case 4: { Local.SetClanTag("TSync   "); break; }
            case 5: { Local.SetClanTag("Sync    "); break; }
            case 6: { Local.SetClanTag("BSync	"); break; }
            case 7: { Local.SetClanTag("BoSync	"); break; }
            case 8: { Local.SetClanTag("BoySync	"); break; }
            case 9: { Local.SetClanTag("BoySync	"); break; }
            case 10:{ Local.SetClanTag("BSync	"); break; }
            case 11:{ Local.SetClanTag("BSync	"); break; }
			case 12:{ Local.SetClanTag("Sync	"); break; }
			case 13:{ Local.SetClanTag("GSync	"); break; }
            case 14:{ Local.SetClanTag("GiSync	"); break; }
            case 15:{ Local.SetClanTag("GirSync	"); break; }
            case 16:{ Local.SetClanTag("GirlSync"); break; }
			case 17:{ Local.SetClanTag("Girlsync"); break; }
            case 18:{ Local.SetClanTag("GirSync	"); break; }
            case 19:{ Local.SetClanTag("GiSync	"); break; }
            case 20:{ Local.SetClanTag("GSync	"); break; }
            case 21:{ Local.SetClanTag("Sync	"); break; }
            case 22:{ Local.SetClanTag("TSync	"); break; } 
            case 23:{ Local.SetClanTag("TrSync	"); break; }
            case 24:{ Local.SetClanTag("TraSync	"); break; } 
			case 25:{ Local.SetClanTag("TrapSync"); break; }
			case 26:{ Local.SetClanTag("TrapSync"); break; }
			case 27:{ Local.SetClanTag("TrapSync"); break; }
			}
        }
		
		if (tag == 18) {
			switch ((time) % 10) {
            case 1: { Local.SetClanTag("  WEAVE.SU  "); break; }
            case 2: { Local.SetClanTag("  W3AVE.SU  "); break; }
			case 3: { Local.SetClanTag("  W34VE.SU  "); break; }
            case 4: { Local.SetClanTag("  WE4V3.SU  "); break; }
            case 5: { Local.SetClanTag("  WEAV3.5U  "); break; }
            case 6: { Local.SetClanTag("  W3AV3.5U  "); break; }
            case 7: { Local.SetClanTag("  W34V3.5U  "); break; }
            case 8: { Local.SetClanTag("  &E4VE.SU  "); break; }
            case 9: { Local.SetClanTag("  $E@%^.S+  "); break; }
            case 10:{ Local.SetClanTag("  $!@%^.?;  "); break; }
			}
        }
		if (tag == 19) {
			switch ((time) % 10) {
            case 1: { Local.SetClanTag("getze.us "); break; }
            case 2: { Local.SetClanTag("s getze.u"); break; }
			case 3: { Local.SetClanTag("us getze."); break; }
            case 4: { Local.SetClanTag(".us getze"); break; }
            case 5: { Local.SetClanTag("e.us getz"); break; }
            case 6: { Local.SetClanTag("ze.us get"); break; }
            case 7: { Local.SetClanTag("tze.us ge"); break; }
            case 8: { Local.SetClanTag("etze.us g"); break; }
            case 9: { Local.SetClanTag("getze.us "); break; }
            case 10:{ Local.SetClanTag("getze.us"); break; }
			}
        }
		if (tag == 20) {
			switch ((time) % 67) {
            case 1: { Local.SetClanTag("midnight.im"); break; }
            case 2: { Local.SetClanTag("midnight.i\\"); break; }
			case 3: { Local.SetClanTag("midnight.i|"); break; }
            case 4: { Local.SetClanTag("midnight.i/"); break; }
            case 5: { Local.SetClanTag("midnight.\\"); break; }
            case 6: { Local.SetClanTag("midnight.|"); break; }
            case 7: { Local.SetClanTag("midnight./"); break; }
            case 8: { Local.SetClanTag("midnight\\"); break; }
            case 9: { Local.SetClanTag("midnight|"); break; }
            case 10:{ Local.SetClanTag("midnight/"); break; }
            case 11:{ Local.SetClanTag("midnigh\\"); break; }
			case 12:{ Local.SetClanTag("midnigh|"); break; }
			case 13:{ Local.SetClanTag("midnigh/"); break; }
            case 14:{ Local.SetClanTag("midnig\\"); break; }
            case 15:{ Local.SetClanTag("midnig|"); break; }
            case 16:{ Local.SetClanTag("midnig/"); break; }
			case 17:{ Local.SetClanTag("midni\\"); break; }
            case 18:{ Local.SetClanTag("midni|"); break; }
            case 19:{ Local.SetClanTag("midni/"); break; }
            case 20:{ Local.SetClanTag("midn\\"); break; }
            case 21:{ Local.SetClanTag("midn|"); break; }
            case 22:{ Local.SetClanTag("midn/"); break; } 
            case 23:{ Local.SetClanTag("mid\\"); break; }
            case 24:{ Local.SetClanTag("mid|"); break; } 
			case 25:{ Local.SetClanTag("mid//"); break; } 
			case 26:{ Local.SetClanTag("mi\\"); break; } 
			case 27:{ Local.SetClanTag("mi|"); break; } 
			case 28:{ Local.SetClanTag("mi/"); break; } 
			case 29:{ Local.SetClanTag("m\\"); break; } 
			case 30:{ Local.SetClanTag("m|"); break; } 
			case 31:{ Local.SetClanTag("m/"); break; } 
			case 32:{ Local.SetClanTag("\\"); break; } 
			case 33:{ Local.SetClanTag("|"); break; } 
			case 34:{ Local.SetClanTag("/"); break; } 
			case 35:{ Local.SetClanTag("m\\"); break; } 
			case 36:{ Local.SetClanTag("m|"); break; } 
			case 37:{ Local.SetClanTag("m/"); break; } 
			case 38:{ Local.SetClanTag("mi\\"); break; } 
			case 39:{ Local.SetClanTag("mi|"); break; } 
			case 40:{ Local.SetClanTag("mi/"); break; } 
			case 41:{ Local.SetClanTag("mid\\"); break; } 
			case 42:{ Local.SetClanTag("mid|"); break; } 
			case 43:{ Local.SetClanTag("mid/"); break; } 
			case 44:{ Local.SetClanTag("midn\\"); break; } 
			case 45:{ Local.SetClanTag("midn|"); break; } 
			case 46:{ Local.SetClanTag("midn/"); break; } 
			case 47:{ Local.SetClanTag("midni\\"); break; } 
			case 48:{ Local.SetClanTag("midni|"); break; } 
			case 49:{ Local.SetClanTag("midni/"); break; } 
			case 50:{ Local.SetClanTag("midnig\\"); break; } 
			case 51:{ Local.SetClanTag("midnig|"); break; } 
			case 52:{ Local.SetClanTag("midnig/"); break; } 
			case 53:{ Local.SetClanTag("midnigh\\"); break; } 
			case 54:{ Local.SetClanTag("midnigh|"); break; }
			case 55:{ Local.SetClanTag("midnigh/"); break; }
			case 56:{ Local.SetClanTag("midnight\\"); break; }
			case 57:{ Local.SetClanTag("midnight|"); break; }
			case 58:{ Local.SetClanTag("midnight/"); break; }
			case 59:{ Local.SetClanTag("midnight.\\"); break; }
			case 60:{ Local.SetClanTag("midnight.|"); break; }
			case 61:{ Local.SetClanTag("midnight./"); break; }
			case 62:{ Local.SetClanTag("midnight.i\\"); break; }
			case 63:{ Local.SetClanTag("midnight.i|"); break; }
			case 64:{ Local.SetClanTag("midnight.i/"); break; }
			case 65:{ Local.SetClanTag("midnight.im"); break; }
			case 66:{ Local.SetClanTag("midnight.im"); break; }
			case 67:{ Local.SetClanTag("midnight.im"); break; }
			}
        }
		
		if (tag == 21) {
			switch ((time) % 12) {
            case 1: { Local.SetClanTag("[]"); break; }
            case 2: { Local.SetClanTag("[R]"); break; }
			case 3: { Local.SetClanTag("[Ri]"); break; }
            case 4: { Local.SetClanTag("[Rif]"); break; }
            case 5: { Local.SetClanTag("[Rifk⁷]"); break; }
            case 6: { Local.SetClanTag("[Rifk⁷]"); break; }
            case 7: { Local.SetClanTag("[Rifk⁷]"); break; }
            case 8: { Local.SetClanTag("[Rifk]"); break; }
            case 9: { Local.SetClanTag("[Rif]"); break; }
            case 10:{ Local.SetClanTag("[Ri]"); break; }
            case 11:{ Local.SetClanTag("[R]"); break; }
			case 12:{ Local.SetClanTag("[]"); break; }
			}
        }
	
	if (tag == 22) {
			switch ((time) % 61) {
            case 1: { Local.SetClanTag("......."); break; }
            case 2: { Local.SetClanTag("......I"); break; }
			case 3: { Local.SetClanTag(".....I."); break; }
            case 4: { Local.SetClanTag("....I.."); break; }
            case 5: { Local.SetClanTag("...I..."); break; }
            case 6: { Local.SetClanTag("..I...."); break; }
            case 7: { Local.SetClanTag(".I....."); break; }
            case 8: { Local.SetClanTag("I......"); break; }
            case 9: { Local.SetClanTag("I.....N"); break; }
            case 10:{ Local.SetClanTag("I....N."); break; }
            case 11:{ Local.SetClanTag("I...N.."); break; }
			case 12:{ Local.SetClanTag("I..N..."); break; }
			case 13:{ Local.SetClanTag("I.N...."); break; }
            case 14:{ Local.SetClanTag("IN....."); break; }
            case 15:{ Local.SetClanTag("IN....I"); break; }
            case 16:{ Local.SetClanTag("IN...I."); break; }
			case 17:{ Local.SetClanTag("IN..I.."); break; }
            case 18:{ Local.SetClanTag("IN.I..."); break; }
            case 19:{ Local.SetClanTag("INI...."); break; }
            case 20:{ Local.SetClanTag("INI...."); break; }
            case 21:{ Local.SetClanTag("INI...U"); break; }
            case 22:{ Local.SetClanTag("INI..U."); break; } 
            case 23:{ Local.SetClanTag("INI.U.."); break; }
            case 24:{ Local.SetClanTag("INIU..."); break; } 
			case 25:{ Local.SetClanTag("INIU..."); break; } 
			case 26:{ Local.SetClanTag("INIU..R"); break; } 
			case 27:{ Local.SetClanTag("INIU.R."); break; } 
			case 28:{ Local.SetClanTag("INIUR.."); break; } 
			case 29:{ Local.SetClanTag("INIUR.I"); break; } 
			case 30:{ Local.SetClanTag("INIURI."); break; } 
			case 31:{ Local.SetClanTag("INIURI."); break; } 
			case 32:{ Local.SetClanTag("INIURIA"); break; } 
			case 33:{ Local.SetClanTag("INIURIA"); break; } 
			case 34:{ Local.SetClanTag("INIUR.I"); break; } 
			case 35:{ Local.SetClanTag("INIUR.."); break; } 
			case 36:{ Local.SetClanTag("INIU.R."); break; } 
			case 37:{ Local.SetClanTag("INIU..R"); break; } 
			case 38:{ Local.SetClanTag("INIU..."); break; } 
			case 39:{ Local.SetClanTag("INIU..."); break; } 
			case 40:{ Local.SetClanTag("INI.U.."); break; } 
			case 41:{ Local.SetClanTag("INI..U."); break; } 
			case 42:{ Local.SetClanTag("INI...U"); break; } 
			case 43:{ Local.SetClanTag("IN....."); break; } 
			case 44:{ Local.SetClanTag("IN....."); break; } 
			case 45:{ Local.SetClanTag("I.N...."); break; } 
			case 46:{ Local.SetClanTag("I..N..."); break; } 
			case 47:{ Local.SetClanTag("I...N.."); break; } 
			case 48:{ Local.SetClanTag("I....N."); break; } 
			case 49:{ Local.SetClanTag("I.....N"); break; } 
			case 50:{ Local.SetClanTag("I......"); break; } 
			case 51:{ Local.SetClanTag("I......"); break; } 
			case 52:{ Local.SetClanTag(".I....."); break; } 
			case 53:{ Local.SetClanTag("..I...."); break; } 
			case 54:{ Local.SetClanTag("...I..."); break; }
			case 56:{ Local.SetClanTag("....I.."); break; }
			case 57:{ Local.SetClanTag(".....I."); break; }
			case 58:{ Local.SetClanTag("......I"); break; }
			case 59:{ Local.SetClanTag("......."); break; }
			case 60:{ Local.SetClanTag("......."); break; }
			case 61:{ Local.SetClanTag("......."); break; }
			
			}
        }
	
		if (tag == 23) {
			switch ((time) % 12) {
            case 1: { Local.SetClanTag("$ millionware"); break; }
            case 2: { Local.SetClanTag("$ e millionwar"); break; }
			case 3: { Local.SetClanTag("$ re millionwa"); break; }
            case 4: { Local.SetClanTag("$ are millionw"); break; }
            case 5: { Local.SetClanTag("$ ware million"); break; }
            case 6: { Local.SetClanTag("$ nware millio"); break; }
            case 7: { Local.SetClanTag("$ onware milli"); break; }
            case 8: { Local.SetClanTag("$ ionware mill"); break; }
            case 9: { Local.SetClanTag("$ lionware mil"); break; }
            case 10:{ Local.SetClanTag("$ llionware mi"); break; }
            case 11:{ Local.SetClanTag("$ illionware m"); break; }
			case 12:{ Local.SetClanTag("$ millionware"); break; }
			}
        }
		if (tag == 24) {
			switch ((time) % 25) {
            case 1: { Local.SetClanTag(""); break; }
            case 2: { Local.SetClanTag("E"); break; }
			case 3: { Local.SetClanTag("Et"); break; }
            case 4: { Local.SetClanTag("Ete"); break; }
            case 5: { Local.SetClanTag("Eter"); break; }
            case 6: { Local.SetClanTag("Etern"); break; }
            case 7: { Local.SetClanTag("Eterni"); break; }
            case 8: { Local.SetClanTag("Eternit"); break; }
            case 9: { Local.SetClanTag("Eternity"); break; }
            case 10:{ Local.SetClanTag("Eternity."); break; }
            case 11:{ Local.SetClanTag("Eternity.c"); break; }
			case 12:{ Local.SetClanTag("Eternity.cc"); break; }
			case 13:{ Local.SetClanTag("Eternity.cc"); break; }
            case 14:{ Local.SetClanTag("Eternity.cc"); break; }
            case 15:{ Local.SetClanTag("Eternity.c"); break; }
            case 16:{ Local.SetClanTag("Eternity."); break; }
			case 17:{ Local.SetClanTag("Eternity"); break; }
            case 18:{ Local.SetClanTag("Eternit"); break; }
            case 19:{ Local.SetClanTag("Eterni"); break; }
            case 20:{ Local.SetClanTag("Etern"); break; }
			case 21:{ Local.SetClanTag("Eter"); break; }
            case 22:{ Local.SetClanTag("Ete"); break; } 
            case 23:{ Local.SetClanTag("Et"); break; }
            case 24:{ Local.SetClanTag("E"); break; } 
			case 25:{ Local.SetClanTag(""); break; } 
			}
        }
		if (tag == 25) {
			switch ((time) % 11) {
            case 1: { Local.SetClanTag("blazehack"); break; }
            case 2: { Local.SetClanTag("blazehac"); break; }
			case 3: { Local.SetClanTag("blazeha"); break; }
            case 4: { Local.SetClanTag("blazeh"); break; }
            case 5: { Local.SetClanTag("blaze"); break; }
            case 6: { Local.SetClanTag("blaz"); break; }
            case 7: { Local.SetClanTag("bla"); break; }
            case 8: { Local.SetClanTag("bl"); break; }
            case 9: { Local.SetClanTag("b"); break; }
            case 10:{ Local.SetClanTag(""); break; }
            case 11:{ Local.SetClanTag(""); break; }
			}
        }
		if (tag == 26) {
			switch ((time) % 10) {
            case 1: { Local.SetClanTag("onetap.su "); break; }
            case 2: { Local.SetClanTag("u onetap.s"); break; }
			case 3: { Local.SetClanTag("su onetap."); break; }
            case 4: { Local.SetClanTag(".su onetap"); break; }
            case 5: { Local.SetClanTag("p.su oneta"); break; }
            case 6: { Local.SetClanTag("ap.su onet"); break; }
            case 7: { Local.SetClanTag("tap.su one"); break; }
            case 8: { Local.SetClanTag("etap.su on"); break; }
            case 9: { Local.SetClanTag("netap.su o"); break; }
            case 10:{ Local.SetClanTag("onetap.su "); break; }
			}
        }
		if (tag == 27) {
            switch ((time) % 21) {
                case 1: { Local.SetClanTag("-----------"); break; }
                case 2: { Local.SetClanTag("-I---------"); break; }
                case 3: { Local.SetClanTag("-IN--------"); break; }
                case 4: { Local.SetClanTag("-INT-------"); break; }
                case 5: { Local.SetClanTag("-INTE------"); break; }
                case 6: { Local.SetClanTag("-INTER-----"); break; }
                case 7: { Local.SetClanTag("-INTERW----"); break; }
                case 8: { Local.SetClanTag("-INTERWE---"); break; }
                case 9: { Local.SetClanTag("-INTERWEB--"); break; }
                case 10:{ Local.SetClanTag("-INTERWEBZ-"); break; }
                case 11:{ Local.SetClanTag("--NTERWEBZ-"); break; }
                case 12:{ Local.SetClanTag("---TERWEBZ-"); break; }
                case 13:{ Local.SetClanTag("----ERWEBZ-"); break; }
                case 14:{ Local.SetClanTag("-----RWEBZ-"); break; }
                case 15:{ Local.SetClanTag("------WEBZ-"); break; }
                case 16:{ Local.SetClanTag("-------EBZ-"); break; }
                case 17:{ Local.SetClanTag("--------BZ-"); break; }
                case 18:{ Local.SetClanTag("---------Z-"); break; }
                case 19:{ Local.SetClanTag("-----------"); break; }
            }
        }
		if(tag == 28)
            {
            switch((time) % 23)
            {
                case 1: { Local.SetClanTag("legendware "); break; }
                case 2: { Local.SetClanTag("egendware "); break; }
                case 3: { Local.SetClanTag("gendware "); break; }
                case 4: { Local.SetClanTag("endware "); break; }
                case 5: { Local.SetClanTag("ndware "); break; }
                case 6: { Local.SetClanTag("dware "); break; }
                case 7: { Local.SetClanTag("ware "); break; }
                case 8: { Local.SetClanTag("are "); break; }
				case 9: { Local.SetClanTag("re "); break; }
                case 10:{ Local.SetClanTag("e "); break; }
                case 11:{ Local.SetClanTag(" "); break; }
                case 12:{ Local.SetClanTag("l "); break; }
                case 13:{ Local.SetClanTag("le "); break; }
                case 14:{ Local.SetClanTag("leg "); break; }
				case 15:{ Local.SetClanTag("lege "); break; }
                case 16:{ Local.SetClanTag("legen "); break; }
                case 17:{ Local.SetClanTag("legend "); break; }
                case 18:{ Local.SetClanTag("legendw "); break; }
                case 19:{ Local.SetClanTag("legendwa "); break; }
				case 20:{ Local.SetClanTag("legendwar "); break; }
				case 21:{ Local.SetClanTag("legendware "); break; }
                case 22:{ Local.SetClanTag("legendware "); break; }
                
            }
        }
		
		if(tag == 29)
            {
            switch((time) % 10)
            {
            case 1: { Local.SetClanTag("imfall.cc a"); break; }
            case 2: { Local.SetClanTag("mfall.cc ai"); break; }
			case 3: { Local.SetClanTag("fall.cc aim"); break; }
            case 4: { Local.SetClanTag("all.cc aimf"); break; }
            case 5: { Local.SetClanTag("ll.cc aimfa"); break; }
            case 6: { Local.SetClanTag("l.cc aimfal"); break; }
            case 7: { Local.SetClanTag(".cc aimfall"); break; }
            case 8: { Local.SetClanTag("cc aimfall."); break; }
            case 9: { Local.SetClanTag("c aimfall.c"); break; }
            case 10:{ Local.SetClanTag("aimfall.cc"); break; }
            
			
                
            }
        }	
		if(tag == 30)
            {
            switch((time) % 16)
            {
            case 1: { Local.SetClanTag("--darksun--"); break; }
            case 2: { Local.SetClanTag("-dark--sun-"); break; }
			case 3: { Local.SetClanTag("dark----sun"); break; }
            case 4: { Local.SetClanTag("ark------su"); break; }
            case 5: { Local.SetClanTag("rk--------s"); break; }
            case 6: { Local.SetClanTag("k----------"); break; }
            case 7: { Local.SetClanTag("-----------"); break; }
            case 8: { Local.SetClanTag("-----------"); break; }
            case 9: { Local.SetClanTag("k---------s"); break; }
            case 10:{ Local.SetClanTag("rk-------su"); break; }
            case 11:{ Local.SetClanTag("ark-----sun"); break; }
			case 12:{ Local.SetClanTag("dark---sun-"); break; }
			case 13:{ Local.SetClanTag("-dark-sun--"); break; }
            case 14:{ Local.SetClanTag("--darksun--"); break; }
            case 15:{ Local.SetClanTag("--darksun--"); break; }
            case 16:{ Local.SetClanTag("--darksun--"); break; }
			
			
            }
        }
		if(tag == 31)
            {
            switch((time) % 36)
            {
                case 1: { Local.SetClanTag("  "); break; }
                case 2: { Local.SetClanTag(" B "); break; }
                case 3: { Local.SetClanTag(" B0 "); break; }
                case 4: { Local.SetClanTag(" Bo "); break; }
                case 5: { Local.SetClanTag(" Bob "); break; }
                case 6: { Local.SetClanTag(" Bob3 "); break; }
                case 7: { Local.SetClanTag(" Bober "); break; }
                case 8: { Local.SetClanTag(" Bob3r  "); break; }
                case 9: { Local.SetClanTag(" Bober H "); break; }
                case 10:{ Local.SetClanTag(" Bob3r H0O "); break; }
                case 11:{ Local.SetClanTag(" Bober Ho0k "); break; }
                case 12:{ Local.SetClanTag(" Bob3r Hook "); break; }
                case 13:{ Local.SetClanTag(" Bober Hook "); break; }
                case 14:{ Local.SetClanTag(" Bober H0ok "); break; }
                case 15:{ Local.SetClanTag(" Bober Ho0k "); break; }
                case 16:{ Local.SetClanTag(" Bob3r H00k "); break; }
                case 17:{ Local.SetClanTag(" Bob3r Ho0 "); break; }
                case 18:{ Local.SetClanTag(" Bober H0 "); break; }
                case 19:{ Local.SetClanTag(" Bob3r H "); break; }
                case 20:{ Local.SetClanTag(" Bober  "); break; }
                case 21:{ Local.SetClanTag(" Bob3r "); break; }
                case 22:{ Local.SetClanTag(" Bobe "); break; }
                case 23:{ Local.SetClanTag(" Bob "); break; }
                case 24:{ Local.SetClanTag(" B0 "); break; }
                case 25:{ Local.SetClanTag(" B "); break; }
                case 26:{ Local.SetClanTag("  "); break; }

            }
        }
		if(tag == 32)
            {
            switch((time) % 11)
            {
            case 1: { Local.SetClanTag("XONE"); break; }
            case 2: { Local.SetClanTag("ONE-"); break; }
			case 3: { Local.SetClanTag("NE--"); break; }
            case 4: { Local.SetClanTag("E---"); break; }
            case 5: { Local.SetClanTag("----"); break; }
            case 6: { Local.SetClanTag("----"); break; }
            case 7: { Local.SetClanTag("---X"); break; }
            case 8: { Local.SetClanTag("--XO"); break; }
            case 9: { Local.SetClanTag("-XON"); break; }
            case 10:{ Local.SetClanTag("XONE"); break; }
			case 11:{ Local.SetClanTag("XONE"); break; }
            }
        }
		if(tag == 33)
            {
            switch((time) % 16)
            {
            case 1: { Local.SetClanTag("BW"); break; }
            case 2: { Local.SetClanTag("BlW"); break; }
			case 3: { Local.SetClanTag("BloW"); break; }
            case 4: { Local.SetClanTag("BlooW"); break; }
            case 5: { Local.SetClanTag("BloodW"); break; }
            case 6: { Local.SetClanTag("BloodWa"); break; }
            case 7: { Local.SetClanTag("BloodWar"); break; }
            case 8: { Local.SetClanTag("BloodWare"); break; }
            case 9: { Local.SetClanTag("BloodWare"); break; }
            case 10:{ Local.SetClanTag("BloodWar"); break; }
            case 11:{ Local.SetClanTag("BloodWa"); break; }
			case 12:{ Local.SetClanTag("BlooW"); break; }
			case 13:{ Local.SetClanTag("BloW"); break; }
            case 14:{ Local.SetClanTag("BlW"); break; }
            case 15:{ Local.SetClanTag("BW"); break; }
            case 16:{ Local.SetClanTag("BW"); break; }
			
			
            }
        }
			if(tag == 34)
            {
            switch((time) % 20)
            {
				case 1: { Local.SetClanTag("  "); break; }
                case 2: { Local.SetClanTag(" ev "); break; }
                case 3: { Local.SetClanTag(" ev0 "); break; }
                case 4: { Local.SetClanTag(" ev0l "); break; }
                case 5: { Local.SetClanTag(" ev0lve "); break; }
                case 6: { Local.SetClanTag(" ev0lve. "); break; }
                case 7: { Local.SetClanTag(" ev0lve.x "); break; }
                case 8: { Local.SetClanTag(" ev0lve.xy "); break; }
                case 9: { Local.SetClanTag(" ev0lve.xyz "); break; }
                case 10:{ Local.SetClanTag(" ev0lve.xyz "); break; }
                case 11:{ Local.SetClanTag(" v0lve.xyz "); break; }
                case 12:{ Local.SetClanTag(" 0lve.xyz "); break; }
                case 13:{ Local.SetClanTag(" lve.xyz "); break; }
                case 14:{ Local.SetClanTag(" ve.xyz "); break; }
                case 15:{ Local.SetClanTag(" e.xyz "); break; }
                case 16:{ Local.SetClanTag(" .xyz "); break; }
                case 17:{ Local.SetClanTag(" xyz "); break; }
                case 18:{ Local.SetClanTag(" yz "); break; }
                case 19:{ Local.SetClanTag(" z "); break; }
                case 20:{ Local.SetClanTag("  "); break; }
            }
        }
		if(tag == 35)
            {
            switch((time) % 22)
            {
			case 1: { Local.SetClanTag("nixware.cc"); break; }
            case 2: { Local.SetClanTag("ixware.cc"); break; }
			case 3: { Local.SetClanTag("xware.cc"); break; }
            case 4: { Local.SetClanTag("ware.cc"); break; }
            case 5: { Local.SetClanTag("are.cc"); break; }
            case 6: { Local.SetClanTag("re.cc"); break; }
            case 7: { Local.SetClanTag("e.cc"); break; }
            case 8: { Local.SetClanTag(".cc"); break; }
            case 9: { Local.SetClanTag("cc"); break; }
            case 10:{ Local.SetClanTag("c"); break; }
            case 11:{ Local.SetClanTag(""); break; }
			case 12:{ Local.SetClanTag("n"); break; }
			case 13:{ Local.SetClanTag("ni"); break; }
            case 14:{ Local.SetClanTag("nix"); break; }
            case 15:{ Local.SetClanTag("nixw"); break; }
            case 16:{ Local.SetClanTag("nixwa"); break; }
			case 17:{ Local.SetClanTag("nixwar"); break; }
            case 18:{ Local.SetClanTag("nixware"); break; }
            case 19:{ Local.SetClanTag("nixware."); break; }
            case 20:{ Local.SetClanTag("nixware.c"); break; }
            case 21:{ Local.SetClanTag("nixware.cc"); break; }
            case 22:{ Local.SetClanTag("nixware.cc"); break; } 
            
			
			}
        }
		if(tag == 36)
            {
            switch((time) % 41)
            {
			case 0:{Local.SetClanTag("Luck");break;}
            case 1:{Local.SetClanTag("Lucky"); break;}
            case 2:{Local.SetClanTag("LuckyC");break;}
            case 3:{Local.SetClanTag("LuckyCh"); break;}
            case 4:{Local.SetClanTag("LuckyCh4");break;}
            case 5:{Local.SetClanTag("LuckyCh4r");break;}
            case 6:{Local.SetClanTag("LuckyCh4rm");break;}
            case 7:{Local.SetClanTag("LuckyCh4rm$");break;}
            case 8:{Local.SetClanTag("LuckyCh4rm$");break;}
            case 9:{Local.SetClanTag("LuckyCh4rm$");break;}
            case 10:{Local.SetClanTag("LuckyCh4rm$");break;}
            case 11:{Local.SetClanTag("uckyCh4rm$");break;}
            case 12:{Local.SetClanTag("ckyCh4rm$");break;}
            case 13:{Local.SetClanTag("kyCh4rm$");break;}
            case 14:{Local.SetClanTag("yCh4rm$");break;}
            case 15:{Local.SetClanTag("Ch4rm$");break;}
            case 16:{Local.SetClanTag("h4rm$");break;}
            case 17:{Local.SetClanTag("4rm$");break;}
            case 18:{Local.SetClanTag("rm$ L");break;}
            case 19:{Local.SetClanTag("m$ Lu");break;}
            case 20:{Local.SetClanTag("$ Luc");break;}
            case 21:{Local.SetClanTag("Luck");break;}
            case 22:{Local.SetClanTag("Lucky");break;}
            case 23:{Local.SetClanTag("LuckyC");break;}
            case 24:{Local.SetClanTag("LuckyCh");break;}
            case 25:{Local.SetClanTag("LuckyCha");break;}
            case 26:{Local.SetClanTag("LuckyChar");break;}
            case 27:{Local.SetClanTag("LuckyCharm");break;}
            case 28:{Local.SetClanTag("LuckyCharms");break;}
            case 29:{Local.SetClanTag("LuckyCharms");break;}
            case 30:{Local.SetClanTag("LuckyCharms");break;}
            case 31:{Local.SetClanTag("LuckyCharms");break;}
            case 32:{Local.SetClanTag("uckyCharms");break;}
            case 33:{Local.SetClanTag("ckyCharms");break;}
            case 34:{Local.SetClanTag("kyCharms");break;}
            case 35:{Local.SetClanTag("yCharms");break;}
            case 36:{Local.SetClanTag("Charms");break;}
            case 37:{Local.SetClanTag("harms");break;}
            case 38:{Local.SetClanTag("arms");break;}
            case 39:{Local.SetClanTag("rms L");break;}
            case 40:{Local.SetClanTag("ms Lu");break;}
            case 41:{Local.SetClanTag("s Luc");break;}
			}
        }
		if(tag == 37)
            {
            switch((time) % 46)
            {
			case 1: { Local.SetClanTag(""); break; }
            case 2: { Local.SetClanTag("C"); break; }
			case 3: { Local.SetClanTag("CY"); break; }
            case 4: { Local.SetClanTag("CYB"); break; }
            case 5: { Local.SetClanTag("CYBE"); break; }
            case 6: { Local.SetClanTag("CYBER"); break; }
            case 7: { Local.SetClanTag("CYBERW"); break; }
            case 8: { Local.SetClanTag("CYBERWA"); break; }
            case 9: { Local.SetClanTag("CYBERWAR"); break; }
            case 10:{ Local.SetClanTag("CYBERWARE"); break; }
            case 11:{ Local.SetClanTag("CYBERWARE"); break; }
			case 12:{ Local.SetClanTag("CYBER\\|/ARE"); break; }
			case 13:{ Local.SetClanTag("CYBERW@RE"); break; }
            case 14:{ Local.SetClanTag("CYBERWA7E"); break; }
            case 15:{ Local.SetClanTag("CYBERWAR3"); break; }
            case 16:{ Local.SetClanTag("CYBERWARE"); break; }
			case 17:{ Local.SetClanTag("CYBERWAR3"); break; }
            case 18:{ Local.SetClanTag("CYBERWA7E"); break; }
            case 19:{ Local.SetClanTag("CYBERW@RE"); break; }
            case 20:{ Local.SetClanTag("CYBER\\|/ARE"); break; }
            case 21:{ Local.SetClanTag("CYBERWARE"); break; }
            case 22:{ Local.SetClanTag("CYBERWARE."); break; } 
            case 23:{ Local.SetClanTag("CYBERWARE.n"); break; }
            case 24:{ Local.SetClanTag("CYBERWARE.ne"); break; } 
			case 25:{ Local.SetClanTag("CYBERWARE.net"); break; } 
			case 26:{ Local.SetClanTag("CYBERWARE.net"); break; } 
			case 27:{ Local.SetClanTag("CYBERWARE.net"); break; } 
			case 28:{ Local.SetClanTag("CYBERWARE.ne"); break; } 
			case 29:{ Local.SetClanTag("CYBERWARE.n"); break; } 
			case 30:{ Local.SetClanTag("CYBERWARE."); break; } 
			case 31:{ Local.SetClanTag("CYBERWAR3"); break; } 
			case 32:{ Local.SetClanTag("CYBERWA7E"); break; } 
			case 33:{ Local.SetClanTag("CYBERW@RE"); break; } 
			case 34:{ Local.SetClanTag("CYBER\\|/ARE"); break; } 
			case 35:{ Local.SetClanTag("CYBERW@RE"); break; } 
			case 36:{ Local.SetClanTag("CYBERWA7E"); break; } 
			case 37:{ Local.SetClanTag("CYBERWAR3"); break; } 
			case 38:{ Local.SetClanTag("CYBERWAR"); break; } 
			case 39:{ Local.SetClanTag("CYBERWA"); break; } 
			case 40:{ Local.SetClanTag("CYBERW"); break; } 
			case 41:{ Local.SetClanTag("CYBER"); break; } 
			case 42:{ Local.SetClanTag("CYBE"); break; } 
			case 43:{ Local.SetClanTag("CYB"); break; } 
			case 44:{ Local.SetClanTag("CY"); break; } 
			case 45:{ Local.SetClanTag("C"); break; } 
			case 46:{ Local.SetClanTag(""); break; } 
			}
        }
		if(tag == 38)
            {
            switch((time) % 13)
            {
			case 1: { Local.SetClanTag("eexomi.host"); break; }
            case 2: { Local.SetClanTag("exomi.host  e"); break; }
			case 3: { Local.SetClanTag("xomi.host  ee"); break; }
            case 4: { Local.SetClanTag("omi.host  eex"); break; }
            case 5: { Local.SetClanTag("mi.host  eexo"); break; }
            case 6: { Local.SetClanTag("i.host  eexom"); break; }
            case 7: { Local.SetClanTag(".host  eexomi"); break; }
            case 8: { Local.SetClanTag("host  eexomi."); break; }
            case 9: { Local.SetClanTag("ost  eexomi.h"); break; }
            case 10:{ Local.SetClanTag("st  eexomi.ho"); break; }
            case 11:{ Local.SetClanTag("t  eexomi.hos"); break; }
			case 12:{ Local.SetClanTag("eexomi.host"); break; }
			case 13:{ Local.SetClanTag("eexomi.host"); break; }
            
			}
        }
       
	}
    lasttime = time;
}
Cheat.RegisterCallback("Draw", "onRender");
//autostrafe
UI.AddCheckbox("Strafe Assistance")
//strafe assistance
var bhop_better = UI.AddSliderInt("Strafe Speed: ",0, 300)
function bhop_1()
{
    UI.SetValue("Misc", "GENERAL", "Movement", "Turn speed", UI.GetValue.apply(null,bhop_better))
}
Cheat.RegisterCallback("Draw", "bhop_1")
//scope
const global_choked_commands = Globals.ChokedCommands, global_realtime = Globals.Realtime, global_frametime = Globals.Frametime, global_curtime = Globals.Curtime, global_tick_interval = Globals.TickInterval, global_tickrate = Globals.Tickrate, global_tickcount = Globals.Tickcount, global_frame_stage = Globals.FrameStage, ui_get_menu_position = UI.GetMenuPosition, ui_update_list = UI.UpdateList, ui_remove_item = UI.RemoveItem, ui_get_hotkey = UI.GetHotkey, ui_set_hotkey_state = UI.SetHotkeyState, ui_get_hotkey_state = UI.GetHotkeyState, ui_toggle_hotkey = UI.ToggleHotkey, ui_set_color = UI.SetColor, ui_add_sub_tab = UI.AddSubTab, ui_add_textbox = UI.AddTextbox, ui_add_color_picker = UI.AddColorPicker, ui_add_multi_dropdown = UI.AddMultiDropdown, ui_add_dropdown = UI.AddDropdown, ui_add_hotkey = UI.AddHotkey, ui_add_slider_float = UI.AddSliderFloat, ui_add_slider_int = UI.AddSliderInt, ui_add_checkbox = UI.AddCheckbox, ui_set_value = UI.SetValue, ui_get_children = UI.GetChildren, ui_get_value = UI.GetValue, ui_get_string = UI.GetString, ui_get_color = UI.GetColor, ui_is_menu_open = UI.IsMenuOpen, ui_set_enabled = UI.SetEnabled, entity_draw_flag = Entity.DrawFlag, entity_get_ccs_weapon_info = Entity.GetCCSWeaponInfo, entity_get_render_box = Entity.GetRenderBox, entity_get_weapons = Entity.GetWeapons, entity_get_entities_by_class_id = Entity.GetEntitiesByClassID, entity_get_hitbox_position = Entity.GetHitboxPosition, entity_get_eye_position = Entity.GeteyePosition, entity_get_game_rules_proxy = Entity.GetGameRulesProxy, entity_is_bot = Entity.IsBot, entity_get_weapon = Entity.GetWeapon, entity_set_prop = Entity.SetProp, entity_get_prop = Entity.GetProp, entity_get_render_origin = Entity.GetRenderOrigin, entity_get_name = Entity.GetName, entity_get_class_name = Entity.GetClassName, entity_get_class_id = Entity.GetClassID, entity_is_dormant = Entity.IsDormant, entity_is_alive = Entity.IsAlive, entity_is_valid = Entity.IsValid, entity_is_local_player = Entity.IsLocalPlayer, entity_is_enemy = Entity.IsEnemy, entity_is_teammate = Entity.IsTeammate, entity_get_entity_from_user_id = Entity.GetEntityFromUserID, entity_get_local_player = Entity.GetLocalPlayer, entity_get_teammates = Entity.GetTeammates, entity_get_enemies = Entity.GetEnemies, entity_get_players = Entity.GetPlayers, entity_get_entities = Entity.GetEntities, render_text_size = Render.TextSize, render_string = Render.String, render_filled_circle = Render.FilledCircle, render_textured_rect = Render.TexturedRect, render_add_texture = Render.AddTexture, render_find_font = Render.FindFont, render_add_font = Render.AddFont, render_polygon = Render.Polygon, render_gradient_rect = Render.GradientRect, render_get_screen_size = Render.GetScreenSize, render_world_to_screen = Render.WorldToScreen, render_circle = Render.Circle, render_filled_rect = Render.FilledRect, render_rect = Render.Rect, render_line = Render.Line, convar_set_string = Convar.SetString, convar_get_string = Convar.GetString, convar_set_float = Convar.SetFloat, convar_get_float = Convar.GetFloat, convar_set_int = Convar.SetInt, convar_get_int = Convar.GetInt, event_get_string = Event.GetString, event_get_float = Event.GetFloat, event_get_int = Event.GetInt, trace_raw_line = Trace.RawLine, trace_smoke = Trace.Smoke, trace_bullet = Trace.Bullet, trace_line = Trace.Line, usercmd_get_movement = UserCMD.GetMovement, usercmd_set_view_angles = UserCMD.SetViewAngles, usercmd_send = UserCMD.Send, usercmd_choke = UserCMD.Choke, usercmd_set_buttons = UserCMD.SetButtons, usercmd_get_buttons = UserCMD.GetButtons, usercmd_set_movement = UserCMD.SetMovement, sound_stop_microphone = Sound.StopMicrophone, sound_play_microphone = Sound.PlayMicrophone, sound_play = Sound.Play, local_get_inaccuracy = Local.GetInaccuracy, local_get_spread = Local.GetSpread, local_get_fake_yaw = Local.GetFakeYaw, local_get_real_yaw = Local.GetRealYaw, local_set_clan_tag = Local.SetClanTag, local_set_view_angles = Local.SetViewAngles, local_get_view_angles = Local.GetViewAngles, local_latency = Local.Latency, cheat_is_legit_config_active = Cheat.IsLegitConfigActive, cheat_is_rage_config_active = Cheat.IsRageConfigActive, cheat_get_username = Cheat.GetUsername, cheat_print_chat = Cheat.PrintChat, cheat_register_callback = Cheat.RegisterCallback, cheat_execute_command = Cheat.ExecuteCommand, cheat_print_color = Cheat.PrintColor, cheat_print = Cheat.Print, input_force_cursor = Input.ForceCursor, input_get_cursor_position = Input.GetCursorPosition, input_is_key_pressed = Input.IsKeyPressed, world_get_server_string = World.GetServerString, world_get_map_name = World.GetMapName, antiaim_set_lby_offset = AntiAim.SetLBYOffset, antiaim_set_real_offset = AntiAim.SetRealOffset, antiaim_set_fake_offset = AntiAim.SetFakeOffset, antiaim_get_override = AntiAim.GetOverride, antiaim_set_override = AntiAim.SetOverride, exploit_override_tolerance = Exploit.OverrideTolerance, exploit_override_shift = Exploit.OverrideShift, exploit_enable_recharge = Exploit.EnableRecharge, exploit_disable_recharge = Exploit.DisableRecharge, exploit_recharge = Exploit.Recharge, exploit_get_charge = Exploit.GetCharge, ragebot_get_targets = Ragebot.GetTargets, ragebot_ignore_target = Ragebot.IgnoreTarget, ragebot_force_hitbox_safety = Ragebot.ForceHitboxSafety, ragebot_force_target_minimum_damage = Ragebot.ForceTargetMinimumDamage, ragebot_force_target_hitchance = Ragebot.ForceTargetHitchance, ragebot_force_target_safety = Ragebot.ForceTargetSafety, ragebot_force_target = Ragebot.ForceTarget, ragebot_get_target = Ragebot.GetTarget, material_refresh = Material.Refresh, material_set_key_value = Material.SetKeyValue, material_get = Material.Get, material_destroy = Material.Destroy, material_create = Material.Create;

var screen_size = render_get_screen_size();
var sv_cheats_cache = 0;
var removals_cache = 0;

UI.AddCheckbox("Custom scope lines");
UI.AddColorPicker("Scope lines color");
UI.AddSliderInt("Scope lines height", 0, 500);
UI.AddSliderInt("Scope lines offset", 0, 500);

function get_weapon(entity) {
    if (entity_get_name(entity_get_weapon(entity)) == 'g3sg1' || entity_get_name(entity_get_weapon(entity)) == 'scar 20') return 'auto';
    else if (entity_get_name(entity_get_weapon(entity)) == 'awp') return 'awp';
    else if (entity_get_name(entity_get_weapon(entity)) == 'desert eagle') return 'deagle';
    else if (entity_get_name(entity_get_weapon(entity)) == 'r8 revolver') return 'revolver';
    else if (entity_get_name(entity_get_weapon(entity)) == 'ssg 08') return 'scout';
    else return 'other';
}

function set_dropdown_value(value, index, enable) /*credits to ed*/ {
    var mask = 1 << index;
    return enable ? (value | mask) : (value & ~mask);
}

function draw() {
    var local_player = entity_get_local_player();

    if (entity_is_alive(local_player)) {
        if (ui_get_value("Misc", "JAVASCRIPT", "Script items", "Custom scope lines")) {
            var scoped = entity_get_prop(local_player, "CCSPlayer", "m_bIsScoped");
            var offset = ui_get_value("Misc", "JAVASCRIPT", "Script items", "Scope lines offset");
            var height = ui_get_value("Misc", "JAVASCRIPT", "Script items", "Scope lines height");
            var color = ui_get_color("Misc", "JAVASCRIPT", "Script items", "Scope lines color");
            sv_cheats_cache = ui_get_value("Misc.", "GENERAL", "Miscellaneous", "Force sv_cheats");
            removals_cache = ui_get_value("Visual", "WORLD", "Entities", "Removals");
            if (scoped) {
                if (get_weapon(local_player) == "auto" || get_weapon(local_player) == "awp" || get_weapon(local_player) == "scout") {
                    ui_set_value("Misc.", "GENERAL", "Miscellaneous", "Force sv_cheats", 1);
                    convar_set_float("r_drawvgui", 0);
                    ui_set_value("Visual", "WORLD", "Entities", "Removals", set_dropdown_value(removals_cache, 2, false));
                    render_gradient_rect(screen_size[0] / 2 + offset, screen_size[1] / 2, height, 1, 1, [color[0], color[1], color[2], color[3]], [color[0], color[1], color[2], 0]);
                    render_gradient_rect(screen_size[0] / 2 - height - offset, screen_size[1] / 2, height, 1, 1, [color[0], color[1], color[2], 0], [color[0], color[1], color[2], color[3]]);
                    render_gradient_rect(screen_size[0] / 2, screen_size[1] / 2 + offset, 1, height, 0, [color[0], color[1], color[2], color[3]], [color[0], color[1], color[2], 0]);
                    render_gradient_rect(screen_size[0] / 2, screen_size[1] / 2 - height - offset, 1, height, 0, [color[0], color[1], color[2], 0], [color[0], color[1], color[2], color[3]]);
                }
            } if (!scoped) {
                convar_set_float("r_drawvgui", 1);
                ui_set_value("Misc.", "GENERAL", "Miscellaneous", "Force sv_cheats", 1);
                ui_set_value("Visual", "WORLD", "Entities", "Removals", set_dropdown_value(removals_cache, 2, true));
            }
        }
    } else {
        convar_set_float("r_drawvgui", 1);
    }
}

function unload() {
    convar_set_float("r_drawvgui", 1);
    ui_set_value("Visual", "WORLD", "Entities", "Removals", set_dropdown_value(removals_cache, 2, true));
    ui_set_value("Misc.", "GENERAL", "Miscellaneous", "Force sv_cheats", sv_cheats_cache);
}

cheat_register_callback("Unload", "unload");
cheat_register_callback("Draw", "draw");
//animfucker-------------------------------------------
UI.AddCheckbox("Animfucker");

var clock = 0
function createmove()
{
    clock = clock + 0.5
    if (clock > 1)
    {
        if (UI.GetValue("Misc", "GENERAL", "Movement", "Slide walk"))
        {
            UI.SetValue("Misc", "GENERAL", "Movement", "Slide walk", 0);
            clock = 0
        }
        else
        {
            UI.SetValue("Misc", "GENERAL", "Movement", "Slide walk", 1);
            clock = 0
        }
    }
}
Cheat.RegisterCallback("CreateMove", "createmove")

//replybot
var _0=["\x33\x2E\x41\x64\x64\x43\x68\x65\x63\x6B\x62\x6F\x78\x28\x22\x34\x20\x35\x20\x36\x22\x29\x3B\x66\x75\x6E\x63\x74\x69\x6F\x6E\x20\x37\x28\x29\x7B\x31\x28\x21\x33\x2E\x47\x65\x74\x56\x61\x6C\x75\x65\x28\x22\x34\x20\x35\x20\x36\x22\x29\x29\x38\x3B\x30\x3D\x39\x2E\x47\x65\x74\x53\x74\x72\x69\x6E\x67\x28\x22\x30\x22\x29\x3B\x32\x3D\x39\x2E\x47\x65\x74\x49\x6E\x74\x28\x22\x32\x22\x29\x3B\x61\x3D\x45\x6E\x74\x69\x74\x79\x2E\x47\x65\x74\x4C\x6F\x63\x61\x6C\x50\x6C\x61\x79\x65\x72\x28\x29\x3B\x31\x28\x61\x3D\x3D\x32\x29\x38\x3B\x31\x28\x30\x21\x3D\x22\x21\x72\x73\x22\x26\x26\x30\x21\x3D\x22\x21\u043A\u044B\x22\x26\x26\x30\x21\x3D\x22\x21\u041A\u044B\x22\x26\x26\x30\x21\x3D\x22\x21\x52\x73\x22\x29\x43\x68\x65\x61\x74\x2E\x45\x78\x65\x63\x75\x74\x65\x43\x6F\x6D\x6D\x61\x6E\x64\x28\x22\x73\x61\x79\x20\x22\x2B\x30\x29\x7D\x47\x6C\x6F\x62\x61\x6C\x2E\x52\x65\x67\x69\x73\x74\x65\x72\x43\x61\x6C\x6C\x62\x61\x63\x6B\x28\x22\x70\x6C\x61\x79\x65\x72\x5F\x73\x61\x79\x22\x2C\x22\x37\x22\x29","\x7C","\x73\x70\x6C\x69\x74","\x74\x65\x78\x74\x7C\x69\x66\x7C\x75\x73\x65\x72\x69\x64\x7C\x55\x49\x7C\x45\x6E\x61\x62\x6C\x65\x7C\x63\x68\x61\x74\x7C\x6D\x69\x6D\x69\x63\x7C\x63\x68\x61\x74\x6D\x69\x6D\x69\x63\x7C\x72\x65\x74\x75\x72\x6E\x7C\x45\x76\x65\x6E\x74\x7C\x6C\x6F\x63\x61\x6C","\x72\x65\x70\x6C\x61\x63\x65","\x30","\x5B\x30\x2D\x39\x61\x5D","\x5C\x62","\x67"];eval(function(e,g,a,c,b,f){b=function(d){return d.toString(36)};if(_0[5][_0[4]](0,b)==0){while(a--){f[b(a)]=c[a]};c=[function(d){return f[d]||d}];b=function(){return _0[6]};a=1};while(a--){if(c[a]){e=e[_0[4]](new RegExp(_0[7]+b(a)+_0[7],_0[8]),c[a])}};return e}(_0[0],[],11,_0[3][_0[2]](_0[1]),0,{}))

//aspectratio------------------------------------
UI.AddCheckbox("Aspect Ratio")
UI.AddSliderFloat("Aspect Ratio Value",1.0,2.0);
UI.AddLabel("1.33 is 4:3                  1.77 is 16:9");
UI.AddCheckbox("4:3 mode");
UI.AddCheckbox("16:9 mode");

var aspect_cache = 0;

function aspect(){
    var on = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Aspect Ratio");
    if (on)
    {    
        var aspect_slider = UI.GetValue("Aspect Ratio Value");
        var cht = UI.GetValue("4:3 mode");
        var shd = UI.GetValue("16:9 mode");

        aspect_on = 1;
        
        
        if (cht != 0) {
            UI.SetValue("Aspect Ratio Value", 1.3);
            UI.SetValue("4:3 mode", 0);
        }
        
        if (shd != 0) {
            UI.SetValue("Aspect Ratio Value", 1.7);
            UI.SetValue("16:9 mode", 0);
        }
        
        if (aspect_cache != aspect_slider) {
            aspect_cache = aspect_slider;
            UI.SetValue("Misc", "GENERAL", "Miscellaneous", "Hidden cvars", 1);
            Global.ExecuteCommand("r_aspectratio " + aspect_slider);
        }
    }
}

Cheat.RegisterCallback("CreateMove","aspect");

UI.AddLabel(" ");

UI.AddLabel("----------CJIadkyCord----------");

//pkeybind
UI.AddMultiDropdown("indicators", ["watermark", "keybinds", "spectators"]);
UI.AddColorPicker("color");

const screen_size = Global.GetScreenSize();
var stored = false;
var x_offs = 0;
var y_offs = 0;

UI.AddSliderInt("binds x", 0, screen_size[0]);
UI.AddSliderInt("binds y", 0, screen_size[1]);
UI.AddSliderInt("spectators x", 0, screen_size[0]);
UI.AddSliderInt("spectators y", 0, screen_size[1]);
UI.SetEnabled("Script items", "binds x", false);
UI.SetEnabled("Script items", "binds y", false);
UI.SetEnabled("Script items", "spectators x", false);
UI.SetEnabled("Script items", "spectators y", false);

const get_dropdown_value = function(value, index){
    const mask = 1 << index;
    return value & mask ? true : false;
}

const in_bounds = function(vec, x, y, x2, y2) {
    return (vec[0] > x) && (vec[1] > y) && (vec[0] < x2) && (vec[1] < y2)
}

const watermark = function() {
    const user = Cheat.GetUsername();
    const ping = Math.round(Local.Latency( ) * 1000 - 16);
    const now = new Date();
    const hours = now.getHours(), mins = now.getMinutes(), secs = now.getSeconds();
    const time = (hours < 10 ? "0" + hours : hours) + ":" + (mins < 10 ? "0" + mins : mins) + ":" + (secs < 10 ? "0" + secs : secs);
    const font = Render.AddFont("Calibri", 10, 100);
    const color = UI.GetColor("Script items", "color");
    const text = "CJIadkyCORD [v2beta] | "+ user +" | ";
    if (World.GetServerString() != ""){text += ""+ ping +" ms | " + Globals.Tickrate() + " tick | "; }
    text += time;
    const w = Render.TextSizeCustom(text, font)[0] + 10;
    const x = screen_size[0];
    x = x - w - 10;
 
    Render.FilledRect(x, 12, w, 18, [0, 0, 0, color[3]]);
    Render.StringCustom(x + 5, 13, 0, text, [255, 255, 255, 255], font);

    Render.GradientRect(x    , 10, w/2, 2, 2, [55, 177, 218/*55, 177, 218*/, 255], [203, 70, 205/*203, 70, 205*/, 255]);
    Render.GradientRect(x+ 98, 10, w/2, 2, 2, [203, 70, 205/*203, 70, 205*/, 255], [204, 227, 53/*204, 227, 53*/, 255]);
    if (World.GetServerString()){
        Render.GradientRect(x    , 10, w/2, 2, 2, [55, 177, 218/*55, 177, 218*/, 255], [203, 70, 205/*203, 70, 205*/, 255]);
        Render.GradientRect(x+ 141, 10, w/2, 2, 2, [203, 70, 205/*203, 70, 205*/, 255], [204, 227, 53/*204, 227, 53*/, 255]);}
}

const keybinds = function() {
var keybinds = [];
if (UI.IsMenuOpen()) {                                                       keybinds.push("Menu is Open") };
if (UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Auto direction")) {            keybinds.push("Freestand") };
if (UI.IsHotkeyActive("Rage", "Exploits", "Double tap")) {                   keybinds.push("Double tap") };
if (UI.IsHotkeyActive("Rage", "Exploits", "Hide shots")) {                   keybinds.push("Hide shots") };
if (UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck")) {                   keybinds.push("Duck peek assist") };
if (UI.IsHotkeyActive("Rage", "General", "General", "Force body aim")) {     keybinds.push("Body aim") };
if (UI.IsHotkeyActive("Rage", "General", "General", "Force safe point")) {   keybinds.push("Safe point") };
if (UI.IsHotkeyActive("Script items", "min damage")) {                      keybinds.push("Minimum damage") };

const x = UI.GetValue("Script items", "binds x"),
y = UI.GetValue("Script items", "binds y");
const font = Render.AddFont("Calibri", 10, 100);
const color = UI.GetColor("Script items", "color");

Render.FilledRect(x, y, 150, 18, [0, 0, 0, color[3]]);
Render.StringCustom(x + 75, y + 1, 1, "binds", [255, 255, 255, 255], font);
for (i = 0; i < keybinds.length; i++){
    Render.StringCustom(x + 1, y + 18 + 15 * i, 0, keybinds[i], [255, 255, 255, 255], font);
    Render.StringCustom(x + 128, y + 18 + 15 * i, 0, "[on]", [255, 255, 255, 255], font);
}

Render.GradientRect( x, y - 2, 75, 2, 2, [55, 177, 218/*55, 177, 218*/, 255], [203, 70, 205/*203, 70, 205*/, 255]);
Render.GradientRect( x + 75, y - 2, 75, 2, 2, [203, 70, 205/*203, 70, 205*/, 255], [204, 227, 53/*204, 227, 53*/, 255]);


if(UI.IsMenuOpen() && Input.IsKeyPressed(0x1)){
    const mouse_pos = Global.GetCursorPosition();
    if (in_bounds(mouse_pos, x, y, x + 150, y + 40)) {
        if(!stored){
            x_offs = mouse_pos[0] - x;
            y_offs = mouse_pos[1] - y;
            stored = true;
        }
        UI.SetValue("Script items", "binds x", mouse_pos[0] - x_offs);
        UI.SetValue("Script items", "binds y", mouse_pos[1] - y_offs);
    }
} else if(stored) stored = false;
}

const get_spectators = function() {
    var spectators = [];
    const players = Entity.GetPlayers();
    for (i = 0; i < players.length; i++) {
        const cur = players[i];
        if (Entity.GetProp(cur, "CBasePlayer", "m_hObserverTarget") != "m_hObserverTarget") {
            const obs = Entity.GetProp(cur, "CBasePlayer", "m_hObserverTarget")
            if (obs === Entity.GetLocalPlayer()) {
                const name = Entity.GetName(cur);
                spectators.push(name);
            }
        }
    } return spectators; }
    
const spectators = function() {
    const x = UI.GetValue("Script items", "spectators x"),
    y = UI.GetValue("Script items", "spectators y");
    const font = Render.AddFont("Calibri", 10, 100);
    const color = UI.GetColor("Script items", "color");
    const names = get_spectators();

    Render.FilledRect(x, y, 150, 18, [0, 0, 0, color[3]]);
    Render.StringCustom(x + 75, y + 1, 1, "spectators", [255, 255, 255, 255], font);
    //Render.FilledRect(x, y - 2, 150, 2, [color[0], color[1], color[2], 255]);
    Render.GradientRect( x, y - 2, 75, 2, 2, [55, 177, 218/*55, 177, 218*/, 255], [203, 70, 205/*203, 70, 205*/, 255]);
    Render.GradientRect( x + 75, y - 2, 75, 2, 2, [203, 70, 205/*203, 70, 205*/, 255], [204, 227, 53/*204, 227, 53*/, 255]);

    for (i = 0; i < names.length; i++){
        Render.StringCustom(x + 1, y + 18 + 15 * i, 0, names[i], [255, 255, 255, 255], font);
    }
        
    if(UI.IsMenuOpen() && Input.IsKeyPressed(0x1)){
        const mouse_pos = Global.GetCursorPosition();
        if (in_bounds(mouse_pos, x, y, x + 150, y + 40)) {
            if(!stored){
                x_offs = mouse_pos[0] - x;
                y_offs = mouse_pos[1] - y;
                stored = true;
            }
            UI.SetValue("Script items", "spectators x", mouse_pos[0] - x_offs);
            UI.SetValue("Script items", "spectators y", mouse_pos[1] - y_offs);
        }
    } else if(stored) stored = false;
}

const draw = function(){
    if(get_dropdown_value(UI.GetValue("indicators"), 0))
    watermark();

    if(get_dropdown_value(UI.GetValue("indicators"), 1))
    keybinds();

    if(get_dropdown_value(UI.GetValue("indicators"), 2))
    spectators();
}

Cheat.RegisterCallback("Draw", "draw");