Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function aimbot(CUserCmd)
- local ply = LocalPlayer()
- local trace = util.GetPlayerTrace( ply )
- local traceRes = util.TraceLine( trace )
- if traceRes.HitNonWorld then
- local target = traceRes.Entity
- if target:IsPlayer() then
- local targethead = target:LookupBone("ValveBiped.Bip01_Head1")
- local targetheadpos,targetheadang = target:GetBonePosition(targethead)
- CUserCmd:SetViewAngles((targetheadpos - ply:GetShootPos()):Angle())
- else
- end
- end
- end
- hook.Add("CreateMove","aimbot",aimbot)
- hook.Add( "HUDPaint", "HUDPaint_DrawABox", function()
- draw.RoundedBox( 0, 793, 443, 13, 13, Color( 255, 0, 255, 128 ) ) -- Draw a box
- end )
- hook.Add("CreateMove","AA", function(CUserCmd)
- CUserCmd:SetViewAngles(Angle(-181, LocalPlayer():EyeAngles().y, 180))
- end)
- hook.Add("Think", "Bhop", function()
- if input.IsKeyDown(KEY_SPACE) && LocalPlayer():IsOnGround() && !LocalPlayer():IsTyping() then
- RunConsoleCommand( "+jump" )
- else
- RunConsoleCommand( "-jump" )
- end
- end)
- hook.Add( "HUDPaint", "Text", function()
- draw.DrawText( "Reptile Private Hack V0.1", "DebugFixed", 20, 20, Color(255, 255, 0, 255) )
- end )
- hook.Add( "HUDPaint", "ESPBoxes", function()
- for k,v in pairs ( player.GetAll() ) do
- local Position = ( v:GetPos() + Vector( 0,0,80 ) ):ToScreen()
- local Name = ""
- if v == LocalPlayer() then Name = "" else Name = v:Name() end
- Position.x = Position.x - 20
- Position.y = Position.y + 50
- draw.RoundedBox( 0, Position.x, Position.y, 50, 50, Color( 255, 255, 0, 128 ) )
- draw.DrawText( Name, "DebugFixedSmall", Position.x, Position.y, Color( 255, 255, 255, 255 ), 1 )
- end
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement