Advertisement
anphu04

Destroy all conveyors

Mar 20th, 2018
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. function scan(p)
  2. for i,v in pairs(p:GetChildren()) do
  3. if v.Name == "CONV" then
  4. v:Destroy()
  5. end
  6. scan(v)
  7. end
  8. end
  9. scan(workspace)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement