Bullet.CFrame = CFrame.new(Bullet.Position,mouse.Hit.p * CFrame.new(math.random(10), math.random(10), math.random(10)))
I want to bullets from my gun to be slightly inaccurate. The bullets always follow the mouse, but I want them to stray away from the mouse a bit. I tried this but it just resulted in an error.
Bullet.CFrame = CFrame.new(Bullet.Position,mouse.Hit.p) * CFrame.new(math.random(10), math.random(10), math.random(10))
I also tried that but it didn't make it go in a random direction, it instead made it spawn away from the gun pointer.

1 comment
It works just the way I want it to, thanks :D