local folder = game.Workspace:FindFirstChild("Invisiblity Folder")
if folder==nil then
newfolder = Instance.new("Folder")
newfolder.Parent=game.Workspace
newfolder.Name="Invisibility Folder"
print("made folder")
else
print("folder here")
end
It creates a brand new folder everytime I run this code, even if a folder is already in the workspace. Anyone understand why? Running from a Server-Side script.

1 comment
the folder may not be loaded in yet and so the script creates a new folder and then the original folder eventually loads in, try WaitForChild()