Why is this script in my plugin not working?

My script duplicates a folder into workspace.
For some reason it doesn’t work.
Screen Shot 2022-04-20 at 4.57.01 PM
Please help.

Can you show your workspace hierarchy? Are you sure that “Configuration” is first level down? Use FindFirstDescendent instead of FindFirstChild.

I just realised that this script is really bad.

FindFirstDescendent is not enabled as of now.

If you want to look through the descendents of an object you can use FindFirstChild:(ChildName, True)

1 Like

I fixed it, my script was very wrong and I just wrote it wrong.

I didn’t know that… noted.

And yeah without the recursive argument set to true like u have, it wouldnt search descendents, thats what i assumed was missing in his findfirstchild.

Good catch :slight_smile:

1 Like