Hello, I have a problem with my script, can someone help me?
local Parts = game.Workspace.Parts:GetChildren()
for i, v in pairs(Parts) do
v:Destroy
wait(1)
end
Hello, I have a problem with my script, can someone help me?
local Parts = game.Workspace.Parts:GetChildren()
for i, v in pairs(Parts) do
v:Destroy
wait(1)
end
Here you go:
local folder = workspace.Parts
for _,v in pairs(folder:GetChildren()) do
v:Destroy()
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thank you!