You group a set of layers that form a specific style - use Layer Lable colors and stack these layers together, in the Timeline, to help you identify them.
Link each of their respective Scale property to the value of the Slider Control. If the Slider matches the condition set in the Scale property then the Scale value is set to 100%. If the value of the Slider Control does not match the Expression Conditional, then set the Scale value to 0.
Something like this -
// start script
// declare my value
myValue = 1;
// identify slider to be used to check for its value
sliderValue = effect("Slider Control")("Slider");
// use conditional to check correspondence between slider value and my value
// set values to Scale, according slider value
if (sliderValue == myValue) { 100 } else { 0 }
// end of script
-------------------------------------------------------
You will also want to apply this Expression to the Slider, to limit its values to only integers-
// start script
sliderValue = Math.floor(effect("Slider Control")("Slider"));
// controls minimum allowable value to 1
if (sliderValue < 1) {1}
// controls maximum allowable value to 6
else if (sliderValue > 6) {6}
//if values are between 1 and 6, then use the value as it is
else {sliderValue}
// end of script
------------------------------------
You can use Edit>Copy Expression Only to copy the Expression and paste it on multiple, selected layers at one go. You wlil want to do this for the group of layers in the same set/style that you designed - essentially, they will all be using the same Expression to dictate their Scale values.