JS-скрипт Bebro for weave.su 2.5 [opensource]

#6464FF
Участник
Статус
Оффлайн
Регистрация
22 Мар 2020
Сообщения
561
Реакции[?]
225
Поинты[?]
4K
eeeeeeeeeeeeeeeeeeeeeeeeeeeee кароче я чето делал и оно мне типо не надо типо это трешш чел ты абьюзерр :coldsweat::coldsweat: убиваю мусор на миду мое имя шадоуфинд :smilingimp::smilingimp::smilingimp::smilingimp::smilingimp::smilingimp::smilingimp::smirk::smirk::flushed::flushed::hearteyes::hearteyes::hearteyes:

еблана кидать в C:/weave/eblan.png
f ещо бебра кфг кд 0.35 стабильно

1651629929637.png

JavaScript:
// Bebro ~ [29.04.22]
// Developed by @l3d34n

// Ui
// Watermark
ui.add_checkbox("Watermark", "Watermark");
ui.add_slider("Red color", "Watermark_red_color", 0, 255);
ui.add_slider("Green color", "Watermark_green_color", 0, 255);
ui.add_slider("Blue color", "Watermark_blue_color", 0, 255);
ui.add_slider("Transparency", "Watermark_transparency", 0, 255);

// Indicators
ui.add_checkbox("Indicators", "Indicators");
ui.add_slider("Style", "Indicators_style", 0, 2);
ui.add_slider("Smoothness", "Indicators_smoothness", 0, 10);
ui.add_slider("Red color", "Indicators_red_color", 0, 255);
ui.add_slider("Green color", "Indicators_green_color", 0, 255);
ui.add_slider("Blue color", "Indicators_blue_color", 0, 255);

// Fog
ui.add_checkbox("Custom fog", "Custom_fog");
ui.add_slider("Red color", "Fog_red_color", 0, 255);
ui.add_slider("Green color", "Fog_green_color", 0, 255);
ui.add_slider("Blue color", "Fog_blue_color", 0, 255);
ui.add_slider("Maxdensity", "Fog_maxdensity", 0, 100);

// Weapon viewmodel in scope
ui.add_checkbox("Weapon viewmodel in scope", "Weapon_viewmodel_in_scope");

// Leg breaker
ui.add_checkbox("Leg breaker", "Leg_breaker");

// Trash talk
ui.add_checkbox("Trash talk", "Trash_talk");

// Logs
cheat.log("Bebro successfully loaded!");

// Variables
var get_screen_size = render.get_screen_size();
var indicators_count = 0;
var dt_alpha = 0;
var hs_alpha = 0;
var fb_alpha = 0;
var dmg_alpha = 0;
var sp_alpha = 0;
var fd_alpha = 0;
var pa_alpha = 0;
var bl_alpha = 0;
var clan_tag_last_time = 0;
var get_desync_side = "";

