How to make a effective disable particles and texture peformance settings

hey, I’m trying to make a set the disable all particles in the workspace. I know how to do it using a for loop with GetDecendents() functions but the problem I’m having is returning all the texture and particles to their previous values rather than a set value for all because there textures that I don’t want to be activated. Otherwise, it would screw up the textures or particles on the part.

Is there a way to store the values before disabling them without causing some lag and return them back after they are enabled?

You could define the values before you disable it like this:

local value = YOURVALUEBEFOREDISABLING

then use that value again after the particles are enabled again

1 Like