He's my script:
cam = game.Workspace.CurrentCamera
cam.CameraSubject = game.Workspace.Middle
cam.CameraType = "Custom"
angle = 0
loops = 0
while loops < 500 do
cam.CoordinateFrame = game.Workspace.Middle.CFrame * CFrame.Angles(0,angle,0)
loops = loops + 1
wait()
angle = angle + math.rad(1)
end
The only problem is the camera is too close to the part. Also the player can still go into first person. Can anybody help me out?

2 comments
You gotta set it to Custom before setting camerasubject and your gonna have to add in a CFrame offset in order to get the camera back:game.Workspace.Middle.CFrame * CFrame.Angles(0,angle,0)*CFrame.new(offset) im i remember correctly
It says offset is a unknown