userInputSvc.InputBegan:Connect(function(input:InputObject, is_processed:boolean)
if input.UserInputType == Enum.UserInputType.Keyboard then
local kc = input.KeyCode
if kc == Enum.KeyCode.A then
workspace.CurrentCamera.CFrame = ch.Head:GetPivot() * CFrame.fromEulerAnglesYXZ(0, 0, 0)
elseif kc == Enum.KeyCode.D then
workspace.CurrentCamera.CFrame = ch.Head:GetPivot() * CFrame.fromEulerAnglesYXZ(180/180*math.pi, 0, 0)
end
end
end)