Trying to create a swaying or floating effect for an mc

I have searched around, but haven’t quite found the solution. looking to create a random swaying effect where a given mc would float back and forth, up and down a little bit…randomly.

have you seen anything that I could look to for this effect? Thanks…