connections = {}

for i,v in pairs(workspace.ya:GetChildren()) do
t = v.Touched:Connect(function()
print"touched"
end)
table.insert(connections,t)
end
wait(3)

for i,v in pairs(connections) do
v:Disconnect()
table.remove(connections,i)
end

So there's no error in this code the events just dont disconnect? theres not much more to explain "workspace.ya" is a folder with parts inside of it im pretty sure the values get remove from the table though, Weird??