How would i make the camera follow the head?

so i was wondering, how would i make the camera follow the exact movements of the head without using cameraoffset?

i am aware that there’s a way to do it with setting the camerasubject to the player’s head, but that way causes first person to be super buggy and odd.

Edit the module called ‘TransparencyController’ (game:GetService(“Players”).LocalPlayer.PlayerScripts.PlayerModule.CameraModule.TransparencyController)
and replace the function called ‘SetSubject’ with this code:

local lp = game:GetService("Players").LocalPlayer

function TransparencyController:SetSubject(subject)
	local character = nil
	if subject and ((lp.Character and subject == lp.Character:FindFirstChild("Head")) or subject:IsA("Humanoid")) then
		character = subject.Parent
	end
	if subject and subject:IsA("VehicleSeat") and subject.Occupant then
		character = subject.Occupant.Parent
	end
	if character then
		self:SetupTransparency(character)
	else
		self:TeardownTransparency()
	end
end