Uh does anyone know how to program powerups in actionscript 2? Like invincibility, time or shooting powerups?
I tried to use ai coding website but they don't work well.

I tried creating powerups for my game.
An invincibility powerup,
A shooting powerup?