I need a keyboard button presser thing please : hi i am trying to make a clicker for a game i play, and it requires the pushing of a button, and about 10 seconds later i need to hold down a different button

if someone can link me, or somehow make a keyboard presser thing

that can press q over and over for ten seconds, and then hold c for 10 seconds, endlessly repeating this process, I've looked all over google, no keyboard clickers can do more than one key at a time, and it's really frustrating

thanks