I thought my problem was my resistor but it turned out that the motor was dead and my resistor was fine.

Fortunately I figured that out before ordering anything.