HELP! I cant get my motors to work!

I bought this robot and i finally got around to finishing the build part. I have tried everything from different code to looking on the forums and i cant seem to figure out why the motors dont work. the servo works but not the motors. I tested the motors directly to a battery and it works. Otherwise it wont =(

You haven’t said what sort of motors you have?
Or how they are connected to the Arduino - presumably there is some sort of motor driver board?

You will need to provide a wiring diagram - a photo of a clear drawing will be fine.

Normally I would also say that you should post a copy of your Arduino code but I suspect yours is very long and I don’t have a great appetite for pages of code. But somebody else might.