-- Turns on the correct pieces of the display

function Display(d_hrsTens, d_hrsOnes, d_minsTens, d_minsOnes, d_noon)
	local parts = { hrsTens, hrsOnes, minsTens, minsOnes, noon }
	local taskLine = { d_hrsTens, d_hrsOnes, d_minsTens, d_minsOnes, d_noon }
	for i = 1, #taskLine do
		for j = 1, #taskLine[i] do
			if taskLine[i][j] == 1 then
				parts[i]:FindFirstChild(tostring(j)).Visible = true
			else
				parts[i]:FindFirstChild(tostring(j)).Visible = false
			end
		end
	end
end
