here it is
for _,v in pairs(backpack:GetChildren()) if v.Name ~= "Menu" then v:Destroy() end
so basically it removes all the items in the inventory except for items called Menu thanks
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category. Why was this question closed?
Closed as Not Constructive by Ziffixture
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?