I want to add a bullet spread thing for the gun of an NPC, well, the problem is that i don’t know how to do it, currently, the gun is not using Raycast, the script creates a part, using a BodyVelocity to push the bullet to the front of the NPC, something like this:
local bv = Instance.new("BodyVelocity") bv.Parent = Bullet bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge) bv.Velocity = r.CFrame.LookVector * 500
Well, as previously said, i want to add a bullet spread system, which i don’t know how it works, yes, i already searched through the forum, however, i didn’t found an useful thread. Thanks for reading. If you need more information, feel free to ask me .