--========================CAMERA========================--

input.InputBegan:connect(function(inp,CanWork)
	if inp.KeyCode == Settings.CameraKey and CanWork == false then
		if CamV == ("second") then
			cam.CameraType = "Custom"
			cam.FieldOfView = 70
			cam.CameraSubject = plane.PilotSeat
			CamV = ("third")
			script.Parent.HUD.Visible = false
			run=false
		elseif CamV == ("third") then
			run=true
			CamV = ("first")
			cam.FieldOfView = 100
			script.Parent.HUD.Visible = true
		elseif CamV == ("first") then
			run=true
			CamV = ("second")
			cam.FieldOfView = 100
		end
	end
end)
	