Aimbot not work
Hi mpgh comunity,
I have problem with Aimbot. He dont work. I have lastest offsets. Please Help me
Offsets:
Aimbot:
I have problem with Aimbot. He dont work. I have lastest offsets. Please Help me
Offsets:
Code:
$localplayer = 0xA6C49C $entitylist = 0x4A5A8E4 $attack = 0x2EC6938 $hitboxpos = 0x134 $recoil_offset = 0x64 $m_local = 0x4BB8 $boneoffset = 0x42A8 $viewang = 0x6062B4 $viewangoff = 0x4C28 $c_dwlocalbaseentity = 0xA6C49C $c_dwbaseentity = 0x4A5A8E4 $myteamad = 0xF0 $healths = 0xFC $crossid = 0xC550 $m_hactiveoffset = 0x4AF8 $weaponid = 0x4EE4 $m_bspotted = 0x935 $radarspot = 0x4A8F58C
Code:
Func visaimbot() If $aimbot = 1 Then If $visibility = 1 Then $localbase = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword") If _ispressed($key, "user32.dll") OR $key = 0 Then $localbase2 = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword") $crosshairid2 = _memoryread($localbase2 + $crossid, $process, "dword") $dw_basepointer2 = _memoryread($client_dll + $c_dwbaseentity + (($crosshairid2 + -1) * 16), $process, "dword") $checkhealth2 = _memoryread($dw_basepointer2 + $healths, $process, "dword") $myteam2 = _memoryread($dw_basepointer2 + $myteamad, $process, "dword") $team2 = _memoryread($localbase2 + $myteamad, $process, "dword") $vislocalbase = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword") $radarspot = ($crosshairid2 <> 0 AND $checkhealth2 > 0 AND $myteam2 <> $team2) If $radarspot <> 0 Then If $delay > 0 Then Sleep($delay) EndIf $angbase = _memoryread($engine_dll + $viewang, $process, "dword") $i1 = _memoryread($localbase + $hitboxpos, $process, "float") $i2 = _memoryread($localbase + $hitboxpos + 4, $process, "float") $i3 = (_memoryread($localbase + $hitboxpos + 8, $process, "float")) $myteam = _memoryread($localbase + $myteamad, $process, "dword") $mefovx = _memoryread($angbase + $viewangoff, $process, "float") $mefovy = _memoryread($angbase + $viewangoff + 4, $process, "float") $recoil = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword") $recoilx = _memoryread($recoil + $recoil_offset + $m_local, $process, "float") $recoily = _memoryread($recoil + $recoil_offset + $m_local + 4, $process, "float") $recoilx *= 3 $recoily *= 3 Local $angel1[65] Local $angel2[65] Local $matx1[65] Local $matx2[65] Local $dis[65] For $i = 0 To 64 Step 1 $dw_basepointer = _memoryread($client_dll + $c_dwbaseentity + (($i + -1) * 16), $process, "dword") $hp = _memoryread($dw_basepointer + $healths, $process, "dword") If $hp > 0 Then $team = _memoryread($dw_basepointer + $myteamad, $process, "dword") If $team <> $myteam Then $m_dwbonematrix = _memoryread($dw_basepointer + $boneoffset, $process, "dword") $you1 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 12), $process, "float") $you2 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 28), $process, "float") $you3 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 44), $process, "float") + -60 $distance = Sqrt((($i1 - $you1) * ($i1 - $you1)) + (($i2 - $you2) * ($i2 - $you2)) + (($i3 - $you3) * ($i3 - $you3))) $angel1[$i] = ((ASin(($you3 - $i3) / $distance) * 180 / $m_pi) * + -1) $angel2[$i] = (atan2($you1 - $i1, $you2 - $i2) / $m_pi * 180) If $rcs = 0 Then $aimmin = $angel1[$i] - ($mefovx) $aimmin2 = $angel2[$i] - ($mefovy) Else $aimmin = $angel1[$i] - ($mefovx + $recoilx) $aimmin2 = $angel2[$i] - ($mefovy + $recoily) EndIf $addd1 = $i1 - $you1 $addd2 = $i2 - $you2 $addd3 = $i3 - $you3 If $aimmin > 180 Then $aimmin -= 360 If $aimmin2 > 180 Then $aimmin2 -= 360 If $aimmin < + -180 Then $aimmin += 360 If $aimmin2 < + -180 Then $aimmin2 += 360 $fovdis = Sqrt(($aimmin * $aimmin) + ($aimmin2 * $aimmin2)) If $fovdis < $fov / 2 Then $dis[$i] = (Sqrt(($aimmin * $aimmin) + ($aimmin2 * $aimmin2))) Else $dis[$i] = "" EndIf EndIf EndIf Next $avarray = $dis If NOT IsArray($avarray) Then Return $minf = "" If UBound($avarray, 0) <> 1 Then Return $minf = "" Local $iubound = UBound($avarray) + -1 If $iend < 1 OR $iend > $iubound Then $iend = $iubound If $istart < 0 Then $istart = 0 If $istart > $iend Then Return $minf = "" Local $iminindex = $istart Local $ichecknum = 0 For $i = $istart To $iend If NOT IsNumber($avarray[$i]) Then ContinueLoop If NOT $ichecknum Then $iminindex = $i $ichecknum = 1 If Number($avarray[$iminindex]) > Number($avarray[$i]) Then $iminindex = $i Next $minf = $iminindex If $minf Then If $dis[$minf] <> "" Then If $rcs = 1 Then $angel1[$minf] -= $recoilx $angel2[$minf] -= $recoily EndIf If $smooth > 0 Then $delta1 = $mefovx - $angel1[$minf] $delta2 = $mefovy - $angel2[$minf] If $delta2 < + -180 Then $delta2 += 360 If $delta2 > 180 Then $delta2 -= 360 If $smooth = 0 Then $smooth = 1 $add1s = ($delta1 / ($smooth)) $add2s = ($delta2 / ($smooth)) $angel1[$minf] = $mefovx - $delta1 / $smooth $angel2[$minf] = $mefovy - $delta2 / $smooth EndIf _memorywrite($angbase + $viewangoff, $process, $angel1[$minf], "float") _memorywrite($angbase + $viewangoff + 4, $process, $angel2[$minf], "float") EndIf EndIf EndIf EndIf EndIf EndIf EndFunc Func aimbot() If $aimbot = 1 Then If $visibility = 0 Then $localbase = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword") If _ispressed($key, "user32.dll") OR $key = 0 Then If $delay > 0 Then Sleep($delay) EndIf $angbase = _memoryread($engine_dll + $viewang, $process, "dword") $i1 = _memoryread($localbase + $hitboxpos, $process, "float") $i2 = _memoryread($localbase + $hitboxpos + 4, $process, "float") $i3 = (_memoryread($localbase + $hitboxpos + 8, $process, "float")) $myteam = _memoryread($localbase + $myteamad, $process, "dword") $mefovx = _memoryread($angbase + $viewangoff, $process, "float") $mefovy = _memoryread($angbase + $viewangoff + 4, $process, "float") $recoil = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword") $recoilx = _memoryread($recoil + $recoil_offset + $m_local, $process, "float") $recoily = _memoryread($recoil + $recoil_offset + $m_local + 4, $process, "float") $recoilx *= 3 $recoily *= 3 Local $angel1[65] Local $angel2[65] Local $matx1[65] Local $matx2[65] Local $dis[65] For $i = 0 To 64 Step 1 $dw_basepointer = _memoryread($client_dll + $c_dwbaseentity + (($i + -1) * 16), $process, "dword") $hp = _memoryread($dw_basepointer + $healths, $process, "dword") If $hp > 0 Then $team = _memoryread($dw_basepointer + $myteamad, $process, "dword") If $team <> $myteam Then $m_dwbonematrix = _memoryread($dw_basepointer + $boneoffset, $process, "dword") $you1 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 12), $process, "float") $you2 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 28), $process, "float") $you3 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 44), $process, "float") + -60 $distance = Sqrt((($i1 - $you1) * ($i1 - $you1)) + (($i2 - $you2) * ($i2 - $you2)) + (($i3 - $you3) * ($i3 - $you3))) $angel1[$i] = ((ASin(($you3 - $i3) / $distance) * 180 / $m_pi) * + -1) $angel2[$i] = (atan2($you1 - $i1, $you2 - $i2) / $m_pi * 180) If $rcs = 0 Then $aimmin = $angel1[$i] - ($mefovx) $aimmin2 = $angel2[$i] - ($mefovy) Else $aimmin = $angel1[$i] - ($mefovx + $recoilx) $aimmin2 = $angel2[$i] - ($mefovy + $recoily) EndIf $addd1 = $i1 - $you1 $addd2 = $i2 - $you2 $addd3 = $i3 - $you3 If $aimmin > 180 Then $aimmin -= 360 If $aimmin2 > 180 Then $aimmin2 -= 360 If $aimmin < + -180 Then $aimmin += 360 If $aimmin2 < + -180 Then $aimmin2 += 360 $fovdis = Sqrt(($aimmin * $aimmin) + ($aimmin2 * $aimmin2)) If $fovdis < $fov / 2 Then $dis[$i] = (Sqrt(($aimmin * $aimmin) + ($aimmin2 * $aimmin2))) Else $dis[$i] = "" EndIf EndIf EndIf Next $avarray = $dis If NOT IsArray($avarray) Then Return $minf = "" If UBound($avarray, 0) <> 1 Then Return $minf = "" Local $iubound = UBound($avarray) + -1 If $iend < 1 OR $iend > $iubound Then $iend = $iubound If $istart < 0 Then $istart = 0 If $istart > $iend Then Return $minf = "" Local $iminindex = $istart Local $ichecknum = 0 For $i = $istart To $iend If NOT IsNumber($avarray[$i]) Then ContinueLoop If NOT $ichecknum Then $iminindex = $i $ichecknum = 1 If Number($avarray[$iminindex]) > Number($avarray[$i]) Then $iminindex = $i Next $minf = $iminindex If $minf Then If $dis[$minf] <> "" Then If $rcs = 1 Then $angel1[$minf] -= $recoilx $angel2[$minf] -= $recoily EndIf If $smooth > 0 Then $delta1 = $mefovx - $angel1[$minf] $delta2 = $mefovy - $angel2[$minf] If $delta2 < + -180 Then $delta2 += 360 If $delta2 > 180 Then $delta2 -= 360 If $smooth = 0 Then $smooth = 1 $add1s = ($delta1 / ($smooth)) $add2s = ($delta2 / ($smooth)) $angel1[$minf] = $mefovx - $delta1 / $smooth $angel2[$minf] = $mefovy - $delta2 / $smooth EndIf _memorywrite($angbase + $viewangoff, $process, $angel1[$minf], "float") _memorywrite($angbase + $viewangoff + 4, $process, $angel2[$minf], "float") EndIf EndIf EndIf EndIf EndIf EndFunc

