How does trail color change in scripts? Does its color also have time, and how is this indicated in the scripts?
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.
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 )