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

How does trail color change in scripts?

How does trail color change in scripts? Does its color also have time, and how is this indicated in the scripts?

1 answer

✓ Accepted answer

A trail's color property uses something called a ColorSequence

How long it takes for the color to change depends on the trail's "LifeTime" property, which is just a number. This property also decides on on long the trail lasts.

Changing LifeTime from 1 to 5

The ColorSequence page gives you three methods of creating it and the trail's color will change by passing the return value.

--one example
Trail.Color=ColorSequence.new ( color1, color2 )

3 comments

0

Thanks

0

@Lie_Star If you answer helped you make sure to accept it :p

0

Sure

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