Click Space. Use Z. If it doesn't work for the project and the attack keeps getting bigger, then always add a "wait" block. It doesn't matter how long it is. Even has a function on if the slice is small or big on where you press z! Even adding a "miss" function!
Even better, it's smaller code and consists of 2 sprites: One for the slice and another for the Attack Part with the bar as a clone. Extremely simple but easy!