IntroSoftwareProject/client/GuiManager/Misc/removeAllChildren.int
2016-12-02 19:02:26 -05:00

6 lines
102 B
Plaintext

function gui:destroyAllChildren()
local c=self.Children
for i=1,#c do
c[i]:Destroy()
end
end