I am having issues in making spread, my friend gave me a good way of getting spread although he is offline right now I can’t solve the issue where the spread only works in 1 direction.
local SpreadRand = Random.new()
local function randomPointInCircle(dir, theta)
local r0 = SpreadRand:NextNumber(0, 2 * math.pi)
local r1 = math.acos(SpreadRand:NextNumber(1, math.cos(theta)))
local c0 = CFrame.lookAt(Vector3.zero, dir) * CFrame.fromEulerAnglesXYZ(r0, 0, r1)
return c0.LookVector
end