Complex sentence: They try to head towards the dorms, where they were staying at the time, but get blocked by infected teachers coming from the fire exit.
Split into simpler sentences: They try to head towards the dorms, where they were staying at the time. They get blocked by teachers coming from the fire exit.