I made the camera rotate around the part but i don't know how to make a button that would return the camera back to the player and let the player control the camera as he wishes.
i use this code to rotate the camera around the part ``local target = workspace.Part local camera = workspace.CurrentCamera camera.CameraType = Enum.CameraType.Scriptable camera.CameraSubject = target local angle = 0
while wait()do camera.CoordinateFrame = CFrame.new(target.Position) --Start at the position of the part * CFrame.Angles(0, angle, 0) --Rotate by the angle * CFrame.new(0, 3, 10) --Move the camera backwards 5 units angle = angle + math.rad(0.1) -- speed of rotation
end

2 comments
Setting the CameraSubject to the player's humanoid?
yea