I am creating a game that includes a good amount of textures. It's my understanding that certain textures can cause lag, especially when used extensively. For players with lower-end computers, I would like to create a GUI that allows the textures to be turned on and off, thus eliminating lag from their experience. I am assuming this would be fairly easy to do...but obviously I am not very skilled in scripting, which is why I am here. Any help or guidance in this would be much appreciated.
(Don't know if this would be of any help, but I have a small script that I believe may be useful...)
for i,v in pairs(game:GetDescendants()) do if v.Name == "Texture" then v:Destroy()