How do I make the flashlight wobble as I walk?

quiero que al caminar con mi character controller la linterna se tambalee

Hello,
I think, you can attach the Flashlight as a Child to your Player, and if the Player moves, just add a bit of shake (rotation and position) to it.
I think for a smooth wobbling effect you can use Math.lerp