I am learning to script and I have a question..
#4
To find a child inside a parent, you can either go

[lua]
box.[[childsname]]
[/lua]

or, and you have to do this if there's a space in the name,

[lua]
box:getChild("[[childsname]]")
--or in ROBLOX
box:findFirstChild("[[childsname]]")
[/lua][/lua]
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)