Advertisement
Rahkye

[CL] AimBot

Nov 27th, 2020
1,045
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. hook.Add( "Think", "AimBot", function()
  2.     local pl = LocalPlayer()
  3.     local trace = pl:GetEyeTrace()
  4.     local target = trace.Entity
  5.     if IsValid( target ) then
  6.         local eyes = target:GetAttachment( target:LookupAttachment( "eyes" ) )
  7.         if eyes then
  8.             pl:SetEyeAngles( ( eyes.Pos - ply:GetShootPos() ):Angle() )
  9.         end
  10.     end
  11. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement