while true do
for _, v in pairs(game.Workspace:GetChildren()) do
if v:WaitForChild("Part") or v.Name == "Part" then
v:Destroy
end
end
This is a workspace cleaner. Every time it returns: end:4: Expected function call arguments after '(' What does this even mean?

2 comments
Use v:IsA(ClassName) instead of waiting for a child.
Yeah, i'll try that, (By the way, the aitforchild is to check if it is a model with parts inside)