He only needs to be onside until the ball is kicked. If they time it right, he can be at speed while the defense is not and he can get behind them
Also, the kicker can do what's called a through ball which is to kick the ball through a defense. Then any offensive player can chase it because...