You Must Pay your Rent
A lot of what I see is the tenant plans to leave because of a problem (other ways to deal with this later) and not pay the last month rent so they can save money to move. Well that will not fly with the courts. If you live there you have to pay rent, PERIOD. If after demanding the landlord to fix the problem and they do not, you can have it fixed and send them the bill in place of rent and they cannot evict you. But it must be legitimate and you must have given the landlord time to respond to fix it himself.
PAY YOUR RENT!!! NO EXCUSES!!!
You do not want an eviction on your records, it’s permament.