function Display(g,e,V,y,b)local p={hrsTens;hrsOnes,minsTens,minsOnes,noon}local M={g;e,V;y;b}for g=1,#M,1 do for e=1,#M[g],1 do if M[g][e]==1 then(p[g]:FindFirstChild(tostring(e))).Visible=true else(p[g]:FindFirstChild(tostring(e))).Visible=false end end end end
-- 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
