How do i make a bullet tracer for fast cast?

So I am using the fast cast module. This is my first time and I wanted to know how to make a tracer for the bullets. Like a trail. How can I do that? Do I need to make attachments for each bullet and stuff?

1 Like

If you are using a custom bullet then you can attach a trail instance to it. Here is the documentation https://developer.roblox.com/en-us/api-reference/class/Trail

The bullets are made from the script since its fast cast so i cant add a trail to it and use it

Use the cosmetic bullet feature inside of fastcast which allows you to create your own bullet. In that bullet you can add a trail like I said in my previous comment

1 Like

but how would I know the position of the bullet size for each side of the bullet? so the trail goes on the correct side?

Make a part facing the way which you want the bullet to face and make a trail. This will make sure that the bullet faces the right way

1 Like

So I did that but:

it seems like it doesn’t start at the gunpoint and comes from the sky.

Can I see the script that you use?

local attachment0 = Instance.new("Attachment")

attachment0.Name = "Attachment0"

attachment0.Parent = CosmeticBullet

attachment0.Position = Vector3.new(0, 0.1, 0.8)

local attachment1 = Instance.new("Attachment")

attachment1.Name = "Attachment1"

attachment1.Parent = CosmeticBullet

attachment1.Position = Vector3.new(0, -0.1, 0.8)

local trail = Instance.new("Trail")

trail.Attachment0 = attachment0

trail.Attachment1 = attachment1

color = Color3.new(0.337255, 0.337255, 0.337255)

trail.Color = ColorSequence.new(color)

trail.FaceCamera = true

trail.Lifetime = 0.3

trail.Parent = CosmeticBullet

Question, how to fix bullet trail movement?

I know that it’s been a while, yet I’d like to show you and all others viewing this post the following:

4 Likes

Thanks for replying with this. this will help other people fix the trail.