Scaling Script?

Hello. I am trying to figure out how to make a script that I can attach to a folder ( An empty game object ) which contains all the objects. The script I am trying to make is to expand all the game objects by scaling both the X axis and Y axis if a certain game object is pressed. I can’t seem to find any posts that relate. All help is appreciated. Also, this is not the first thing I’ve done, I’ve tried scripts but like I said they don’t do exactly what is needed.

If you mean scaling like climbing, the FPS Input Controller that is included in the standard assets has a character script that allows you to edit how steep the surface has to be for the Player to scale it.