Do any of you know how to make the ray cast by a gun go randomly within a "cone of fire" (like this http://www.chuckhawks.com/where_spread2.jpg) as well as angle down a degree or two to simulate bullet drop?
what I have so far
local ray = Ray.new(head.CFrame.p,(mouse.Hit.p - head.CFrame.p).unit * range
