btw if anyone is interested it found Being_spectated as a offset
code
AimBonePosition( MMs/*14 Head*/, MedicPlayer, XM->GetAngles, Enemy_Team_index ) /*( MMs int holds Bone To AIm At )*/
if ( !Being_Spectated )
Do_AimBotHardkoreHS_AimKill();
else
Do_Match_Play_Smooth();
and offset is base+(0xF34)