How do I make a boss loop with attacks and stuff like that

How do I make attacks for a boss. Basically.

Depends. What attacks do you want from the boss?

  1. Punch
  2. Ray attack
  3. Bullets