// Render
function Render()
{

  //Variables
  var get_frame_time = global_vars.frametime();
  var get_interval_per_tick = global_vars.interval_per_tick();
  var get_desync_amount = Math.abs(cheat.get_desync_amount().toFixed(1));
  var get_menu_position = ui.get_menu_position();
  var get_menu_alpha = ui.get_menu_alpha();

  // Get name
  var get_username = ("L3D34N");

  // Get fps
  var get_fps = Math.floor(1.0 / get_frame_time);

  // Get tickrate
  var get_tickrate = Math.floor(1.0 / get_interval_per_tick);

  // Get time
  var get_time = new Date().toTimeString().substring(0, 8);

  // Watermark colors
  var watermark_colors = [

    vars.get_int("js.Watermark_blue_color"),
    vars.get_int("js.Watermark_green_color"),
    vars.get_int("js.Watermark_red_color"),
    255,

  ];

  // Indicators colors
  var indicators_red_color = vars.get_int("js.Indicators_red_color");
  var indicators_green_color = vars.get_int("js.Indicators_green_color");
  var indicators_blue_color = vars.get_int("js.Indicators_blue_color");

  // Indicators style
  var indicators_style = vars.get_int("js.Indicators_style");

  // Fog colors
  var fog_blue_color = vars.get_int("js.Fog_blue_color");
  var fog_green_color = vars.get_int("js.Fog_green_color");
  var fog_red_color = vars.get_int("js.Fog_red_color");
  var fog_maxdensity = (vars.get_int("js.Fog_maxdensity") / 100);

  // Watermark
  if (vars.get_bool("js.Watermark"))
  {

    render.filled_rect([get_screen_size[0] - 210, 10], [200, 20], [0, 0, 0, vars.get_int("js.Watermark_transparency")], 0);
    render.line([get_screen_size[0] - 10, 10], [get_screen_size[1] + 630, 10], watermark_colors, 2);
    render.text([get_screen_size[0] - 110, 12], [255, 255, 255, 255], 10, 5, "Bebro [eblan] | " + get_username + " | " + get_time);
    render.picture("C:/weave/eblan.png", [get_menu_position[0] + 250, get_menu_position[1] - 260], [500, 260], get_menu_alpha * 255);

  }

  // Indicators
  if (vars.get_bool("js.Indicators") == true)
  {

    if (vars.is_bind_active("inverter"))
    {

      get_desync_side = " >";

    }
    else
    {

      get_desync_side = " <";

    }

    if (cheat.get_desync_amount() <= 0)
    {

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 10], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, indicators_style, "bebro: " + get_desync_amount + "°" + get_desync_side);
      render.text([get_screen_size[0] / 2 - 30, get_screen_size[1] / 2 - 8], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, indicators_style, "|");
      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 - 6], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, 1, "+");

    }
    else if (cheat.get_desync_amount() >= 0)
    {

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 10], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, indicators_style, "bebro: " + get_desync_amount + "°" + get_desync_side);
      render.text([get_screen_size[0] / 2 + 30, get_screen_size[1] / 2 - 8], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, indicators_style, "|");
      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 - 6], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, 1, "+");

    }

    // Doubletap
    if (vars.is_bind_active("doubletap"))
    {

      if (dt_alpha < 255)
      {

        if (vars.get_int("js.Indicators_smoothness") !== 0)
        {

          dt_alpha = dt_alpha + vars.get_int("js.Indicators_smoothness");

        }
        else
        {

          dt_alpha = 255;

        }

      }
      else
      {

        dt_alpha = 255;

      }

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 30 + (10 * indicators_count)], [indicators_blue_color, indicators_green_color, indicators_red_color, dt_alpha], 10, indicators_style, "rapid");
      indicators_count = indicators_count + 1;

    }
    else
    {

      dt_alpha = 0;

    }

    // Hideshots
    if (vars.is_bind_active("hide_shots"))
    {

      if (vars.get_int("js.Indicators_smoothness") !== 0)
      {

        hs_alpha = hs_alpha + vars.get_int("js.Indicators_smoothness");

      }
      else
      {

        hs_alpha = 255;

      }

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 30 + (10 * indicators_count)], [indicators_blue_color, indicators_green_color, indicators_red_color, hs_alpha], 10, indicators_style, "hide");
      indicators_count = indicators_count + 1

    }
    else
    {

      hs_alpha = 0;

    }

    // Force body
    if (vars.is_bind_active("body_aim"))
    {

      if (vars.get_int("js.Indicators_smoothness") !== 0)
      {

        fb_alpha = fb_alpha + vars.get_int("js.Indicators_smoothness");

      }
      else
      {

        fb_alpha = 255;

      }

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 30 + (10 * indicators_count)], [indicators_blue_color, indicators_green_color, indicators_red_color, fb_alpha], 10, indicators_style, "body");
      indicators_count = indicators_count + 1

    }
    else
    {

      fb_alpha = 0;

    }

    // Override damage
    if (vars.is_bind_active("override_damage"))
    {

      if (vars.get_int("js.Indicators_smoothness") !== 0)
      {

        dmg_alpha = dmg_alpha + vars.get_int("js.Indicators_smoothness");

      }
      else
      {

        dmg_alpha = 255;

      }

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 30 + (10 * indicators_count)], [indicators_blue_color, indicators_green_color, indicators_red_color, dmg_alpha], 10, indicators_style, "dmg");
      indicators_count = indicators_count + 1

    }
    else
    {

      dmg_alpha = 0;

    }

    // Safe points
    if (vars.is_bind_active("force_safepoints"))
    {

      if (vars.get_int("js.Indicators_smoothness") !== 0)
      {

        sp_alpha = sp_alpha + vars.get_int("js.Indicators_smoothness");

      }
      else
      {

        sp_alpha = 255;

      }

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 30 + (10 * indicators_count)], [indicators_blue_color, indicators_green_color, indicators_red_color, sp_alpha], 10, indicators_style, "safe");
      indicators_count = indicators_count + 1

    }
    else
    {

      sp_alpha = 0;

    }

    // Fake duck
    if (vars.is_bind_active("fake_duck"))
    {

      if (vars.get_int("js.Indicators_smoothness") !== 0)
      {

        fd_alpha = fd_alpha + vars.get_int("js.Indicators_smoothness");

      }
      else
      {

        fd_alpha = 255;

      }

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 30 + (10 * indicators_count)], [indicators_blue_color, indicators_green_color, indicators_red_color, fd_alpha], 10, indicators_style, "duck");
      indicators_count = indicators_count + 1

    }
    else
    {

      fd_alpha = 0;

    }

    // Peek assist
    if (vars.is_bind_active("peek_assist"))
    {

      if (vars.get_int("js.Indicators_smoothness") !== 0)
      {

        pa_alpha = pa_alpha + vars.get_int("js.Indicators_smoothness");

      }
      else
      {

        pa_alpha = 255;

      }

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 30 + (10 * indicators_count)], [indicators_blue_color, indicators_green_color, indicators_red_color, pa_alpha], 10, indicators_style, "peek");
      indicators_count = indicators_count + 1

    }
    else
    {

      pa_alpha = 0;

    }

    // Body lean
    if (vars.is_bind_active("ensure_lean"))
    {

      if (vars.get_int("js.Indicators_smoothness") !== 0)
      {

        bl_alpha = bl_alpha + vars.get_int("js.Indicators_smoothness");

      }
      else
      {

        bl_alpha = 255;

      }

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 30 + (10 * indicators_count)], [indicators_blue_color, indicators_green_color, indicators_red_color, bl_alpha], 10, indicators_style, "roll");
      indicators_count = indicators_count + 1

    }
    else
    {

      bl_alpha = 0;

    }

    // Manual left
    if (vars.is_bind_active("manual_left"))
    {

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 20], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, indicators_style, "left");

    }

    // Manual right
    else if (vars.is_bind_active("manual_right"))
    {

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 20], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, indicators_style, "right");

    }

    // Manual back
    else if (vars.is_bind_active("manual_back"))
    {

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 20], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, indicators_style, "back");

    }

    // Manual forward
    else if (vars.is_bind_active("manual_forward"))
    {

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 20], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, indicators_style, "forward");

    }

    // At targets
    else if (vars.get_bool("antiaim.attarget"))
    {

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 20], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, indicators_style, "at targets");

    }
    else
    {

      render.text([get_screen_size[0] / 2, get_screen_size[1] / 2 + 20], [indicators_blue_color, indicators_green_color, indicators_red_color, 255], 10, indicators_style, "at crosshair");

    }

    indicators_count = 0;

  }

  // Fog changer
  if (vars.get_bool("js.Custom_fog") == true)
  {

    convars.set_int("fog_override", 1)
    convars.set_int("fog_enable", 1)
    convars.set_int("fog_enableskybox", 1)
    convars.set_int("fog_start", 0)
    convars.set_int("fog_startskybox", 0)
    convars.set_int("fog_end", 1500)
    convars.set_int("fog_endskybox", 1500)
    convars.set_string("fog_color", fog_red_color + " " + fog_green_color + " " + fog_blue_color)
    convars.set_string("fog_colorskybox", fog_red_color + " " + fog_green_color + " " + fog_blue_color)
    convars.set_float("fog_maxdensity", fog_maxdensity)
    convars.set_float("fog_maxdensityskybox", fog_maxdensity)

  }
  else
  {

    convars.set_int("fog_override", 0)

  }

  // Weapon viewmodel in scope
  if (vars.get_bool("js.Weapon_viewmodel_in_scope") == true)
  {

    convars.set_int("fov_cs_debug", 90);

  }
  else
  {

    convars.set_int("fov_cs_debug", 0);

  }

}

