Will not agitate.
If the unit does not agitate yet spins then the issue would most likely be caused by a bad transmission or thrust bearing. If the unit is not agitating or spinning then the issue would most likely be the lid switch.
The washer is still working but a brown liquid (oil?) is leaking out the bottom. Not sure what part needs to be replaced. Thx
You will want to check to see if you can determine where the leak is coming from. The issue could be a leak around the tub bearings which could cause the brown liquid. It could also be that the transmission is leaking and would need to be replaced.