How would you use :GetChildren to find certain properties like 'Desc' as a Text Label to destroy it!

You can write your topic however you want, but you need to answer these questions:
I would like to use :GetChildren to get a part with a certain name, and get the children!

I have tried using multiple tutorials, however they DID not work! I am still looking for more!

Thanks! This is a HELP-Destroy system; put into Basic Admin Essentials’s Essentials Code!

local function pendDestroy(Pend,Data)
	
	
	    local notifClone = baseClip:FindFirstChild('Container'):FindFirstChild('Notif Clone2')

        local notificationContainer = baseClip:FindFirstChild('Container')
		local Notification = notificationContainer:FindFirstChild('Template')	
	    local notifDesc = baseClip:FindFirstChild('Container'):FindFirstChild('Notif Clone2'):FindFirstChild('Desc')
		local notifControls = notifClone:FindFirstChild('Controls')
		local notifTitle = notifControls.Decoration:WaitForChild('Title')
	if string.sub(notifDesc.Text, 4) == Pend.Name then
	for a,b in pairs(Stacks.Notifs) do
		if b == notifClone then
			table.remove(Stacks.Notifs,a)
			
				repeat 
wait()
					notifClone:Destroy()
					notifClone:Destroy()
                   
					
                 
					figureNotifs(Stacks.Notifs,notificationContainer)
					
				
				until not baseClip:FindFirstChild('Container'):FindFirstChild('Notif Clone2') or  string.sub(notifDesc.Text, 4) ~= Pend	
				
				
				
			end	
		
	
            end


      
    end
end

Try something like this :

for i, obj in pairs(workspace:GetChildren()) do -- get all obj in the workspace
	if obj:IsA("TextLabel") then -- verify if the current obj is a TextLabel
		if obj.Name == "Desc" then -- verify Object name
			print("Hey, i found the Desc Label !")
		end
	end
end

If you don’t understand watch this Instance:GetChildren()

I’m not too sure what you’re asking for here. The above post might help, but it remains pretty unclear what you actually want to achieve. Maybe make things clearer?

Hello! I was trying to use GetChildren, then :FindFirstChild, but it throws an error! I’m not sure how to GetChildren, so I will read and mark it as solved…