Advertisement
anphu04

Dex Explorer At Home

Jan 28th, 2020
988
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. --[[ 28/1/2020, BY KONETHORIX
  2. mom: we have dex explorer at home
  3. dex explorer at home:
  4. ]]--
  5.  
  6. local root = -- HERE
  7.  
  8. function DEX(num, p)
  9. for i,v in pairs(p:GetChildren()) do
  10. local output = ""
  11. for x = 1,num do
  12. output = output .. "- "
  13. end
  14. output = output .. v.Name .. ": " .. v.ClassName
  15. print(output)
  16. DEX(num+1, v)
  17. end
  18. end
  19.  
  20. DEX(0, root)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement