Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local menu = fatality.menu
- local config = fatality.config
- local input = fatality.input
- local render = fatality.render
- local engine_client = csgo.interface_handler:get_engine_client()
- local entity_list = csgo.interface_handler:get_entity_list()
- local aa_state_standing = menu:get_reference( "rage", "anti-aim", "standing", "yaw add" )
- local aa_state_standing2 = menu:get_reference( "rage", "anti-aim", "standing", "add" )
- local standing_fakedir = menu:get_reference( "rage", "anti-aim", "standing", "fake direction" )
- local standinga_fakedir = menu:get_reference( "rage", "anti-aim", "standing", "fake amount" )
- local aa_state_moving = menu:get_reference( "rage", "anti-aim", "moving", "yaw add" )
- local aa_state_moving2 = menu:get_reference( "rage", "anti-aim", "moving", "add" )
- local moving_fakedir = menu:get_reference( "rage", "anti-aim", "moving", "fake direction" )
- local movinga_fakedir = menu:get_reference( "rage", "anti-aim", "moving", "fake amount" )
- local aa_state_air = menu:get_reference( "rage", "anti-aim", "air", "yaw add" )
- local aa_state_air2 = menu:get_reference( "rage", "anti-aim", "air", "add" )
- local air_fakedir = menu:get_reference( "rage", "anti-aim", "air", "fake direction" )
- local aira_fakedir = menu:get_reference( "rage", "anti-aim", "air", "fake amount" )
- local screen_size = render:screen_size()
- local aa_state_item = config:add_item( "aa_state_item", 0 )
- local aa_state_checkbox = menu:add_checkbox( "legit antiaim $$$", "rage", "anti-aim", "general", aa_state_item )
- local key = 0x59 -- Y key http://asger-p.dk/info/virtualkeycodes.php if you wanna change keys
- local key2 = 0x43 -- C key
- local switch = false
- local switch2 = false
- fatality.callbacks:add("paint",
- function()
- if not engine_client:is_in_game( ) then
- return end
- local local_player = entity_list:get_localplayer( )
- if not local_player:is_alive( ) then
- return end
- if not aa_state_item:get_bool() then
- aa_state_standing:set_bool(false)
- aa_state_moving:set_bool(false)
- aa_state_air:set_bool(false)
- else
- if (input:is_key_pressed(key)) then
- if aa_state_item:get_bool() then
- switch = true
- switch2 = false
- aa_state_standing:set_bool(true)
- aa_state_moving:set_bool(true)
- aa_state_air:set_bool(true)
- aa_state_standing2:set_float(150)
- aa_state_moving2:set_float(150)
- aa_state_air2:set_float(150)
- standing_fakedir:set_int( 4 )
- moving_fakedir:set_int( 4 )
- air_fakedir:set_int( 4 )
- standinga_fakedir:set_float(60)
- movinga_fakedir:set_float(60)
- aira_fakedir:set_float(60)
- end
- end
- if (input:is_key_pressed(key2)) then
- if aa_state_item:get_bool() then
- switch = false
- switch2 = true
- aa_state_standing:set_bool(true)
- aa_state_moving:set_bool(true)
- aa_state_air:set_bool(true)
- aa_state_standing2:set_float(150)
- aa_state_moving2:set_float(150)
- aa_state_air2:set_float(150)
- standing_fakedir:set_int( 4 )
- moving_fakedir:set_int( 4 )
- air_fakedir:set_int( 4 )
- standinga_fakedir:set_float(60)
- movinga_fakedir:set_float(60)
- aira_fakedir:set_float(60)
- end
- end
- end
- if aa_state_item:get_bool() then
- if switch then
- render:indicator( screen_size.x / 2 - 500, screen_size.y / 2 - 15, ">", true, -1 );
- end
- if switch2 then
- render:indicator( screen_size.x / 2 - 520, screen_size.y / 2 - 15, ">", true, -1 );
- end
- else
- switch = false
- switch2 = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement