I figured out that I had to use the initiative whenever it was visible, thanks for replying though!
As for functionality it still works well just took me a few attempt to figure out what I was doing wrong lol