Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a trail the same size as a part?

Asked by
zValerian 108
5 years ago

I am trying to make a trail that follows the whole part, but when I give it a trail, it just goes in the middle of the part. Is there anyway to make the trail be the same size as the part? Anything helps!

Here is the trail script I used:

wait(.2)
trail = script.Parent.Trail
local A0 = Instance.new("Attachment",script.Parent)
local A1 = Instance.new("Attachment",script.Parent)
A0.Name = "Attachment0"
A1.Name = "Attachment1"
trail.Attachment0 = A0
trail.Attachment1 = A1
A0.Position = Vector3.new(0, .125, 0)
A1.Position = Vector3.new(0,-.125,0)

0
I don't exactly understand the question, you want to make the trail the same size as a part? Synth_o 136 — 5y
0
yes so it doesn't come from the middle. this is what it is right now, i want it to be the same size, not like this: https://gyazo.com/3dd9533b802f110aba267ef1c3289410 zValerian 108 — 5y
0
You want the trail to start at the end of the part? (I still don't quite understand your question) SummerEquinox 643 — 5y
0
i want it to be the same size as the part, so its not so thin, it is as thick as the part zValerian 108 — 5y
View all comments (3 more)
0
There is no way to make a trail the size of part -- at least that is what I know Synth_o 136 — 5y
0
Actually, there is a way around this, just keep loop cloning a part and do the specific things you want your new trail to do greatneil80 2647 — 5y

Answer this question