Advertisement
Guest User

Its Trash

a guest
Oct 7th, 2015
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. function aimbot(CUserCmd)
  2. local ply = LocalPlayer()
  3. local trace = util.GetPlayerTrace( ply )
  4. local traceRes = util.TraceLine( trace )
  5. if traceRes.HitNonWorld then
  6. local target = traceRes.Entity
  7. if target:IsPlayer() then
  8. local targethead = target:LookupBone("ValveBiped.Bip01_Head1")
  9. local targetheadpos,targetheadang = target:GetBonePosition(targethead)
  10. CUserCmd:SetViewAngles((targetheadpos - ply:GetShootPos()):Angle())
  11. else
  12. end
  13. end
  14. end
  15. hook.Add("CreateMove","aimbot",aimbot)
  16.  
  17. hook.Add( "HUDPaint", "HUDPaint_DrawABox", function()
  18. draw.RoundedBox( 0, 793, 443, 13, 13, Color( 255, 0, 255, 128 ) ) -- Draw a box
  19. end )
  20.  
  21. hook.Add("CreateMove","AA", function(CUserCmd)
  22. CUserCmd:SetViewAngles(Angle(-181, LocalPlayer():EyeAngles().y, 180))
  23. end)
  24.  
  25. hook.Add("Think", "Bhop", function()
  26. if input.IsKeyDown(KEY_SPACE) && LocalPlayer():IsOnGround() && !LocalPlayer():IsTyping() then
  27. RunConsoleCommand( "+jump" )
  28. else
  29. RunConsoleCommand( "-jump" )
  30. end
  31. end)
  32.  
  33. hook.Add( "HUDPaint", "Text", function()
  34. draw.DrawText( "Reptile Private Hack V0.1", "DebugFixed", 20, 20, Color(255, 255, 0, 255) )
  35. end )
  36.  
  37. hook.Add( "HUDPaint", "ESPBoxes", function()
  38.  
  39. for k,v in pairs ( player.GetAll() ) do
  40.  
  41. local Position = ( v:GetPos() + Vector( 0,0,80 ) ):ToScreen()
  42. local Name = ""
  43.  
  44. if v == LocalPlayer() then Name = "" else Name = v:Name() end
  45.  
  46. Position.x = Position.x - 20
  47. Position.y = Position.y + 50
  48.  
  49. draw.RoundedBox( 0, Position.x, Position.y, 50, 50, Color( 255, 255, 0, 128 ) )
  50. draw.DrawText( Name, "DebugFixedSmall", Position.x, Position.y, Color( 255, 255, 255, 255 ), 1 )
  51.  
  52. end
  53.  
  54. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement