function update()local Y=0 local s=frame.Search.Text local Z for x,b in pairs(scroll:GetChildren())do if b.ClassName=="\084\101\120\116\066\117\116\116\111\110"then b.Visible=(b.Text:sub(1,s:len())):lower()==s:lower()Z=b.AbsoluteSize.Y if b.Visible then Y=Y+1 end end end local x=Y*Z scroll.CanvasSize=UDim2.new(0,0,0,x)end

function update()
	local count = 0
	local t = frame.Search.Text
	local abssizey
	for _, v in pairs(scroll:GetChildren()) do
		if v.ClassName=="TextButton" then
			v.Visible = v.Text:sub(1, t:len()):lower()==t:lower()
			abssizey=v.AbsoluteSize.Y
			if v.Visible then
				count = count + 1
			end
		end
	end
	local csize = (count*abssizey)
	scroll.CanvasSize = UDim2.new(0, 0, 0, csize)
end
