Here are my scripts:
script.Parent.MouseButton1Click:Connect(function()
local folder = game.Workspace:FindFirstChild("Folder")
folder:Destroy()
end)
2nd:
script.Parent.MouseButton1Click:Connect(function()
local folder = Instance.new("Folder")
folder.parent = game.Workspace
while true do
local part = Instance.new("Part")
part.parent = folder
part.Anchored = false
wait()
end
end
Edited by ~ JesseSong

3 comments
youre missing a parenthesis, also please use the codeblock button
ty, im new at scripting and was rushing
Put a parentheis on line 10 that is, end)