So I know how to find ONE child of a parent like so
game.Workspace.Example:FindFirstChild("Child1")
But what if I need to find multiple children of a child?? would it be,
game.Workspace.Example:FindFirstChild("Child1").Child2:FindFirstChild("Child3")
?
This has been giving me a headache and the wiki is no help..
Please help asap..
You can not include 2 events in the same line. Here would be what you're looking for....
local findchild1 = nil local findchild 2 = nil local findchild1 = game.Workspace.Example:FindFirstChild ("Part1") if findchild 1 ~= nil then local findchild 2 = findchild1:FindFirstChild ("Part2") end
This way, you would findfirstchild of the first object, and if its not nil, find the second into the variable findchild2.