local function T()local T=searchTextBox.Text for Y,J in next,activeButtons._tasks do if T==""then J.guiButton.Visible=true else local Y=stringMatch(T,J.guiButton.Name)J.guiButton.Visible=Y end end scrollingFrame.CanvasPosition=Vector2.new(0,0)updateScrollingFrameCanvasSize()end local function Y(T)for Y,J in ipairs(wearingAssets.assets)do if J.id==T then return true end end return false end

local function search()
	local text = searchTextBox.Text
	for _, button in next, activeButtons._tasks do
		if text == "" then
			button.guiButton.Visible = true
		else
			local match = stringMatch(text, button.guiButton.Name)
			button.guiButton.Visible = match
		end
	end
	scrollingFrame.CanvasPosition = Vector2.new(0, 0)
	updateScrollingFrameCanvasSize()
end

local function isWearing(id)
	for i, asset in ipairs(wearingAssets.assets) do
		if asset.id == id then
			return true
		end
	end
	return false
end
