An effect on one value from another value

I have a value of two x and y

x=effect(“Slider Control”)(“Slider”)
y=transform.opacity

I want at x = 100
y convert directly to 0