Advertisement
Mister_Stefan

LegitOnE

Jan 3rd, 2021
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.63 KB | None | 0 0
  1. legit_key = ui.new_checkbox("AA", "Anti-aim", "Legit anti-aim (pn E key)")
  2. autodir_body_yaw = ui.reference("AA", "Anti-aim", "AutoDir body yaw")
  3.  
  4. client.set_event_callback("setup_command",function(e)
  5.     local weaponn = entity.get_player_weapon()
  6.     if ui.get(legit_e_key) then
  7.         if weaponn ~= nil and entity.get_classname(weaponn) == "CC4" then
  8.             if e.in_attack == 1 then
  9.                 e.in_attack = 0
  10.                 e.in_use = 1
  11.             end
  12.         else
  13.             if e.chokedcommands == 0 then
  14.                 e.in_use = 0
  15.             end
  16.         end
  17.         ui.set(freestanding_body_yaw, true)
  18. end
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement