Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function scan(dir)
- for i,v in pairs(dir) do
- wait() print(v.Name)
- if v:IsA'Script' and string.lower(v.Name) == "final warefare welcome" then
- print("destroying: "..v.Name) wait() v:Destroy()
- end
- scan(v:GetChildren()) --This causes it to endlessly loop until it reaches the last directory.
- end
- end
- scan(workspace:GetChildren())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement