i have made my gun using RayCast but for some reason, as seen in this Video
it ends up just breaking and working fine every so often.
here is my game file if you want to have a look Test.rbxl
The RayCast is shown by the red beam. (sorry for bad animations btw, i am a scripter not an animator)
I have asked ScriptersCF on discord if they know anything but none of us have come up with a solution.
note: i have never really worked with raycasts before and i thought an fps project would be fun, which it is.