fr1kin

sefhak

Jul 17th, 2011
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.24 KB | None | 0 0
  1. /*
  2. welcom to da 4th version of bacon-- SETHHACK!
  3. coded by SETH!
  4. best hack in the world
  5. DONT MSS WITH SETH!!!
  6. rlly or i will fkn devnul ur ass
  7. also pls buy devull privat at [email protected]
  8. */
  9.  
  10. local seth = "GOD"
  11.  
  12. local function isSethGod()
  13. if( seth != "GOD" ) then
  14. return "DEVULL"
  15. end
  16. return "ok welcome to sethhack v4, seth is god ok"
  17. end
  18.  
  19. local print = MsgN
  20. local MsgN = print // MSGN = MSGN... MAGIC!!! but its private method DONT STEAL
  21.  
  22. local function prt_isSethGod()
  23. print( isSethGod() )
  24. end
  25.  
  26. local ur = "done"
  27.  
  28. local function askServer( msg )
  29. RunConsoleCommand( "say", msg )
  30. end
  31.  
  32. local vars = {
  33. "triggabot",
  34. "autoshout",
  35. "aimnpc",
  36. "espplayer",
  37. "espentity",
  38. "bhop",
  39. "randomlymissshot",
  40. }
  41.  
  42. local sh={}
  43.  
  44. local CreateConVar = CreateClientConVar
  45. local CreateClientConVar = CreateConVar
  46.  
  47. local function ummCreateCvarsMAYBE()
  48. for k, v in pairs( vars ) do
  49. sh[v]=CreateClientConVar( "vip_sh_" .. v, 0, true, false )
  50. end
  51. end
  52.  
  53. ummCreateCvarsMAYBE()
  54.  
  55. local deinhode_legit_config = {
  56. { "triggabot", 1 },
  57. { "autoshout", 0 },
  58. { "aimnpc", 0 },
  59. { "espplayer", 1 },
  60. { "espentity", 0 },
  61. { "bhop", 1 },
  62. { "randomlymissshot", 1 },
  63. }
  64.  
  65. local function loadLegitConfig()
  66. for k, v in pairs( deinhode_legit_config ) do
  67. if( sh[v[1]] ) then
  68. RunConsoleCommand( "vip_sh_" .. v[1], v[2] )
  69. end
  70. end
  71. end
  72.  
  73. /*
  74. -________________________- SETH AIMBOT -________________________-
  75. */
  76. local AIMBOT = false
  77. local TAREGT = nil
  78. local BESTPOS = 0
  79.  
  80. local eyeAng = Angle( 0, 0, 0 )
  81.  
  82. local function clear( ifer )
  83. if( ifer == "ON" ) then
  84. AIMBOT = true
  85. TAREGT = nil // NIL IS THE SAMETHING AS A NIGGER
  86. BESTPOS = 0
  87. else
  88. AIMBOT = false
  89. TAREGT = nil // NIL IS THE SAMETHING AS A NIGGER
  90. BESTPOS = 0
  91. end
  92. end
  93.  
  94. local function findTarget()
  95. TAREGT = nil
  96. BESTPOS = 0
  97. for k, e in ipairs( ( sh['aimnpc']:GetBool() == true && ents.GetAll() || player.GetAll() ) ) do
  98. if( ( e:IsPlayer() && e:Alive() ) || ( e:IsNPC() && e:GetMoveType() != 0 ) ) then
  99. local dist = math.Dist( ScrW() / 2,ScrH() / 2, e:EyePos():ToScreen().x, e:EyePos():ToScreen().y )
  100. if( BESTPOS == 0 || dist <= BESTPOS || TAREGT == nil ) then
  101. TAREGT = e
  102. BESTPOS = dist
  103. end
  104. end
  105. end
  106. return TAREGT || nil
  107. end
  108.  
  109. local function useVIP_Aimbot()
  110. local tar = findTarget()
  111.  
  112. //=LocalPlayer():SetEyeAngles( LocalPlayer():EyePos() )
  113.  
  114. if( tar && AIMBOT && tar != LocalPlayer() ) then
  115. local head = tar:GetBonePosition( tar:LookupBone( "ValveBiped.Bip01_Head1" ) )
  116. head = ( head - LocalPlayer():GetShootPos() ):Angle()
  117. LocalPlayer():SetEyeAngles( head )
  118.  
  119. if( sh['autoshout']:GetBool() ) then
  120. RunConsoleCommand( "+attack" )W
  121. timer.Simple( 0.1, function() RunConsoleCommand( "-attack" ) end )
  122. end
  123. end
  124.  
  125. if( sh['triggabot']:GetBool() ) then
  126. local e = LocalPlayer():GetEyeTrace().Entity
  127. if( e && ValidEntity( e ) && e:IsPlayer() && e != LocalPlayer() ) then
  128. RunConsoleCommand( "+attack" )
  129. timer.Simple( 0.1, function() RunConsoleCommand( "-attack" ) end )
  130. end
  131. end
  132. end
  133. hook.Add( "Think", "VIP_SETHHACK_V4_AIMBOT_BY_SETH", useVIP_Aimbot )
  134.  
  135. concommand.Add( "+vip_sh_aim", function()
  136. AIMBOT = true
  137. TARGET = nil
  138. end )
  139.  
  140. concommand.Add( "-vip_sh_aim", function()
  141. AIMBOT = false
  142. TARGET = nil
  143. BESTPOS = 0
  144. end )
  145.  
  146. /*
  147. -________________________- SETH ESP -________________________-
  148. */
  149. local function SETH______________ESP()
  150. local ply = LocalPlayer()
  151. for k, e in ipairs( ( sh['espentity']:GetBool() == true && ents.GetAll() || player.GetAll() ) ) do
  152. if( ValidEntity( e ) && ( ( e:IsPlayer() && e:Alive() ) || !e:IsPlayer() && e:GetMoveType() != 0 ) && e != LocalPlayer() ) then
  153. if( e:IsPlayer() && sh["espplayer"]:GetBool() == true || !e:IsPlayer() && ValidEntity( e ) ) then
  154. local pos = e:LocalToWorld( e:OBBCenter() ):ToScreen()
  155. surface.SetDrawColor( e:IsPlayer() && team.GetColor( e:Team() ) || color_white )
  156. surface.DrawOutlinedRect( pos.x - 25 / 2, pos.y - 25 / 2, 25, 25 )
  157. draw.SimpleText( e:IsPlayer() && e:Nick() || e:GetClass(), "Default", ( pos.x ), ( pos.y - 25 / 2 ) - 7, e:IsPlayer() && team.GetColor( e:Team() ) || color_white, 1, 1 )
  158. end
  159. end
  160. end
  161. end
  162. hook.Add( "HUDPaint", "SEHHEHEHEHEHEHHEHEH", SETH______________ESP )
Add Comment
Please, Sign In to add comment