Welcome!
This sounds like it can be build with standard actions, depends on what exactly a distance slider is and so on. It seems you need two FSMs. One that houses the Distance value that gets constantly decreased, and one that watches an input and which adds again.
As a recommendation, separate mechanics from visuals and even the input at first. So to get it going, make one state that listens for a GetKeyDown. Just “hardcode” any for now. Later, you can trigger it with an UI element etc.
To decrease, you need two states. First one a Wait, and the second with Float Subtract or Float Operator etc. and returning to first after Finished. Finished is an event that is internally raised when all actions in the state are done. As as an transition below the state will leave the state. So the variable in the Wait is your tick, how often or quickly it is reduced. Be sure to set it in the variable tab.
When this works, you need to account for adding. A simple way could be to add another Float Add action, and a myVar variable . It must be zero by default and you reset it to zero every tick. When returning to the first state, above the Wait, add a Set Float value for myVar and set it to zero. That means, every tick, it‘s set back to zero. This alone will just decrease your distance value, since myVar right now is always zero. But you want to Clamp the distance value etc first. Observe how the decrease works.
Then add a second FSM, which listens to a key and adds. To do this, make one state to listen for a key with GetKeyDown (it’s ok for prototyping or simple games, but later replace with proper input scheme). After the key was pressed, go to a second state, and here we Send FSM Float to the first FSM, setting its myVar to a positive value.
That means, the first FSM will be adding it and then when returning to the wait tick, empties out the myVar float again, until the player presses again.
You can switch debug on in the variable tab and observe the numbers. If that’s all good enough for now, you make a third FSM that can e.g. read the values with Get FSM float and update sliders etc. (you can also send a global event like Update UI and the UI element listens to this and updates accordingly)
Hope that gets you started.