Manual and automatic mode

You think i didn't try that? I tried google but i still dont understand the code so thats why i came here