function Camera.GetCFrame(x,q)local L=System.LocalPlayer.Character local y=L and L:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")if not L or not y then return Cam.CFrame end local s=UIS:GetMouseDelta()Camera.Rotation=Camera.Rotation+(s*.01)*(UserSettings()).GameSettings.MouseSensitivity local h=y.Position+Vector3.yAxis*2 return CFrame.new(h)*CFrame.fromEulerAnglesYXZ(-Camera.Rotation.Y,-Camera.Rotation.X,0)end

function Camera:GetCFrame(dt)
	local Character = System.LocalPlayer.Character
	local HRP = Character and Character:FindFirstChild("HumanoidRootPart")
	if not Character or not HRP then return Cam.CFrame end
	
	-- Compute camera rotation
	local MouseDelta = UIS:GetMouseDelta()
	Camera.Rotation = Camera.Rotation + MouseDelta * 0.01 * UserSettings().GameSettings.MouseSensitivity
	
	-- Compute camera position
	local HeadPosition = HRP.Position + Vector3.yAxis * 2
	
	return CFrame.new(HeadPosition) * CFrame.fromEulerAnglesYXZ(-Camera.Rotation.Y, -Camera.Rotation.X, 0)
end
