Начинающий
-
Автор темы
- #1
Данный скрипт не проверялся модераторами, так как является кряком приватной LUA и в нём может присутствовать обфускация. Даже известные пользователи могут выложить вредоносный скрипт под видом крякнутого, поэтому любое использование исключительно на свой страх и риск.
вот сюда вбиваете ваш ник легендвара и можете юзелесс играть
Удачи!
Апдейтнул*
Код:
local username = globals.get_username()
console.execute("clear")
print("================================")
print(" [tryway] loaded successfully.")
print(" [tryway] Welcome To tryway.lua.")
print(" [tryway] Developers: restenj.")
print(" [tryway] Discord: https://discord.gg/3yapDRs7.")
print(" [tryway] Logged in as: " .. username .. "")
print("================================")
menu.add_check_box("keybinds") menu.add_color_picker("Keybinds color")
menu.add_check_box("Watermark") menu.add_color_picker( "Watermark color" )
menu.add_check_box("Indicator under crosshair") menu.add_color_picker("line-color")
menu.add_check_box("Manual Arrows Indicators") menu.add_color_picker("Color Active Manual")
menu.add_check_box( "Advance logg" )
menu.add_check_box("Skeet indicators")
menu.add_check_box("Leg breaker")
menu.add_check_box("Inverted on shot")
menu.add_check_box("better edgeyaw") menu.add_key_bind("better edge yaw key")
menu.add_check_box("Low Delta") menu.add_key_bind("Low Delta key")
menu.add_check_box("Legit AA") menu.add_key_bind("Legit AA key")
menu.add_check_box("Clantag")
menu.add_check_box( "Killsay" )
menu.add_check_box("Thirdperson Distance") menu.add_slider_int("Distance", 0, 300 )
menu.add_slider_int("X", 0, engine.get_screen_width())
menu.add_slider_int("Y", 0, engine.get_screen_height())
local font = render.create_font("Verdana", 12, 400, true, false, false)
local font1 = render.create_font("Verdana", 11, 400, true, false, false)
local types = {"always", "holding", "toggled"}
local get_state, get_mode = menu.get_key_bind_state, menu.get_key_bind_mode
local screen_x, screen_y = engine.get_screen_width(), engine.get_screen_height()
local count = 0
local function add_bind(name, bind_name, x, y)
if get_state(bind_name) then
render.draw_text(font, x + 9, y + 20 + (15 * count), color.new(255, 255, 255), name)
text_width = render.get_text_width(font, "[" .. types[get_mode(bind_name) + 1] .. "]")
render.draw_text(font1, x + 148 - text_width - 5, y + 23 + (15 * count), color.new(255, 255, 255), "[" .. types[get_mode(bind_name) + 1] .. "]")
count = count + 1
end
end
local function on_paint()
if not menu.get_bool("keybinds") then
return
end
if not engine.is_in_game() then
return
end
local watermarkcolor = menu.get_color("Keybinds color")
local pos_x = menu.get_int("X")
local pos_y = menu.get_int("Y")
render.draw_rect_filled(pos_x, pos_y, 150, 19,color.new(17, 17, 17))
render.draw_text(font, pos_x + 50, pos_y + 2, color.new(255, 255, 255), "keybinds")
render.draw_rect_filled(pos_x, pos_y - 3, 150, 2, watermarkcolor)
count = 0
add_bind("On-shot anti-aim", "rage.hide_shots_key", pos_x + 3, pos_y + 1)
add_bind("Jump at edge", "misc.edge_jump_key", pos_x + 3, pos_y + 1)
add_bind("Double tap", "rage.double_tap_key", pos_x + 3, pos_y + 1)
add_bind("Slow motion", "misc.slow_walk_key", pos_x + 3, pos_y + 1)
add_bind("Force damage", "rage.force_damage_key", pos_x + 3, pos_y + 1)
add_bind("Anti-aim inverter", "anti_aim.invert_desync_key", pos_x + 3, pos_y + 1)
add_bind("Duck peek assist", "anti_aim.fake_duck_key", pos_x + 3, pos_y + 1)
add_bind("Quick peek assist", "misc.automatic_peek_key", pos_x + 3, pos_y + 1)
end
client.add_callback("on_paint", on_paint)
local font = render.create_font("Verdana", 13, 400, true, true, false)
client.add_callback("on_paint", function()
if menu.get_bool("Watermark") then
local screen_width = engine.get_screen_width()
local username = globals.get_username()
local ping = tostring(globals.get_ping())
local tickrate = math.floor(1.0 / globals.get_intervalpertick())
local text
if engine.is_connected() then
text = tostring(" tryway [beta] | version: 1 [release] | user: [" .. username .. "] | " .. ping .. " / " .. tickrate .. "")
else
text = tostring(" tryway [beta] | user: [" .. username .. "]")
end
local width = render.get_text_width(font, text)
local watermarkcolor1 = menu.get_color("Watermark color")
local text_color = color.new(255, 255, 255)
local x = screen_width - 10 - width - 4
local y = 10
local w = width + 5
render.draw_rect_filled(x, y - 1, w, 2,watermarkcolor1)
render.draw_rect_filled(x,11, w, 18,color.new(17, 17, 17))
render.draw_text(font, x + 2, y + 4, text_color, text)
end
end)
local ffi = require "ffi"
ffi.cdef[[
typedef uintptr_t (__thiscall* GetClientEntity_4242425_t)(void*, int);
]]
local ClientEntinyList = ffi.cast("void***", utils.create_interface("client.dll", "VClientEntityList003"))
local GetClientEntity = ffi.cast("GetClientEntity_4242425_t", ClientEntinyList[0][3])
local ffi_helpers = {
GetEntinyAdress = function(Index)
local adress = GetClientEntity(ClientEntinyList, Index)
return adress
end
}
client.add_callback( "on_paint", function()
local localplayer = entitylist.get_local_player()
if not localplayer then return end
if menu.get_bool("Leg breaker") then
ffi.cast("float*", ffi_helpers.GetEntinyAdress(localplayer:get_index()) + 10100)[0] = 0
if globals.get_tickcount() % 2 == 1 then
menu.set_int( "misc.leg_movement", 1 )
else
menu.set_int( "misc.leg_movement", 2 )
end
end
end)
local desync_range = menu.get_int("anti_aim.desync_range")
local desync_range_inverted = menu.get_int("anti_aim.desync_range_inverted")
client.add_callback("on_paint", function()
if menu.get_bool("Low Delta") then
if menu.get_key_bind_state("Low Delta key") then
menu.set_int("anti_aim.desync_range", 17)
menu.set_int("anti_aim.desync_range_inverted", 22)
else
menu.set_int("anti_aim.desync_range", desync_range)
menu.set_int("anti_aim.desync_range_inverted", desync_range_inverted)
end
end
end)
client.add_callback("on_paint", function()
if menu.get_bool("Legit AA") then
if menu.get_key_bind_state("Legit AA key") then
menu.set_int("anti_aim.pitch", 0)
menu.set_int("anti_aim.yaw_offset", 180)
else
menu.set_int("anti_aim.pitch", 1)
menu.set_int("anti_aim.yaw_offset", 7)
end
end
end)
local ffi = require "ffi"
ffi.cdef[[
typedef int(__fastcall* clantag_t)(const char*, const char*);
]]
local fn_change_clantag = utils.find_signature("engine.dll", "53 56 57 8B DA 8B F9 FF 15")
local set_clantag = ffi.cast("clantag_t", fn_change_clantag)
function round(num, numDecimalPlaces)
local mult = 3^(numDecimalPlaces or 0)
return math.floor(num * mult + 0.4) / mult
end
local animation = {
"t",
"tr",
"try",
"tryw",
"trywa",
"tryway",
"tryway",
"tryway.",
"tryway.l",
"tryway.lu",
"tryway.lua",
"tryway.lu",
"tryway.l",
"tryway.",
"tryway",
"trywa",
"tryw",
"try",
"tr",
"t",
"",
}
local old_time = 0
client.add_callback("on_paint", function()
if menu.get_bool("Clantag") then
local curtime = math.floor(globals.get_curtime()*5)
if old_time ~= curtime and (globals.get_tickcount() % 3) == 1 then
set_clantag(animation[curtime % #animation+1], animation[curtime % #animation+1])
old_time = curtime
end
end
end)
function on_shot(shot_info)
if menu.get_bool("Inverted on shot") then
if menu.get_key_bind_state("anti_aim.invert_desync_key") then
menu.set_bool("anti_aim.invert_desync_key", false)
else
menu.set_bool("anti_aim.invert_desync_key", true)
end
end
end
client.add_callback("on_shot", on_shot)
console.execute( "con_filter_enable 1 ")
console.execute( "con_filter_text out hajksddsnkjcakhkjash" )
console.execute( "con_filter_text hjkasdhjadskdhasjkasd 1" )
local function thirdperson()
if menu.get_bool("Thirdperson Distance") then
local tpd = menu.get_int("Distance")
menu.set_int("misc.third_person_distance", tpd)
end
end
client.add_callback("create_move", thirdperson)
local font = render.create_font( "Calibri", 23, 700, true, true, false )
local color0 = color.new(132, 195, 16)
local x, y = engine.get_screen_width() / 115 , engine.get_screen_height() / 1.30
local offset = 40
local offsety = 50
local offsety1 = 60
local offsety2 = 285
local offsety3 = 255
local offsetx = 100
local offsetx1 = 15
local function indicatorss()
if menu.get_bool("Skeet indicators") then
local is_ingame = engine.is_in_game()
local dt = menu.get_key_bind_state( "rage.double_tap_key" )
local fd = menu.get_key_bind_state( "anti_aim.fake_duck_key" )
local dmg = menu.get_key_bind_state( "rage.force_damage_key" )
local hs = menu.get_key_bind_state( "rage.hide_shots_key" )
local fl = menu.get_int("anti_aim.fake_lag_limit")
local fl1 = menu.get_bool("anti_aim.enable_fake_lag")
local ahs = menu.get_key_bind_state( "rage.hide_shots_key" )
if is_ingame then
local lp = entitylist.get_local_player()
local lp_health = lp:get_health()
if lp_health > 0 then
if dt then
space1 = 25
render.draw_text( font, engine.get_screen_width()/2 - 944, engine.get_screen_height()/2 + offsety2, color.new(255, 255, 255), "DT" )
else
space1 = 0
end
if fd then
space2 = 25
render.draw_text( font, x, y + space1, color.new(255, 255, 255), "DUCK" )
else
space2 = 0
end
if dmg then
space3 = 25
render.draw_text( font, x, y + space1 + space2, color.new(255, 255, 255), "DMG" )
else
space3 = 0
end
if hs then
space4 = 25
render.draw_text( font, x, y + space1 + space2 + space3, color0, "ONSHOT" )
else
space4 = 0
end
if fl1 then
space3 = 25
render.draw_text( font, engine.get_screen_width()/2 - 944, engine.get_screen_height()/2 + offsety3, color.new(129, 133, 252,255), "FL: "..fl)
else
space3 = 0
end
end
end
end
end
client.add_callback( "on_paint", indicatorss )
local randomNo
local killtext
function killsay(event)
if menu.get_bool("Killsay") then
local attacker = engine.get_player_for_user_id(event:get_int("attacker"))
local dead = engine.get_player_for_user_id(event:get_int("userid"))
local me = engine.get_local_player_index()
if attacker == me and dead ~= me then
killtext = {
"Nice cfg you sell",
"Прикупи кордик у restenj на legendware",
"best lua tryway.lua",
"tryway the best",
"Мамонт, без tryway.lua",
"Хочешь в gum? Попробуй tryway.lua",
"Интересный факт , у tryway.lua юзеров член 100 см",
"Устал от ненужных и однотипных скриптов? Попробуй tryway.lua",
"Жду оправданий в чате ◣_◢",
"by best lua * tryway.lua *",
"Это так, да, это так, сосать это талант",}
randomNo = math.random (1,13)
console.execute ("say " .. killtext[randomNo])
end
end
end
events.register_event("player_death", killsay)
client.add_callback( "on_shot", function(shot_info)
local result = shot_info.result
local unreg_hitbox = shot_info.client_hitbox
local reg_hitbox = shot_info.server_hitbox
local safe = shot_info.safe
local i = shot_info.target_index
local name = engine.get_player_info(i).name
local unreg_dmg = shot_info.client_damage
local reg_dmg = shot_info.server_damage
local hc = shot_info.hitchance
if menu.get_bool( "Advance logg" ) == false then return end
if result == "Hit" then
client.log("[Tryway.lua] Registed shot in "..name.." in the "..reg_hitbox.. "("..unreg_hitbox..") for damage ["..reg_dmg.. "("..unreg_dmg..") (hc="..hc.."%%) (safepoint="..tostring(safe)..")]")
elseif result == "Spread" then
if hc ~= 100 then
client.log("[Tryway.lua] Missed shot in "..name.." due to [ spread ] in the ("..unreg_hitbox..") for damage ["..reg_dmg.. "("..unreg_dmg..") (hc="..hc.."%%) (safepoint="..tostring(safe)..")]")
else
client.log("[Tryway.lua] Missed shot in "..name.." due to [ occlusion ] in the ("..unreg_hitbox..") for damage ["..reg_dmg.. "("..unreg_dmg..") (hc="..hc.."%%) (safepoint="..tostring(safe)..")]")
end
elseif result == "Resolver" then
client.log("[Tryway.lua] Missed shot in "..name.." due to [ resolver ] in the ("..unreg_hitbox..") for damage ["..reg_dmg.. "("..unreg_dmg..") (hc="..hc.."%%) (safepoint="..tostring(safe)..")]")
else
client.log("[Tryway.lua] Missed shot in "..name.." due to [ unknown ] in the ("..unreg_hitbox..") for damage ["..reg_dmg.. "("..unreg_dmg..") (hc="..hc.."%%) (safepoint="..tostring(safe)..")]")
end
end)
client.add_callback( "unload", function()
ffi.cast("CCSGOPlayerAnimationState_534535_t**", ffi_helpers.get_entity_address(localplayer:get_index()) + 14612)[0].flDurationInAir = 1 -- 99 to enable / 1 to disable
ffi.cast("CCSGOPlayerAnimationState_534535_t**", ffi_helpers.get_entity_address(localplayer:get_index()) + 14612)[0].flHitGroundCycle = 0
ffi.cast("CCSGOPlayerAnimationState_534535_t**", ffi_helpers.get_entity_address(localplayer:get_index()) + 14612)[0].bHitGroundAnimation = false
menu.set_bool( "misc.logs", cache )
end)
local user = {
["cracker22811337"] = true,
["MayersFX"] = true,
["ZHOPSIK2222SSS"] = true,
["M3rf1"] = true,
["tos"] = true,
["ilushagas"] = true,
["Reich"] = true,
["shoitt1337"] = true,
["xerion"] = true,
["melnaruto"] = true,
["corny"] = true,
["ampheplaya"] = true,
["TheWrey"] = true,
["mafronix1337"] = true,
["hvhlegend1337"] = true,
["ryobi28"] = true,
["N1lanser"] = true,
["Kinder"] = true,
["ganzu"] = true,
["Wozawush"] = true,
["triplex1337"] = true,
["M1dRi9hT"] = true,
["WIther1488"] = true,
["kokolight21"] = true,
["Thornax"] = true,
["Varynchi"] = true,
["Dexenber"] = true,
["TromI4I"] = true,
["markell"] = true,
["egoran900"] = true,
["crouje"] = true,
}
local ffi = require("ffi")
local UnhsAEhFcg = 1839226496
local function pqhUziiLXh()
local NdkBMTqxLS = 4194228727
end
client.add_callback( "on_paint", pqhUziiLXh)
local function pqhUziiLXh()
end
client.add_callback( "on_paint", pqhUziiLXh)
local entity=render.create_font("Calibri Bold",16,4,false,true,false)
local cpfont = render.create_font("Calibri Bold", 16, 4, false, true, false)
local sw, sh = engine.get_screen_width(), engine.get_screen_height()
ffi.cdef[[
typedef unsigned char BYTE;
typedef void *PVOID;
typedef PVOID HMODULE;
typedef const char *LPCSTR;
typedef int *FARPROC;
HMODULE GetModuleHandleA(
LPCSTR lpModuleName
);
FARPROC GetProcAddress(
HMODULE hModule,
LPCSTR lpProcName
);
typedef struct{
BYTE r, g, b, a;
} Color;
typedef void(__cdecl *ColorMsgFn)(Color&, const char*);
]]
local ConsolePrint = function(label, r, g, b, a)
local ConColorMsg = ffi.cast("ColorMsgFn", ffi.C.GetProcAddress(ffi.C.GetModuleHandleA("tier0.dll"), "?ConColorMsg@@YAXABVColor@@PBDZZ"))
local color = ffi.new("Color")
color.r = r
color.g = g
color.b = b
color.a = a
ConColorMsg( color, label )
end
local function l()
local pula=menu.get_color("line-color")
ballchunks = 1
local desync = menu.get_key_bind_state("anti_aim.invert_desync_key")
if menu.get_bool("Indicator under crosshair") then
if engine.is_connected() then
if desync then
render.draw_text(entity, sw/2-render.get_text_width(cpfont, "way")/2+ 8, sh/2+29, color.new(255, 255, 255), "way")
render.draw_text(entity, sw/2-render.get_text_width(cpfont, "try")/2- 11, sh/2+29, color.new(0, 0, 0, 50), "try")
render.draw_text(entity, sw/2-render.get_text_width(cpfont, "try")/2- 11, sh/2+28, color.new(128, 128, 128, 255), "try")
render.draw_text(entity, sw/2-render.get_text_width(cpfont, "________")/2, sh/2+32, pula, "________")
else
render.draw_text(entity, sw/2-render.get_text_width(cpfont, "try")/2- 11, sh/2+29, color.new(255, 255, 255), "try")
render.draw_text(entity, sw/2-render.get_text_width(cpfont, "way")/2+ 8, sh/2+29, color.new(0, 0, 0, 50), "way")
render.draw_text(entity, sw/2-render.get_text_width(cpfont, "way")/2+ 8, sh/2+28, color.new(128, 128, 128, 255), "way")
render.draw_text(entity, sw/2-render.get_text_width(cpfont, "________")/2, sh/2+32, pula, "________")
ballchunks = ballchunks + 1
end
end
end
end
client.add_callback("on_paint",l)
local font = render.create_font("Small Fonts", 10, 200, true, false, true)
local function bindactive(bind)
if menu.get_key_bind_state(bind) then
return true
else
return false
end
end
client.add_callback("on_paint", function()
if menu.get_bool("Indicator under crosshair") then
local dt = bindactive("rage.double_tap_key")
local offset = 2
local offset1 = -12
if(dt) then
render.draw_text(font, engine.get_screen_width()/2 - 4, engine.get_screen_height()/2 + 50, color.new(255, 255, 255), "DT")
end
end
end)
local screen_width = engine.get_screen_width()
local screen_x, screen_y = engine.get_screen_width(), engine.get_screen_height()
local localplayer = entitylist.get_local_player()
local font4 = render.create_font("Calibri", 17, 300, true, true, false) --Arrows
local font5 = render.create_font("Calibri", 17, 280, true, true, false) --Backward Arrow
local function bindactive(bind)
if menu.get_key_bind_state(bind) then
return true
else
return false
end
end
client.add_callback("on_paint", function()
if menu.get_bool("Manual Arrows Indicators") then
local color = menu.get_color("Color Active Manual")
local right = bindactive("anti_aim.manual_right_key")
local left = bindactive("anti_aim.manual_left_key")
local back = bindactive("anti_aim.manual_back_key")
local desync = menu.get_key_bind_state("anti_aim.invert_desync_key")
render.draw_text(font4, engine.get_screen_width()/2 + 29, engine.get_screen_height()/2 - 15, color.new(40, 40, 40), ">")
if(right) then
render.draw_text(font4, engine.get_screen_width()/2 + 29, engine.get_screen_height()/2 - 15, color, ">")
end
render.draw_text(font4, engine.get_screen_width()/2 -39, engine.get_screen_height()/2 -15 , color.new(40, 40, 40), "<")
if(left) then
render.draw_text(font4, engine.get_screen_width()/2 -39, engine.get_screen_height()/2 - 15, color, "<")
end
if desync then
render.draw_text(font4, engine.get_screen_width()/2 + 18, engine.get_screen_height()/2 - 15, color, ">")
else
render.draw_text(font4, engine.get_screen_width()/2 - 29, engine.get_screen_height()/2 - 15, color, "<")
end
end
end)
client.add_callback("on_paint" , function()
if menu.get_bool("better edgeyaw") then
if menu.get_key_bind_state("better edge yaw key") == true then
menu.set_bool("anti_aim.edge_yaw", false)
elseif menu.get_key_bind_state("misc.slow_walk_key") == false then
menu.set_bool("anti_aim.edge_yaw", true)
end
if menu.get_key_bind_state("misc.slow_walk_key") == true then
menu.set_bool("anti_aim.edge_yaw", false)
end
end
end)
local name = globals.get_username()
if user[name] == nil then
print("не, нихуя")
console.execute("quit")
else
end
Последнее редактирование: