Strange Problem while controlling motors with MOSFET

Your 100R resistor is shorted out, review how to use a protoboard.
I don't see a ground going to the Arduino.