if i were to gather and delete all tools from a backpack, would i need to use the GetDescendants() or GetChilderen() functions in order to preform the act?
COMMUNITY QUESTION
GetDescendants or GetChildren to gather all tools in a backpack?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
That would be
:GetChildren.:GetDescendantsgets all descendants, including handles, folders, etc. anything else you might have in tools. Use:GetChildren. Though, scripts can be stored in backpack and run, so you might want to filter those out with a simple if-clauseGetChildren, if you’re removing all sets of Tools, all descendants will follow.
use GetChildren()..
thanks