comp code trouble

hello we are having trouble with our competition code. when we have the code its fine and when we load it it does something completely different than what we have on the template. we only have this problem with our autonomous. if you have any suggestions onto what is going on that would be very helpful.

Can you give us some more detail? What platform (V5 or Cortex)? Programming environment (PROS, RMS, Simulink, VCS, ROBOTC)?

@edjubuh
we are using robot c. we are using a cortex.
i cant send the code right now.