i rent and the property is in foreclosure do i still have to pay the rent.
Unless you want to be evicted, yes.