If you're using unity I might be able to offer some advice (I'm a bit new as well, and my knowledge of programming is pretty limited). If you did use unity, You can use the animator controller, and use a trigger event to trigger the jump function at the end of the bar's countdown