feel irl
-
Автор темы
- #1
ss -
Код:
local render = fatality.render
local config = fatality.config
local menu = fatality.menu
local game_events = csgo.interface_handler:get_events( );
local global_vars = csgo.interface_handler:get_global_vars()
--local b1 = config:add_item("b1", 0)
b2 = config:add_item("b2", 0)
-- rrc = config:add_item("rrc", 255)
--ggc = config:add_item("ggc", 255)
--bbc = config:add_item("bbc", 255)
--aac = config:add_item("aac", 255)
xx = menu:add_checkbox("Text Rainbow", "misc", "", "Movement", b2)
----local aa = menu:add_slider("Alpha", "misc", "", "Movement" , aac, 0, 255, 1)
--local rr = menu:add_slider("Rred", "misc", "", "Movement" , rrc, 0, 255, 1)
--local gg = menu:add_slider("Green", "misc", "", "Movement" , ggc, 0, 255, 1)
--local bb = menu:add_slider("Blue", "misc", "", "Movement" , bbc, 0, 255, 1)
--local xlow = b1:get_int()
--local ylow = b2:get_int()
local id=0
local fontname = render:create_font( "Smallest Pixel-7", 30, 100, false );
local font = render:create_font( "Verdana", 20,100,false);
local aim_table = { }
local Elements = {
palette = csgo.color(16, 22, 29, 160),
table_size = 6,
size_x = 90,
size_y = 450
}
local x, y, d = Elements.size_x, Elements.size_y , 0
local entity_list = csgo.interface_handler:get_entity_list( )
local slide = menu:get_reference( "rage", "aimbot", "aimbot", "slide" )
local forcebaim = menu:get_reference( "rage", "aimbot", "aimbot", "force fallback" )
local dt = menu:get_reference( "rage", "aimbot", "aimbot", "double tap" )
local fd = menu:get_reference( "rage", "aimbot", "aimbot", "fake duck" )
local function drawTable( count, x, y, data)
local alls = 1
if slide:get_bool() then
render:text(font, x , y + 10, " Slide [ENABLED]", csgo.color(0, 255, 0, 255))
local alls = 1
else
render:text(font, x , y + 10," Slide [DISABLED]", csgo.color(255, 0, 0, 255))
end
if forcebaim:get_bool() then
render:text(font, x , y + 35, " Force Fallback [ENABLED]", csgo.color(0, 255, 0, 255))
alls = 1
else
render:text(font, x , y + 35," Force Fallback [DISABLED]", csgo.color(255, 0, 0, 255))
end
if fd:get_bool() then
render:text(font, x , y + 60, " FAKEDUCK [ENABLED]", csgo.color(0, 255, 0, 255))
alls = 1
else
render:text(font, x , y + 60," FAKEDUCK [DISABLED]", csgo.color(255, 0, 0, 255))
end
if dt:get_bool() then
render:text(font, x , y + 85, " Double tap [ENABLED]", csgo.color(0, 255, 0, 255))
alls = 1
else
render:text(font, x , y + 85," Double tap [DISABLED]", csgo.color(255, 0, 0, 255))
end
local r = math.floor( math.sin( global_vars.realtime * 2) * 127 + 128 )
local g = math.floor( math.sin( global_vars.realtime * 2 + 2 ) * 127 + 128 )
local b = math.floor( math.sin( global_vars.realtime * 2 + 4 ) * 127 + 128 );
if b2:get_bool() then
render:text(fontname, x + 100, y - 35 ,"Hotkeys", csgo.color(r, g, b, 255))
else
local colrs = csgo.color(255 , 255 , 255 , 255)
render:text(fontname, x + 100, y - 35 ,"Hotkeys", colrs)
end
-- render:text(fontname, x + 153 , y , tostring(alls) , csgo.color(255, 0, 0, 255))
end
function clear()
id=0
aim_table={}
end
menu:add_button( "Clear hit list", "visuals", "misc", "beams", clear )
function draw_sized_outline( x, y, w, h, title )
local c = {10, 60, 40, 40, 40, 60, 20};
for i = 0,6,1 do
render:rect( x+i, y+i, w-(i*2), h-(i*2), csgo.color( c[i+1], c[i+1], c[i+1], 200 ) );
end
end
function on_paint( )
local r = math.floor( math.sin( global_vars.realtime * 2) * 127 + 128 )
local g = math.floor( math.sin( global_vars.realtime * 2 + 2 ) * 127 + 128 )
local b = math.floor( math.sin( global_vars.realtime * 2 + 4 ) * 127 + 128 );
local screen_size = render:screen_size( );
draw_sized_outline( x - 10, y - 10, 339, 169)
width_s = 320
render:rect_filled( x - 2.5 , y - 2.5, width_s + 5, 155, csgo.color( 25, 25, 25, 245))
render:rect_filled( x, y, width_s, 150, csgo.color( 25, 25, 25, 245))
render:rect_filled(x, y, width_s , 4, csgo.color(r,g,b, 255))
for i = 1, Elements.table_size, 1 do
d = drawTable( d, x, y, aim_table[i])
end
end
function event( e )
if ( e:get_name( ) == "round_start" ) then
clear( );
end
end
game_events:add_event( "round_start" );
local callbacks = fatality.callbacks
callbacks:add( "paint", on_paint )
callbacks:add( "registered_shot", on_registered_shot )
callbacks:add( "events", event );