Character Movement Slow Over Time (BP)

I’m trying to make my character slide across the floor- i want you to keep sliding until you release the button or until you’ve slid for a set amount of time (e.g. 4 seconds). However i want the slide motion to slow over time-the longer you’ve been sliding for the slower you get. I tried using launch character node with a timeline hooked up to the character movements ground friction setting but it didn’t work. Could someone help me out please- maybe by using vectors magnitude you cou

ld make it work? But i’m new to unreal and have only just started coding in BP.