Event 17 can never be true, because how can an animation that isn't playing finish?
Also event 15 is still triggered every tick keyboardinput = 5, so animation is set to idle every tick..
You seem to be missing some basic knowledge on how events and conditions work..
animation idle2 is not playing should be a condition of event 15, not a subevent..