Rotating/Tweening/ Camera without affecting the player. HELP

You can write your topic however you want, but you need to answer these questions:

  1. **What do you want to achieve?

I made a dash system based on where the character looks, i.e. the dash goes in the direction where the character rotates/looks with its camera. I want to keep the player in place while I can rotate the camera freely, here are a few examples

Reference

Another reference

  1. What is the issue?

My problem is that I always end up rotating the camera along with the player instead of the camera alone, I’ve searched the forum but I haven’t found anything, I don’t know if it’s my English that doesn’t allow me to search too much haha

  1. **What solutions have you tried so far?

I tried to use RunService to get the camera and the position it is getting constant, then I tried to use CFrame.new(math.rad(45),0,0) to rotate the camera, but I end up rotating everything anyway. I tried to make a part follow me and then use it as a camera and move the part but it looked ugly, I really have no idea what to do

function CamBounce(Direccion)

--This is empty cause i got mad and deleted everything.

end

local function Dash(Key, AnimName)
	if SigueDash then return end
	if CD then return end
	SigueDash = true
	CD = true
	local function CrearLV()
		local LV = Instance.new("LinearVelocity", HumanoidRootPart)
		local Att = Instance.new("Attachment", HumanoidRootPart)
		LV.ForceLimitMode = Enum.ForceLimitMode.PerAxis
		LV.MaxAxesForce = Vector3.new(65000,0,65000)
		LV.Attachment0 = Att
		return LV
	end

	local LV = CrearLV()
	local Potencia = 35
	PlayAnim(Key, AnimName)
	CamBounce(Key)
	local dis
	dis = RunService.RenderStepped:Connect(function()
		if Key == "W" then
			LV.VectorVelocity = HumanoidRootPart.CFrame.LookVector * Potencia
		elseif Key == "S" then
			LV.VectorVelocity = HumanoidRootPart.CFrame.LookVector * -Potencia
		elseif Key == "D" then
			LV.VectorVelocity = HumanoidRootPart.CFrame.RightVector * Potencia
		elseif Key == "A" then
			LV.VectorVelocity = HumanoidRootPart.CFrame.RightVector * -Potencia
		end
	end)

	wait(Tiempo) -- Esperar durante un tiempo antes de detener el dash
	dis:Disconnect()
	LV:Destroy()
	SigueDash = false
	task.spawn(function()
		wait(2.50)
		CD = false
	end)
end

I wonder, do you mean turning off the characters auto rotate?
ex. humanoid.AutoRotate = false
then set it to true after the dash ends

No, because the dash depends on camera movement, e.g. Stronghest battleground (idk the name)