I have this script to remove parts:
script.Parent.Touched:connect(function(hit)
hit:Remove()
end)
This does what it needs to because It deletes the parts it touches but I am making a tycoon. I am trying to make it to where it removes the part depending on its name like If the parts name is Part22 then it will remove Part22 not Part. This is so that I can make it to where when the parts fly out of the tycoon they dont sit around and lag. Please help, I have not been able to find away to do this!
By, TixyScripter

2 comments
If I want it to delete more than two can I keep putting or, or jsut a comma
I don't think commas work. BTW please Accept My answer?