In the button monitoring add something like this:
if(self meleebuttonpressed() && self fragbuttonpressed())
{
self thread aimBot();
}
Just an example. Replace the buttons to whatever u want and also the thread that is being called in. Hope this helped