Top down shooting help

when I shoot down left, up left, down right, and up right, it will shoot 2 directions, for example if i shoot up right it will shoot up and right. It can also go 3 different directions. also if you can leave a screen shot because I am bad at understanding stuff

How do you shoot?

the space button fires the gun

I suggest using my Velocity-to-Angle bundle to see what angle the player is moving.
I’m unsure on how you want the player to move and shoot, so here is a screenshot using my bundle to shoot in 4 directions.

The bundle can be copied from my example and imported into your game,
Velocity to Angle - Flowlab Game Creator

Here is the screenshot of what I did: