local viewportframe = script.Parent
local camera = Instance.new("Camera")
viewportframe.CurrentCamera = camera
camera.Parent = viewportframe
local part = game.Workspace.Dummy
part.Parent = viewportframe
camera.CFrame = CFrame.new(Vector3.new(-10, 10, 10), part.Head.Position)
You can try and guess the numbers until you get it right but I recommend putting a part in front the character and position it to where you want the camera to be and then just add the camera to it