You should consult an attorney or the Tenant's Union, etc. Beyond paying rent, there's also the question of when you'll need to move.
One piece of good news. If you have only a limited time you can stay--two to three months, whoever owns the property might not want to collect rent! Some entities see that as creating a landlord-tenant relationship, which they may wish to avoid. That would be up to the new owner of the property, so there's nothing you can really do to get that result, but it might happen.