How to create swiggly line effect with bones

I’m trying to recreate this animation for practice purposes, but I can’t seem to figure out to recreate the swiggly effect with bones.