Need help with boss attack code


game link: https://arcade.makecode.com/S08167-86102-70447-13199

I’ve been trying to make it so when the attack finishes it restarts the code that called the function but all things I’ve tried haven’t worked.

1 Like

I’ll reconfigure the code to get it up and running.

Check this out, maybe it solves your problems, just look at the code.

i have fixed this issue. I used a function instead of “on created sprite of kind boss” and replaced returned with call function