GetChildren() - Support Needed!

Hello! I am currently trying to achieve a auto-destroy support system. Here are some of the things I don’t understand.

local notifClone = baseClip:GetChildren()
for a,b in pairs notifClone do
if notifClone.Name = “notifClone 2” then
if string.sub(notifClone.Desc.Text, 4) == Victim.Name then
notifClone:Destroy()
end
end

Hello, I am currently trying to make a code like this. Any help?

Not sure if this works but I spotted a whole bunch of errors in your script

local notifClone = baseClip:GetChildren()

for _,v in pairs(notifClone) do
    if v.Name = “notifClone 2” then
        if string.sub(notifClone.Desc.Text, 4) == Victim.Name then
             notifClone:Destroy()
        end
    end
end

I will try it, and get back to you!!