Untitled
unknown
lua
3 years ago
653 B
10
Indexable
function destructAllWorld()
for _, v in pairs(worlds:GetChildren()) do
if v:IsA("Folder") then
for _, destructs in pairs(v:GetDescendants()) do
if destructs:IsA("Folder") and destructs.Name == "Destructibles" then
for _, begin in pairs(destructs:GetChildren()) do
remote:FireServer(
{
["TagFullName"] = tostring(begin:GetFullName())
}
)
end
end
end
end
end
endEditor is loading...