I need to send value from slider to variable

when i set a target input as a variable, there is an error, that target variable is none, if i do not input a target there is another error