// Create move
function Createmove()
{

  // Variables
  var get_tick_count = global_vars.tick_count();
  var delay = get_tick_count % 3 == 1 ? true : false

  // Leg breaker
  if (vars.get_bool("js.Leg_breaker") == true)
  {

    vars.set_bool("misc.slidewalk", delay);

  }

  // Clan tag
  var clan_tag_time = parseInt((global_vars.curtime() * 2));

  if (clan_tag_time != clan_tag_last_time)
  {
    switch((clan_tag_time) % 13)
    {

      case 0: { cheat.set_clantag("     "); break; }
      case 1: { cheat.set_clantag("b    "); break; }
      case 2: { cheat.set_clantag("be   "); break; }
      case 3: { cheat.set_clantag("beb  "); break; }
      case 4: { cheat.set_clantag("bebr "); break; }
      case 5: { cheat.set_clantag("bebro"); break; }
      case 6: { cheat.set_clantag("bebro"); break; }
      case 7: { cheat.set_clantag("bebro"); break; }
      case 8: { cheat.set_clantag("bebr "); break; }
      case 9: { cheat.set_clantag("beb  "); break; }
      case 10:{ cheat.set_clantag("be   "); break; }
      case 11:{ cheat.set_clantag("b    "); break; }
      case 12:{ cheat.set_clantag("     "); break; }

    }

  }

  clan_tag_last_time = clan_tag_time;

}

// Trash talk
function Trashtalk()
{

  // Variables
  var trash_talk = vars.get_int("js.Trash_talk");
  var get_local_player = entity.get_local_player();
  var get_attacker_index = entity.get_player_for_user_id(current_event.get_int("attacker"));
  var get_userid_index = entity.get_player_for_user_id(current_event.get_int("userid"));
  var kill_say = ["tresh-tolk js by rezolver", "FREE СВОБОДНЫЙ CFG✦ t.me/rezolver1337", "Слив JS t.me/rezolver1337", "FREE БЕСПЛАТНАЯ БИБЛИОТЕКА DLL✦ t.me/rezolver1337", "INJECTOR СВОБОДНЫЙ ИНЖЕКТОР✦ t.me/rezolver1337", "UPDATE ОБНОВЛЕНИЕ ЧИТ И CFG✦ t.me/rezolver1337", "HELP ПОМОЩЬ С ЧИТЫ ИЛИ КОНФИГУРАЦИЙ✦ t.me/rezolver1337", "1 by RezCORD.js (150 рублей)"];

  if (trash_talk == true)
  {

    if (get_attacker_index == get_local_player && get_attacker_index != get_userid_index)
    {

      kill_say = kill_say[math.random_int(0, kill_say.length)]
      cheat.execute_command("say " + kill_say);

    }

  }

}

// Unload
function Unload()
{

  cheat.set_clantag("")
  convars.set_int("fog_override", 0)
  convars.set_int("fov_cs_debug", 0)
  cheat.log("Bebro successfully unloaded!");

}

// Callbacks
register_callback("render", Render);
register_callback("createmove", Createmove);
register_callback("player_death", Trashtalk);
register_callback("unload", Unload);
 

Вложения

Последнее редактирование:
legacy king
Начинающий
Статус
Оффлайн
Регистрация
29 Апр 2021
Сообщения
156
Реакции[?]
17
Поинты[?]
1K
почему просто не сделать вместо этого

Код:
  if (vars.is_bind_active("inverter"))
    {

      get_desync_side = " >";

    }
    else
    {

      get_desync_side = " <";
это
Код:
 var inverter_state = vars.is_bind_active("inverter") ? ">" : "<"
и такой хуйни ещё много..
 
#6464FF
Участник
Статус
Оффлайн
Регистрация
22 Мар 2020
Сообщения
561
Реакции[?]
225
Поинты[?]
4K
почему просто не сделать вместо этого

Код:
  if (vars.is_bind_active("inverter"))
    {

      get_desync_side = " >";

    }
    else
    {

      get_desync_side = " <";
это
Код:
 var inverter_state = vars.is_bind_active("inverter") ? ">" : "<"
и такой хуйни ещё много..
я бы ответил тебе, но за такое забанят тут
 
Сверху Снизу