Help with fastcast thing in custom ACS

Hello my fastcast giving error at 122 “activecast” Part
Here’s code of new bullet

local function newbullet(Origin, Direction)
	local BSpread = math.min(Settings.MaxSpread + Settings.AimInaccuracyStepAmount)
	local Blight = game.ReplicatedStorage.FXgun.Blight:Clone()
	local Bullet = game.ReplicatedStorage.FXgun.Bullet:Clone()
	
	Bullet:Clone()
	
	Blight.Parent = Bullet
	Debris:AddItem(Bullet, 10)
	Bullet.Name = char.Name .. ".Bullet"
	Bullet.CanCollide = false
	Bullet.Transparency = 0
	Bullet.Size = Vector3.new(1, 1, 1)
	local whizz = game.ReplicatedStorage.FXgun.BulletNear:Clone()
	whizz.Parent = Bullet
	whizz:Play()

	local BulletMass = Bullet:GetMass()
	local Force = Vector3.new(0, BulletMass * 196.2 - (config.BDrop) * 196.2, 0) 


	local balaspread = CFrame.Angles(
		RAD(RAND(-BSpread - ((SpeedPrecision/script.Mobility.Value)*config.WalkMultiplier), BSpread + ((SpeedPrecision/script.Mobility.Value)*config.WalkMultiplier)) / 20),
		RAD(RAND(-BSpread - ((SpeedPrecision/script.Mobility.Value)*config.WalkMultiplier), BSpread + ((SpeedPrecision/script.Mobility.Value)*config.WalkMultiplier)) / 20),
		RAD(RAND(-BSpread - ((SpeedPrecision/script.Mobility.Value)*config.WalkMultiplier), BSpread + ((SpeedPrecision/script.Mobility.Value)*config.WalkMultiplier)) / 20)
	)
	Direction = (balaspread * CFrame.new(Direction)).Position

	local BulletCF = CFrame.new(Origin, Origin + Direction)

	Bullet.Parent = workspace.GunDebris
	Bullet.CFrame = BulletCF
	Bullet.Velocity = Direction

	local simBullet = Caster:Fire(tool.SmokePart, Direction, Force, CastBehavior)
	--CastRay(Bullet)
end

Prop.

local CastBehavior = FastCast.newBehavior()
CastBehavior.MaxDistance = maxbulletD
CastBehavior.Acceleration = bulletG
CastBehavior.CosmeticBulletContainer = game.Workspace.GunDebris
CastBehavior.CanPierceFunction = CastBehavior


local FastCast = require(script.Parent.FastCastRedux)
local Caster = FastCast.new()


local maxbulletD = 4000

local bulletG = Vector3.new(0, -workspace.Gravity, 0)

plez help :sob: