So, I have a script that checks if a certain part is in workspace after it detects childremoved from workspace. when the part gets deleted it clones it self a bunch of times
script below
local check_for2 = {
"AECMD",
}
while wait() do
game.Workspace.ChildRemoved:Connect(function(ChildRemoved)
wait()
local should_be2 = table.find(check_for2,"AECMD")
if should_be2 then
script.AECMD:Clone().Parent = game.Workspace
end
end)
end
The while loop is what’s causing it to clone a bunch of times since you’re making a bunch of ChildRemoved events. Not sure what you want the end result to be.