It seems that it didn`t work after all. I am not sure if my nodes are connected correctly. Here are my nodes in the picture. I tried adjusting the x values from -500 or +500 and nothing happens when I add it to multiply. When the AI does the attack it just stands in place and does nothing during the attack duration. I tried it directly as a function and in this image as the enemy AI blueprint. I call this function in a BTT task.