Skip Gear Based Test Program

I’ve attached a test code that has a set of three motors that run off of a 3 36-tooth gearbox that pulls back a tension based track. What I would like it to do is to have it run the gearbox based on the motor encoder on the left at the press of a button. Can someone check my code please? Thanks a bunch.
How do I embed my code directly into the forum post?

Here is the updated post.

I don’t see any attached code.