Creating a 2D Boss Enemy Type

Hey Friends,
I’ve been working on my project for a while and it’s been going awesome however I hit a roadblock, I have no Idea on to go about creating a Boss Enemy.
I mastered many thing I created multiple enemies with issues being solved overtime.

So how would you make a Boss that cycle between different attacks randomly?

Obviously, you need to form an array of attacks and pick a random index for this array

First Thanks for replying
Second I figured as much and I’m having some issues with it like the attacks are looping back to back fast with no break in between.

But I’m glad i’m in the right direction.

To prevent the looping effect, use delays or IF statements to check does the attack is finished before starting another one