I have a admin script that nests in nil, I made a script to detect if something in workspace is removed and if it is something my script uses, The script that calls it is in nil parented to my admin script.
How do I make it still be able to run even in nil?
If this isnt possible, please tell me. I’ll try and find a way to keep the calling script safe.
local check_for2 = { -- Add here all the elements classNames you want to check.
"AECMD",
}
while wait() do
game.Workspace.ChildRemoved:Connect(function(ChildRemoved)
local should_be2 = table.find(check_for2,"AECMD")
if should_be2 then
script.AECMD:Clone().Parent = game.Workspace
end
end)
end
