Hello Community! I am attempting to get the children of "every" children on a Parent.
This is the script I experimented on but didn't work lol.
local folder = game:GetService("ReplicatedStorage").Folder:GetChildren() local children = folder:GetChildren()
Thanks!

2 comments
use GetDescendant instead https://developer.roblox.com/en-us/api-reference/function/Instance/GetDescendants
The reason your script didn't work is because your variable "folder" contains all of the children inside the folder. Then, in your second variable "children", you set it to the "getchildren" of folder. It's the equivalent of: "children = Folder:GetChildren():GetChildren()"