how to play UI animation with boleons?

I want to set the opacity of an Image to 40 after crouching, I implemeted a boolean, and made the animation already, but I cant let It play correctly!