Hello. I am very new to this forum and very new to scripting. I feel as though I have done everything correct, yet it doesn't work.
b3n = game.Workspace.Partz:GetChildren() while true do wait(2) b3n:Remove() end
First of all, "Partz" is NOT a member of workspace. But nor it Parts.
Also, try changing "b3n" to "ben" instead. This is probably not the issue, but just telling you.
This is another thing, change "Remove" to "remove" Take the capital out of it.
Here's the script it should be;
ben = game.Workspace:GetChildren()--If "Partz" is a model, then the next script below this one will help. while true do wait(2) ben:remove()--Or you could use "Destroy" instead of "remove" end
If "Partz" is a model, then here's the correct script;
ben = game.Workspace.Partz:GetChildren while true do wait(2) ben:remove()--Or you could use "Destroy" instead of "remove" end
Hope this helped, if it didn't I still love you!
I find that I just re-wrote it, but did it all in one line, this should be a Lot more simple for basic lua.
local b3n = game.Workspace.b3n:ClearAllChildren() --simply going to workspace, finding b3n and clearing everything inside of it also known as "children"