Both these species are looked upon as a plague upon their repsective universes. Note: When I first did this battle
it was before the season 6 episode where the Replikators evolved into Humanoid forms composed of nanites.
The Aliens would probably run into the school to hide in the shadows. With no other creatures in the area, the number of Aliens can't be increased using
face-huggers. The Replikators however have the entire school to use to buiild more of themselves. There are various sources of metal
in the tech pavillion, gym, and the ventilation system. So the Replikators will quickly outnumber the Aliens. The speed and agiliy
of the Aliens can make up for the uneven numbers. The problem is that the Aliens' claws do nothing to the Replikators, they just rebuild themselves.
Even if the Replikators could be trapped, the Aliens aren't smart enough to do it. The Aliens' acid blood would permanently
damage a Replikator, it could not be rebuilt. One option open to the Replikators is to send suicide attackers against the Aliens, trying to eliminate
all the Aliens before they run out of Replikators. They would probably try that at first but would realize its inefficiency.
The Replikators are smart enough to trap the Aliens in the building. The Replikators use a corrosive fluid to eat through all materials.
The potency, I assume, is the same as that of the acid blood. I don't know if the spit could be used as a weapon against the
Aliens but it can be used to collapse the school on top of the Aliens. The Aliens are fragile enough to be killed in the collapse.
The trap could be executed quickly enough that the Aliens wouldn't know what hit them.