generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: What the heck is wrong with this function

Previous Thread :: Next Thread 
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
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
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
27 Mar 2014 04:37 PM
Help?
Report Abuse
BornLeader1 is online. BornLeader1
Joined: 02 Jun 2011
Total Posts: 1795
27 Mar 2014 04:40 PM
Post error
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image