I got an issue with my script
local trashfolder = game.Workspace.Trash
local trashlist = trashfolder:GetChildren()
wait(3)
for i = 1, #trashlist do
i:Destroy()
end
it wont destroy everything inside the trash folder
the error is
Workspace.Cleaner:5: attempt to index local 'i' (a number value)

1 comment
thanks!