*----------------------------------------------[下载区]----------------------------------------------*
1 function AutoShoot(delay)
2 local trace = (LocalPlayer():GetEyeTrace()).Entity
3 if trace:IsValid() && trace:IsPlayer() && input.IsKeyDown(KEY_LALT) then
4 if trace:Health() > 0 && LocalPlayer():Health() > 0 then
5 RunConsoleCommand("+attack")
6 timer.Simple(delay,function() RunConsoleCommand("-attack")end)
7 end
8 end
9 end
10 hook.Add("Think","Misc",function()
11 AutoShoot(0.01)
12 end)
13 function AimAssist (cmd)
14 if input.IsKeyDown(KEY_LSHIFT) then
15 //timer.Simple(0.05,function() print("sleep") end))
16 local trace = LocalPlayer():GetEyeTrace().Entity
17 local myPos = LocalPlayer():EyePos()
18 local myAng = cmd:GetViewAngles()
19 if trace:IsValid() && trace:IsPlayer() && LocalPlayer():Health() > 0 then
20 if trace:Health() > 0 then
21 local plyPos = trace:GetBonePosition(trace:LookupBone("ValveBiped.Bip01_Head1"))
22 local angle = (plyPos - myPos ):Angle()
23 cmd:SetViewAngles(LerpAngle(1,myAng,angle))
24 end
25 end
26 end
27 end
28 hook.Add("CreateMove","Aimbot",function(cmd)
29 AimAssist(cmd)
30 end)
*----------------------------------------------[下载区]----------------------------------------------*
*----------------------------------------------[介绍区]----------------------------------------------*
左ALT键-当准星对准玩家时自动射击
左SHIFT键-自动瞄准玩家头部
*----------------------------------------------[介绍区]----------------------------------------------*
游戏截图:暂无