How does the cockroach move?
Muscles attach to the walls inside different segments and contract to move those segments.
A neat thing about a roach: Hairs on its legs sense an approaching foot (or mouth). these hairs send the signal to run directly to the legs. it doesn't go to the brain first. that's why they're so quick