When the floor is almost destroyed, give the most damage to it.
Every damage dealt to the building is the score. Since the building's strength always be the same, the only way to get more score is to smash the most damage before going to the next floor.