My Robot is using a four wheel drive train and the code constantly goes between working and not working

The code works one minute so I can drive forward and use the intake, for spin up, and i add 1 piece of code and all of a sudden It doesn’t work anymore, does anybody have any information on why this could be happening?

People will definitely need to see your code to help.


Can you show us a picture of your code. Also what coding language are you using. If vexcode, please also show robot config.

there you go.

Is the controller configured to control the drivetrain? From what I can see there are no issues with the code