local cam = game.Workspace.CurrentCamera
local  C1 = game.Workspace.Cam1
local  C2 = game.Workspace.Cam2
local num = 1
script.Parent.Selected:connect(function (mouse)
	mouse.Button1Down:connect(function ()
		game.Workspace.CurrentCamera.CameraSubject = game.Workspace:findFirstChild("Cam"..num)
	game.Workspace.CurrentCamera.CameraType = "Track"
	if num >= 2 then
		num = 1
		else
		num = num + 1
	end	
	end)
end)
script.Parent.Deselected:connect(function ()
game.Workspace.CurrentCamera.CameraSubject = script.Parent.Parent.Parent.Character.Humanoid
game.Workspace.CurrentCamera.CameraType = "Custom"
num = 1
end)

The point is when I click it goes to cam 1, then to cam 2, and when I deselect I view my character but when I click nothing happens