Ok got confused.......

It's the z motors Im Having problems with. I checked today and the switch was not working so I replaced it and it's still not working.