Probably missing something obvious (Destroy doesn't work)

For some reason this doesn’t work and everything is correct, when I try executing the same script through the command bar then it does work.

In the picture you can see that the game and the script have ran, and it didn’t do the destroying I even parented it to nil and that also didn’t work.

Reason I need this folder destroyed when game runs because it serves no purpose and is just a convenient way of storing unpublished things

Yeah, it is a simple fix; scripts can’t run in server storage.

2 Likes

Also I believe you can just set achievable to false in the folder and it will do the same thing if you just don’t want to have the folder at runtime.

1 Like

Why do you want to delete the folder, you can just delete it normally.

Because its full of drafts that aren’t finished

Move the script to the ServerScriptService folder.