Making a grabpack (SLOVED!)

I am working on a project and I want to make it so when an animation is active, it will enable me to shoot a bullet.How can I make this?

Here is the code:

Have it so the play output is on the On input of the switch and the Done output on the Off input of the switch. Then attach the Keyboard Q behavior into the In input of the switch. Remove the And behavior and have the switch directly into the emit behavior.

I think this should work. I would work out an example for you, but I’m currently on mobile.

2 Likes

Ok thanks I’ll try it!

2 Likes