I’m trying to set up a queue system where for example I press the attack button and the dodge button, then immediately after the attack is complete the dodge starts
Hello. Your queue system sounds very cool and unique.
One way to go about this would be via Animation Notifies. Towards the end of your Animation Montage, you could have a notify that checks if another action is valid. If it is valid, perform the next item. If not, then nothing happens.
Here is the documentation on Animation Notifies.
I hope this documentation gives you a good starting point.
Did you figure out a way to do it?