If I have a female scolipede and a male yanmega with speed boost in the day care, will the baby venipede have speed boost?
Nope. It will never, ever, ever work. :D Since it is Scolipede's Hidden Ability, you need the mother (or father, if breeding with Ditto) to have the hidden ability before you even have a chance to get the hidden ability.
Source: Experience