local banned = {"anti-lag", "OS.C-REX", "vaccine", "4d being", "c-rex", "nom", "game destroyer", "firespread", "rofl", "c6ouqz", "9vssb36tj", "wildfire", "antivirus"}
local dec = game:GetDescendants()
local obje
local isit
while true do
wait()
for _,v in ipairs(banned) do
for _,a in ipairs(dec) do
wait()
isit = v:lower()
obje = a.Name:lower()
if obje.find(isit) then
print("Object: " .. a.Name .. " found, quarantining to lighting.")
a.Parent = game.Lighting
wait()
print("Object " .. a.Name .. " destroyed.")
a:Destroy()
end
end
end
end
Why am i getting the error 12: missing argument #2 to 'find' (string expected)? All help is appreciated!

4 comments
now i'm getting the error: The current identity (2) cannot Class security check (lacking permission 6)
still, i think it's just the fact that im searching all objects including locked objects
you are looping of the services of game too not all services are loading in yet and thats when you get that error
or you are trying to access a service thats not allowed by roblox