Whirlpool Washer Broke Down!!!

Washer fills, but will not agitate, drain or spin. Timer does not advance after washer fills. Lid switch was melted, so I replaced it, but that still did not make it run. Should I replace the timer or check something else? I don’t want to buy a new timer and it still not fix the problem. Thanks.:eek: