How to make a slide action with timer?

Hey guys,

Ive been using unreal for about 3 weeks, and I’m trying to get a character made with all of the actions and what not. But I’m having a hard time with action events and timers.

I’m trying to make a slide function, when sprinting and activate crouch, I was the character to slide forward and end in the crouch position. But i cant figure out how to set a timer up so it will only slide for say, 3 seconds, or even factor in a gradual decrease in speed.

Has anyone had any luck with anything like this?

Thanks in advance!