I tried to fix my errors but every time I do the script just gave me the: NumberSequence: all keypoints must be ordered by time
Help?
local seat = script.Parent
local speed = seat.Velocity.magnitude
local dirt = script.Parent.Trail.ParticleEmitter.Size
if speed >= 1 then
local dirt = NumberSequence.new{
NumberSequenceKeypoint.new(0, 0, 0),
NumberSequenceKeypoint.new(3, 1, 0)
}
else
local dirt = NumberSequence.new{
NumberSequenceKeypoint.new(3, 0, 0),
NumberSequenceKeypoint.new(0, 1, 0)
}
end

1 comment
It fixed some of the script, but there's another problem. (please read the answer I gave below)