TheHunter585
New member
- Joined
- May 23, 2017
- Messages
- 4
- Reaction score
- 0
Well, i tried to make something similar with opcodeexe ProAim but in VB.Net
Well the hack is teleporting the player but not in right position, can someone help me make it right?
	
	
	
		
Thank you.
			
			Well the hack is teleporting the player but not in right position, can someone help me make it right?
		Code:
	
	Private Sub pro_Tick(sender As Object, e As EventArgs) Handles pro.Tick
        If Proaim.Checked = True Then
            Dim gpoint As Long
            Dim MyPosX As Long
            Dim MyPosY As Long
            Dim MyPosZ As Long
            Dim pmtrx1 As Long
            Dim ptarget As Long
            Dim pped As Long
            Dim pped2 As Long
            Dim var1 As Long
            Dim var2 As Long
            Dim var3 As Long
            Dim var4 As Long
            Dim var5 As Long
            Dim MyPosX2 As Single
            Dim MyPosY2 As Single
            Dim MyPosZ2 As Single
            Dim RotAngle As Single
            Dim Xwping As Single
            Dim Ywping As Single
            Dim Zwping As Single
            Try
                gpoint = ReadLong(proc, "&HB6F5F0", nsize:=4)
                If gpoint > 0 Then
                    pmtrx1 = gpoint + &H14
                    pmtrx1 = ReadLong(proc, pmtrx1, nsize:=4)
                    MyPosX = pmtrx1 + &H30
                    MyPosY = pmtrx1 + &H34
                    MyPosZ = pmtrx1 + &H38
                    MyPosX2 = ReadLong(proc, MyPosX, nsize:=4)
                    MyPosY2 = ReadLong(proc, MyPosY, nsize:=4)
                    MyPosZ2 = ReadLong(proc, MyPosZ, nsize:=4)
                    RotAngle = ReadLong(proc, gpoint + &H558, nsize:=4)
                    Xwping = MyPosX2 = Math.Cos(2 * (RotAngle + 1.48353))
                    Ywping = MyPosY2 + Math.Sin(2 * (RotAngle + 1.48353))
                    Zwping = MyPosZ2 + 0.2
                    ptarget = ReadLong(proc, "&HB6F5F0", nsize:=4)
                    pped = ptarget + &H79C
                    pped2 = ReadLong(proc, pped, nsize:=4)
                    If pped2 > 0 Then
                        var1 = pped2 + &H14
                        var2 = ReadLong(proc, var1, nsize:=4)
                        var3 = var2 + &H30
                        var4 = var2 + &H34
                        var5 = var2 + &H38
                        WriteFloat(proc, var3, Value:=Xwping, nsize:=4)
                        WriteFloat(proc, var4, Value:=Ywping, nsize:=4)
                        WriteFloat(proc, var5, Value:=Zwping, nsize:=4)
                    End If
                End If
            Catch ex As Exception
            End Try
        End If
    End Sub 
				