If runs but does not spin, there's a rubber/plastic coupling that goes bad on many of these washers, turn it over and take a look between the gearbox and drum to see if there's all kinds of black plastic dust.
If it doesn't run at all I can't help. Doan know nuthin about sparktricity.
Washer Coupler Coupling 285753A for Whirlpool Kenmore | eBay