How to make the camera move depending on where the player is facing

Sorry if the title isn’t that good, I had a hard time coming up with one.

So I’m trying to make a game with a camera you can hold and move around.

I’m planning on making the camera be able to be moved with the IJKL keys.

I for up, J for left, K for down, and L for right.
The problem is, I don’t know how to make it move in the same way no matter where the player is facing.

For example, I’d still want the J key to move left even if the player is facing right.

Is there a way to make the camera move based on the player’s left and right?

Yes. Just get the character’s HumanoidRootPart.CFrame.RightVector for the right, and
-HumanoidRootPart.CFrame.RightVector for the left. Then you can position your camera based on that offset.