FastCast Part Trail Issue

I have been using the FastCast module for one of my projects and have came across this issue:

When I click my screen the bullets shoot out but the trail does something like this:

This is just an example of what mine does

image

How do I fix this?

1 Like

Here is the code that fires. Hoping this helps:

local function Fire(Direction)
	local DirectionCFrame = CFrame.new(Vector3.new(), Direction)
	local SpreadDirection = CFrame.fromOrientation(0, 0, math.random(0 , math.pi * 2))
	local SpreadAngle = CFrame.fromOrientation(math.rad(math.random(1, 4)), 0, 0)
	local Direction = (DirectionCFrame * SpreadDirection * SpreadAngle).LookVector
	
	Caster:Fire(FirePoint.WorldPosition, Direction, 200, Behavior)
end
1 Like