Creature movement like subnautica leviathans

Hey,
I’m new and I don’t know how to make animations similar to the bodies/tails of leviathans in Subnautica.
Please help I suck at blueprints:(