Cockroaches have 6 long spiny legs that allow them to run quickly across almost any surface. Also to protect them against predators that might want to eat them. The predator will get a mouthful of spines and release the cockroach.