Audio Settings Menu

Hi! I do settings menu and I want to do horizantalslider that I move it sound is decrease or increase.(please javascript) I wait your help…

has error : unknown identifier ‘scale’

You haven’t identified what “scale” is.

make a variable like this : var scale : float;

or like this: var scale : int;