Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add( "Think", "AimBot", function()
- local pl = LocalPlayer()
- local trace = pl:GetEyeTrace()
- local target = trace.Entity
- if IsValid( target ) then
- local eyes = target:GetAttachment( target:LookupAttachment( "eyes" ) )
- if eyes then
- pl:SetEyeAngles( ( eyes.Pos - ply:GetShootPos() ):Angle() )
- end
- end
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement