Best Robotics Vex v5 Motor issue

When we are running our robot the voltage to the motors drop from 6.5 volts down to 1.2 Volts and the robot will not move. The battery voltage is full. I have attached our code for reference. What can cause this issue. The robot will work fine for about 2 mins then the motors just stop or only creep. Right now it will not allow me to upload our code

Sounds like you are overheating the motors and they are limiting current.