Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function printDataModel()
- local function printTree(obj,spacing)
- for _,v in pairs(obj:GetChildren()) do
- print(string.rep(" ",spacing)..(v.Name ~= "" and v.Name or "?"))
- wait()
- printTree(v,spacing+5)
- end
- end
- print(game.Name)
- printTree(game,5)
- end
- printDataModel()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement