I think you’re meant to pass a vector into that cone function, and then multiply the result by the length you want.
You’re passing in a location and then chopping up the result
Get the forward vector from the muzzle.
So to do random line traces in a cone from the first person weapon, I used