Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to change the transparency of a trail?

This is what I have:

player.Character.HumanoidRootPart:FindFirstChild("Streak").Transparency = NumberSequence.new(0.5)

Thanks!

2 comments

1

That is the right way to change the transparency of a trail to 0.5

0

You're changing it correctly, what errors are you getting?

1 answer

I am new to scripting so idk if this will work but its worth a shot.

trail = player.Character.HumanoidRootPart:FindFirstChild("Streak")
trail.transparency = NumberSequence.new(0.5)

3 comments

0

Thanks, but that is my exact script just re-worded, thanks anyway though!

0

That doesn't mean it won't work. I would still try it as I don't believe you can change properties of a FindFirstChild if it isn't in a variable. I may be wrong but it could still work.

0

A variable is something just simplified, example: trail == player.Character.HumanoidRootPart:FindFirstChild("Streak"), trail means the exact same thing as that long string, but it is just simplified, that's what a variable means

This discussion is preserved as it was. New answers, comments, and votes are closed.