How do i make my Camera's Orientation the Same as my Character's Orientation?

I’ve been trying to find out how to make the Camera’s Orientation follow the Character’s Orientation
so when the Character is like sideways, the camera is also sideways. i’ve tested all of the CameraTypes but none of them have what i was looking for. thank you!

do you mean like when the player is in humanoidstatetype.physics and they’re fallen down or something you want the camera to be on the local axis of the player?

I’m making a Flight Simulator & i want to make the Camera follow the Plane/Player’s Orientation Kinda like PTFS’s Camera Lock

oh alright, if it were me i’d do this:

local Player = game.Players.LocalPlayer
local Camera = workspace.CurrentCamera

local RunService = game:GetService("RunService")

local partToFollow = workspace.Part --your part here

Camera.CameraType = Enum.CameraType.Scriptable

local cameraLag = 0.2
local camOffset = Vector3.new(0,0,10)
RunService.Stepped:Connect(function()
	Camera.CFrame = Camera.CFrame:Lerp(partToFollow.CFrame,cameraLag) +
		(partToFollow.CFrame.RightVector * camOffset.X) +
		(partToFollow.CFrame.RightVector * camOffset.Y) +
		(partToFollow.CFrame.RightVector * camOffset.Z)
end)

i didn’t test it so hopefully it works, if it doesn’t just lmk

sorry i’ve should’ve been more clear. i want the Camera to lock to the player’s Orientation kinda like PTFS

like even if the view is diagonal and stuff?

yeah kinda like that…

fgsgsgsdg