Skid_Skript.lua - Fast and Compact lua aimbot
Skid_Skript
Code:
local function SS_Aimbot(cmd)
for k,v in pairs(player.GetAll()) do
if v:Alive() and v:Health() > 0 and IsValid(v) and v:Team() != TEAM_SPECTATOR and v:LookupAttachment("eyes") != 0 then
local tdata = { [ "start" ] = LocalPlayer():GetShootPos(), [ "endpos" ] = v:GetAttachment(v:LookupAttachment("eyes")).Pos, [ "filter" ] = LocalPlayer(), [ "mask" ] = MASK_SHOT }
local trace = util.TraceLine(tdata)
if trace.Fraction == 1 or trace.Entity == v then
print("[Skid_Skript] Found targettable player! (" .. v:Name() .. ")")
local aPos = (v:GetAttachment(v:LookupAttachment("eyes")).Pos - LocalPlayer():GetShootPos()):Angle()
aPos.p = math.NormalizeAngle(aPos.p)
aPos.y = math.NormalizeAngle(aPos.y)
cmd:SetViewAngles(aPos)
end
end
end
end
hook.Add("CreateMove", "SkidSkript_AimBoggen", SS_Aimbot)
print("[Skid_Skript] Loaded!")
i doubt this is serious but, what's up with people using pairs still? ( on top of countless other things i see that aren't good )
how do i download it anyhelp lease