I want this script to remove the "ClassName" From the "ClassList" m[i] Fails To read the ClassList and comes with an error
Unless there is another way to do this?
while true do
wait(1)
local m = script.Parent:GetChildren()
for i = 1, #m do
classlist = {"Sky","BloomEffect","BlurEffect","ColorCorrectionEffect","SunRayEffect"}
--Classlist the stuff that wants to get removed
if m[i].className == classlist then
m[i]:Remove()
end
end
end

4 comments
table.remove(classlist,i)
Not what he wants ^
line 9 if m.ClassName == classlist[i] then -- delete it end
I just need the Classlist to remove the classname that the script searches in the game network.