Key Pressing Script Problem

It fully works as intended now. Thank You for your time, I really appriciate it!