How do I get Part to match the height of ocean script?

Is that the only change? Because bone.Position is in world space, not local space. So would that also change?