Don't know how to fix a shooting bug

Hello there! So i have a bug here. I can shoot in my game and the bullets can change colour and fly forward, but it doesn’t work. (All bullets change colour when you shoot a new one, and when you rotate your “gun” it changes position.)

(Here’s the link to the game: https://aleksander-iceder.itch.io/agbg. Also you shoot with q and move with wsad)

Hi!
You need to first create the object and then change the animation. Otherwise the animation (so the color) change for all bullets. Use permanent forces too. In the following way:

You also need to set the angle of the bullet to be the same as the weapon.

You can download the fixed project from here: