I need for this to get all of the ships in a model by checking through the children and making them move to a certain point.
if keyV == "createBox" then
local children = game.Workspace[teamName]:getChildren()
for i=1, #children do
if children[i]:FindFirstChild("testShip") then
children[i].Humanoid:MoveTo(mouse.hit.p)
print(children[i].Name)
end
end
end |