Best way to offset an animation?

So I have a walking animation for my skinned mesh AI. The problem is, its feet go into the ground a bit. To combat this issue, I’d change the rig’s HipHeight depending on if the AI is moving or staying idle.

This worked good, however, I’ve come across an issue where the AI will bob up rapidly when it stops/starts moving when applying hip height changes. So unfortunately this solution probably won’t be permanent.

Are there any alternatives I have to accomplishing the same task?

Thanks for any help.

I think it’s an issue with roblox