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?

4 comments

0

That would be :GetChildren. :GetDescendants gets 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-clause

1

GetChildren, if you’re removing all sets of Tools, all descendants will follow.

0

use GetChildren()..

0

thanks