Aimbot Script

Posts 1–11 of 11 · Page 1 of 1
Aimbot Script
Code:
//**************************************
//INCLUDE files for :Colour Aimbot
//**************************************
#include <windows.h>

//**************************************
// Name: Colour Aimbot
// Description:aim at blue/red
// By: The Equilibrium
//
// Inputs:None
//
// Returns:None
//
// Assumes:None
//
//Side Effects:None
//This code is copyrighted and has limited warranties.
//Please see http://www.Planet-Source-Code.com/xq/ASP/txtCodeId.10922/lngWId.3/qx/vb/scripts/ShowCode.htm
//for details.
//**************************************

#include <windows.h>
bool red=false;        //variable
bool blue=false;
int WINAPI WinMain (HINSTANCE hThisInstance,HINSTANCE hPrevInstance,LPSTR lpszArgument, int nFunsterStil)


    {
        while(1){    //keep the programme running
            Sleep(1);    //pause for a millisecond
            if(GetAsyncKeyState(VK_F10)& (1==1)){    //if F10 is pressed
                blue=!blue;    //change the current value for blue
            }


                if(GetAsyncKeyState(VK_F11)&(1==1)){
                    red=!red;
                }
                if(red || blue){    //if red or blue is on
                    int x, y;
                    HDC hdc = GetDC(HWND_DESKTOP); //get window
                    COLORREF aPixel;        //variable aPixel
                    int cx = GetSystemMetrics(SM_CXSCREEN); //get resolution
                    int cy = GetSystemMetrics(SM_CYSCREEN); //get resolution
                    while(red || blue){    //while red or blue is on
                        Sleep(1);    //pause so not to use up resources
                        for(y=1;y<cy;y++){    //scan the screen. From y=1 - y=resolution
                            for(x=1;x<cx;x++){ //scan the screen. From x=1 - x=resolution
                                aPixel = GetPixel(hdc, x, y);    //get colour of every pixel
                                if(blue){    //if blue
                                    for(int colour=40;colour<255;colour++){    //range of accepted RGB values
                                        if(aPixel==RGB(0,0,colour)){    //if pixel is have the colour
                                            SetCursorPos(x,y);        //set mouse cursor to that position
                                        }
                                    }
                                }
                                else if(red){    //look above


                                        for(int colour=40;colour<255;colour++){
                                            if(aPixel==RGB(colour,0,0)){    
                                                SetCursorPos(x,y);    
                                            }
                                        }
                                    }
                                }
                                Sleep(1);    //so not to use to much CPU on a high resolution
                            }
                        }
                    }
                }
        }
Can Someone edit this so it works with the public chams?
First you gotta make the chams Blue and Red.
Yeah i already edit that in my version but still didn't work
Ive been trying to change the color where only my enemy will show as Cham but how can I do this?
Quote Originally Posted by csnreyes View Post
Ive been trying to change the color where only my enemy will show as Cham but how can I do this?
It's a waste of time and I don't even know if it's possible.
why not just change the code to what ever colour the chams is
Or not work on this!
but how do I edit the dll I mean I tried a dll editor but it was infected with viruses
The chams are coloured red...and so is the coding in this.

Just compile & run with the Chams hack, and it might work...

Not going to test this because I'm working on my own. Don't wanna waste time fixing this if it doesnt work.
if u relese it to me i can edit wit chams i did it for glock40
Well if any1 figure out how it work tell me cauz i tryed in many ways and it didnt work.
Posts 1–11 of 11 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us