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("scanning.. "..v.Name)
- local chld = v:GetChildren()
- scan(chld)
- end
- end
- scan(workspace:GetChildren())
- --[[
- This is a simple function to just scan through each item in whereever you choose.
- Meant for ROBLOX, will work for other Lua thingers tho :P
- Does not do anything, just prints the name of said object. Add as you wish
- ]]
Advertisement
Add Comment
Please, Sign In to add comment