-
Автор темы
- #1
Данный скрипт не проверялся модераторами, так как является кряком приватной LUA и в нём может присутствовать обфускация. Даже известные пользователи могут выложить вредоносный скрипт под видом крякнутого, поэтому любое использование исключительно на свой страх и риск.
matthew owned
code_language.lua:
local local_player = engine.get_local_player()
local is_alive = local_player:is_alive()
local user_name = menu.get_username()
local uid = menu.get_uid()
--antiaim
local enable = menu.add_text("\nAnti-Aim features:\n___________________________________________________")
local enable_pitchran = menu.add_checkbox("On-shot pitch mode randomizer", false)
local enable_real = menu.add_checkbox("Real mode randomizer", false)
local desync_sway = menu.add_checkbox("Enable desync-sway", false)
local qp_exploit = menu.add_checkbox("Quickpeek exploit (with dt)", false)
-- misc
local enable = menu.add_text("\n\nMisc features:\n___________________________________________________")
local enable_clantag = menu.add_checkbox("Enable clantag changer",false);
local activate_watermark = menu.add_checkbox("Enable indicators",false);
local update_modelchanger = menu.add_checkbox("Update modelchanger (check and uncheck)",false);
local text = menu.add_text("\nPlayer model location path:")
local inputbox = menu.add_text_input_box("Location Path", "")
local enable_fast_duck=menu.add_checkbox("Enable infinite duck",false)
local enable_fast_duck_item=menu.get(enable_fast_duck)
-- visual
local lololol = menu.add_text("Visual features:\n___________________________________________________")
local enable_pulse = menu.add_checkbox("Pulse model on hitscan", false)
local enable_color = menu.add_checkbox("Enable color-switch", false)
local deatheffect = menu.add_checkbox("Enable death-effect", false)
-- Tate tag
tag={"T|","Ta|","Tat|","Tate|","Tate |","Tate L|","Tate Lu|","Tate Lua"," "}
local index=1
function update_clantag()
general.override_clantag(tag[index]);
index=index+1
if(index==#tag) then
index=1
end
end
hooks.add_callback("on_delayed_loop",function()
if(not menu.get(enable_clantag):get_bool()) then
general.override_clantag("")
return
end
update_clantag()
end)
-- Pitch randomizer
local pitchGrabbed = false
local pitchGrabbed = false
hooks.add_callback("on_shot_info", function()
if pitchGrabbed then
return
end
local pitchmodebefore = menu_antiaim.get_pitch()
if not menu.get(enable_pitchran):get_bool() then
return
end
menu_antiaim.set_pitch(1)
hooks.add_delayed_callback(0.1, function()
menu_antiaim.set_pitch(pitchmodebefore)
pitchGrabbed = false -- Reset the flag after restoring the pitch
end)
pitchGrabbed = true
end)
-- real randomizer
hooks.add_callback("on_delayed_loop",function()
if(not menu.get(enable_real):get_bool()) then
return
end
menu_antiaim.set_real_mode(0)
hooks.add_delayed_callback(0.2, function()
menu_antiaim.set_real_mode(3)
end)
end)
--model changer
local function updatemodel()
if(not menu.get(update_modelchanger):get_bool()) then
return
end
local local_player = engine.get_local_player()
if local_player == nil then
return
end
local inputboxstring = menu.get(inputbox):get_text():gsub("\\", "/")
if inputboxstring:match(".mdl$") then
local modelpath = menu.get(inputbox):get_text()
model_info.precache_model(modelpath)
local model_index = model_info.get_model_index(modelpath)
local_player:set_model_index(model_index)
end
end
hooks.add_callback("on_draw", updatemodel)
local scope_color_index = menu.add_colorpicker("scope_color", 220, 220, 220, 130, true);
menu.add_text("Custom scope");
local activate_scope = menu.add_checkbox("Activate", false);
local r7_colors_index = menu.add_checkbox("Rainbow", false);
local size_index = menu.add_slider("Size", 10, 1, 25);
local offset_index = menu.add_slider("Inner distance", 7, 0, 50);
local size = 0;
--custom scope
function scope()
if(not menu.get(activate_scope):get_bool()) then
renderer.disable_scope_drawing(false)
return
end
renderer.disable_scope_drawing(true);
local player = engine.get_view_target();
if(player == nil or player:is_scoped() == false or player:get_active_weapon() == nil or player:get_active_weapon():is_sniper() == false) then
size = 0;
return
end
local length = renderer.get_screen_height() / menu.get(size_index):get_float();
if(size < length) then
-- excuse me for this ugly mess but lua is gay.
local update_frequency = length / 0.07;
local step = update_frequency * global_vars.get_frame_time();
size = size + step;
if(size >= length) then
size = length;
end
end
local scope_offset = menu.get(offset_index):get_float();
local center_x = renderer.get_center().x;
local center_y = renderer.get_center().y;
local color = menu.get(scope_color_index):get_color();
if(menu.get(r7_colors_index):get_bool()) then
color = general.get_smooth_colors();
end
renderer.draw_line_multicolored(center_x + scope_offset, center_y, center_x + size, center_y, color:r(), color:g(), color:b(), color:a(), color:r(), color:g(), color:b(), 0);
renderer.draw_line_multicolored(center_x, center_y + scope_offset, center_x, center_y + size, color:r(), color:g(), color:b(), color:a(), color:r(), color:g(), color:b(), 0);
renderer.draw_line_multicolored(center_x - size, center_y, center_x - scope_offset, center_y, color:r(), color:g(), color:b(), 0, color:r(), color:g(), color:b(), color:a());
renderer.draw_line_multicolored(center_x, center_y - size, center_x, center_y - scope_offset, color:r(), color:g(), color:b(), 0, color:r(), color:g(), color:b(), color:a());
end
hooks.add_callback("on_draw", scope)
function enable_scope_drawing()
renderer.disable_scope_drawing(false);
end
hooks.add_lua_unload_callback(enable_scope_drawing)
menu.add_text("\n.dev Features:\n___________________________________________________")
local activate_mindmg = menu.add_checkbox("Dynamic min. dmg.", false);
local activate_mindmg = menu.add_checkbox("Dynamic doubletap", false);
local menu_text = menu.add_text("\nKeybind for crouch-layer exploit:")
local enable_crouchlayer = menu.add_checkbox("Enable crouch-layer exploit", false)
local keybind = menu.add_keybind("Keybind", 0, 0, 0);
-- quickpeek exploit
local function check_quickpeek_position()
if(not menu.get(qp_exploit):get_bool()) then
return
end
local quickpeek_origin = ragebot.get_quickpeek_origin()
if quickpeek_origin ~= nil and quickpeek_origin:is_valid() then
ragebot.force_teleport()
end
end
hooks.add_callback("on_createmove", check_quickpeek_position)
--desync sway
local desync_values = {0, 20, 0, 60, 40, 60}
local current_index = 1
function desyncsway()
if not menu.get(desync_sway):get_bool() then
return
end
menu_antiaim.set_desync(desync_values[current_index])
current_index = current_index + 1
if current_index > #desync_values then
current_index = 1
end
end
hooks.add_callback("on_delayed_loop", desyncsway)
--indicators
function indicatorstest()
local activeornot = menu_ragebot.get_double_tap_key()
local is_ingame_connected = engine.is_ingame() and engine.is_connected()
local watermark_on = menu.get(activate_watermark):get_bool()
if (not activeornot and is_ingame_connected and watermark_on and is_alive) then
renderer.draw_text(renderer.get_center().x, renderer.get_center().y + 20, "DT", renderer.get_font(fonts.tahoma_12_bold), 255, 255, 255, 255, bit.bor(font_flags.outline, font_flags.centered_x))
return
end
if (activeornot and is_ingame_connected and watermark_on and is_alive) then
renderer.draw_text(renderer.get_center().x, renderer.get_center().y + 20, "DT", renderer.get_font(fonts.tahoma_12_bold), 255, 0, 0, 200, bit.bor(font_flags.outline, font_flags.centered_x))
end
end
hooks.add_callback("on_draw", indicatorstest)
function aaway()
local is_ingame_connected = engine.is_ingame() and engine.is_connected()
local aaside = antiaim.get_manual_direction()
local watermark_on = menu.get(activate_watermark):get_bool()
if (is_ingame_connected and watermark_on and is_alive) then
local text_to_render = ""
if (aaside == 0) then
text_to_render = "LEFT"
elseif (aaside == 2) then
text_to_render = "RIGHT"
elseif (aaside == 3) then
text_to_render = "BACK"
else
text_to_render = "DEFAULT"
end
renderer.draw_text(renderer.get_center().x, renderer.get_center().y + 40, text_to_render, renderer.get_font(fonts.tahoma_12_bold), 255, 50, 200, 200, bit.bor(font_flags.outline, font_flags.centered_x))
end
end
hooks.add_callback("on_draw", aaway)
function on_draw()
local is_ingame_connected = engine.is_ingame() and engine.is_connected()
local watermark_on = menu.get(activate_watermark):get_bool()
local local_player = engine.get_local_player()
local is_thirdperson = general.is_in_thirdperson()
if (local_player and watermark_on and is_ingame_connected and is_alive and is_thirdperson) then
renderer.draw_player_profile_picture(local_player:get_index(), renderer.get_center().x, renderer.get_center().y + 250, 0, true)
end
end
hooks.add_callback("on_draw", on_draw)
-- menu bar
function loadedtate()
if menu.is_visible() then
local is_open = menu.is_visible()
local menu_pos_x = menu.get_menu_pos().x;
local menu_pos_y = menu.get_menu_pos().y;
color = general.get_smooth_colors();
-- Menu is open
renderer.draw_rectangle_filled(menu_pos_x + 0,menu_pos_y - 50,586,50,30,30,30,255,2)
renderer.draw_line_multicolored(menu_pos_x, menu_pos_y - 50, menu_pos_x + 586, menu_pos_y - 50, color:r(), color:g(), color:b(), color:a(), color:r(), color:g(), color:b(), 10);
renderer.draw_text(menu_pos_x + 150, menu_pos_y - 30, "Tate.lua .dev" .. " User: " .. user_name .. " VERSION 2.1.2", renderer.get_font(fonts.tahoma_12_bold), 255, 255, 255, 255, bit.bor(font_flags.outline, font_flags.drop_shadow))
end
end
hooks.add_callback("on_draw", loadedtate)
-- crouclayer exploit
-- infduck
hooks.add_callback("on_createmove",function(cmd)
cmd:add_button(buttons.bull_rush)
end)
function getkey()
local get_keybind_used = menu.get(keybind):get_keybind_button()
is_key_active = general.is_key_active(get_keybind_used, 0)
end
hooks.add_callback("on_createmove", getkey)
frame_counter = 0
current_index_frame = 1
values = {"+duck", "-duck"}
function tickcount()
frame_counter = frame_counter + 1
if frame_counter >= 10 then
current_index_frame = current_index_frame + 1
frame_counter = 0
end
if current_index_frame > #values then
current_index_frame = 1
end
end
hooks.add_callback("on_paint", tickcount)
function execute()
if(not menu.get(enable_crouchlayer):get_bool() or not is_key_active) then
return
end
engine.execute_console_command(values[current_index_frame])
end
hooks.add_callback("on_createmove", execute)
-- count da frahames
frame_counter_model = 0
current_index_model = 1
values_model = {0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.55, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9, 0.85, 0.8, 0.75, 0.7, 0.65, 0.6, 0.55, 0.5, 0.45, 0.4, 0.35, 0.3, 0.25, 0.2}
function tickcount()
frame_counter_model = frame_counter_model + 1
if frame_counter_model >= 10 then
current_index_model = current_index_model + 1
frame_counter_model = 0
end
if current_index_model > #values_model then
current_index_model = 1
end
end
hooks.add_callback("on_paint", tickcount)
-- for modepulse
local_player = engine.get_local_player()
is_alive = local_player:is_alive()
function print1(on_hitscan)
should_pulse = true
end
hooks.add_callback("on_hitscan", print1)
function pulsemodel(on_drawmodel)
if (not menu.get(enable_pulse):get_bool() or not is_alive or not should_pulse) then
return
end
model_render.set_alpha(values_model[current_index_model])
end
hooks.add_callback("on_drawmodel", pulsemodel)
function returnfalse()
should_pulse = false
end
hooks.add_callback("on_delayed_loop", returnfalse)
-- color thing
function color(on_drawmodel)
if(not menu.get(enable_color):get_bool() or not is_alive) then
return
end
model_render.set_color(200, 0, 0)
end
hooks.add_callback("on_drawmodel", color)
--death-effect
function event_callback(event)
if not menu.get(deatheffect):get_bool() then
return
end
if(event:get_name() == "bullet_impact") then
local index_of_player = engine.get_player_for_uid(event:get_int("userid"));
local player = entity_list.get_entity(index_of_player);
local viewtarget = engine.get_view_target();
if (player ~= nil and viewtarget ~= nil and player == viewtarget) then
effects.dispatch_particle_effect("weapon_sensorgren_detonate", event:get_float("x"), event:get_float("y"), event:get_float("z"));
end
end
end
hooks.add_callback("on_event", event_callback);