How to delete entire contents of folder?

Hello, I want to write a script to delete the entire contents of a folder (not folder itself).
Currently, I have nothing really written. I was messing with finding children but that hasn’t gave me any progress.
Thanks in the meantime!

1 Like

Instance:ClearAllChildren()

1 Like

Just GetDescendants() of that folder and then for loop it to delete every value.

I didn’t think know that function. Today I learnt. Thanks.