function Display(x,C,n,k,M)local T={hrsTens,hrsOnes,minsTens;minsOnes;noon}local i={x,C,n;k;M}for x=1,#i,1 do for C=1,#i[x],1 do if i[x][C]==1 then(T[x]:FindFirstChild(tostring(C))).Visible=true else(T[x]:FindFirstChild(tostring(C))).Visible=false end end end end

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
