Troubles modifying speed attribute when player is holding shift

Im trying to make the player move faster when the shift button is being held. so far no dice. i read the doc on the attributes and i need a little help.

Where are you having issues?

I made a simple implementation in this project, when Shift is pressed it accelerates till a max speed.

Yes that helps me alot can this work in a way? Look at this topic