Adjusting walk speed of imported Mixamo character

Hi I have managed to get the max speed of the regular character changed by keyboard entry but I’m not having any luck getting the walk speed to change on an imported character. I am using the free set of characters provided by Mixamo imported from the Unreal Library. I am adding in the highlighted blueprint section below so that when the number 1 is pressed it will increase the walk speed when its released the walk speed returns to 0. I’ve tried adding this script on the Mixamo Character Master Blueprint Script and also the Mixamo_Adam character Blueprint Script but neither changes have worked. Can anyone advise ?

Any advice on this would be great!

Hi the blueprint changes need to be made to the Mixamo Character Master blueprint.