|
| 27 Mar 2014 04:01 PM |
I am trying to use it for in-game debugging;
function _G.LetsFindTheNames(model, val) _G[val] = model:GetChildren() for i = 1,#_G[val] do model = _G[val][i] m = Instance.new("Message", Workspace) m.Text = model.Name wait(5) m:Destroy() _G.LetsFindTheNames(model, i) end end |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 27 Mar 2014 04:52 PM |
| It doesn't error, it just don't work the way I want it to, it's supposed to make a message of everything in the game, but it goes to the first thing in workspace, first child in that, that, when there's no more children it just stops. |
|
|
| Report Abuse |
|
|