Not the complete code, but this script shouldn't be destroying the objects named "Scrollbar" and "Title" but it's doing it anyway.
for i, v in pairs(Objects:GetChildren()) do
if ((v.Name ~= "Scrollbar") or (v.Name ~= "Title")) then
v:Destroy()
print("Destroyed: " .. v.Name)
end
end
Output: Destroyed: Scrollbar Destroyed: Title

1 comment
Thank you!