How to Replicate Hover Mechanics

Basically while the player holds down Space Bar they will gradually fly upward for a set amount of time. If they let go of the Space Bar they descend and the current fly time rises back up to the set max fly time. If I test this with a Server and Client, Server executes this code flawlessly. However with Client they hop up only 1 time, land and do nothing else.

I also tested with a print string node to make sure that both Server and Client were updating the fly time by watching the number go from 120 down to 0 while holding down Space Bar. While I was testing different options I was thinking that the Input Key or the Timeline might have been the problem. Any thoughts on what a possible solution might be?