To breed a Pokémon with a specific Hidden Power, you need to consider the IVs (Individual Values) of the parent Pokémon. Hidden Power is determined by the IVs of the Pokémon. Here's a general method:
1: Choose two Pokémon with IVs that result in the desired Hidden Power. 2: Breed these Pokémon until you hatch one with the desired IV spread.
For detailed steps and mechanics, you can refer to this breeding guide on Smogon: https://www.smogon.com/dex/rs/mechanics/breeding#hidden-power