Mouse.Hit behind your character when you walk backwards?

My bow system relies on Mouse.Hit to find the shot position, but for whatever reason, when I walk backwards while shooting, it fires behind me.

Standing still:
image
Walking backwards:
image

The direction system for the arrows only tries to go to the mouse position, I haven’t added anything that takes Humanoid.MoveDirection into consideration.

Got any ideas? Does anybody know how to use raycasting rather than Mouse.Hit?

Try Mouse.Hit.LookVector, I had the same problem when creating a TPS system.

Well, that fixes the problem, however it lowers the accuracy of the arrows for some reason.

try using

mouse.TargetFilter = workspace
this with work if your mouse is hitting your character

That will break other parts of my game, since I use the Mouse.Hit for multiple things.

then you could use mouse.TargetFilter = game.Players.localPlayer.Character