local Q=script.Parent.Search.Query local B=script.Parent.Container function UpdateContainer()local Z=string.lower(Q.Text)local X,n,y=pairs(B:GetChildren())while true do local Q,B=X(n,y)if Q then else break end y=Q if B:IsA("\073\109\097\103\101\066\117\116\116\111\110")then if Z~=""then if string.find(string.lower((B:FindFirstChild("\084\105\116\108\101")).Text),Z)then B.Visible=true else B.Visible=false end else B.Visible=true end end end end Q.Changed:Connect(UpdateContainer)
-- Decompiled with the Synapse X Luau decompiler.

local l__Query__1 = script.Parent.Search.Query
local l__Container__2 = script.Parent.Container
function UpdateContainer()
	local v1 = string.lower(l__Query__1.Text)
	local v2, v3, v4 = pairs(l__Container__2:GetChildren())
	while true do
		local v5, v6 = v2(v3, v4)
		if v5 then
		else
			break
		end
		v4 = v5
		if v6:IsA("ImageButton") then
			if v1 ~= "" then
				if string.find(string.lower(v6:FindFirstChild("Title").Text), v1) then
					v6.Visible = true
				else
					v6.Visible = false
				end
			else
				v6.Visible = true
			end
		end
	end
end
l__Query__1.Changed:Connect(UpdateContainer)
