The character Gary from The World 's End ended the invasion by proving the Network had to replace most humans .
Exasperated , the Network abandons the invasion after Gary manages to prove that the Network had to replace nearly all of the citizens in the town to make it acceptable enough for its standards .
The World's End -LRB-film-RRB-