Title pretty much, I want to lerp them from their start point, towards 0.
for particleEmitter, transparency in pairs (originalNumberSequences)do
local sequenceValues = transparency.Keypoints
local newValues = {}
for it, keyPoint in pairs(sequenceValues) do
newValues[it] = NumberSequenceKeypoint.new(keyPoint.Time, lerp(keyPoint.Value, 0, float))
end
particleEmitter.Transparency = NumberSequence.new(newValues)
end
yeah sorry I’m quite tired lol. I provided noooo information.
So basically, they aren’t changing at all. They are pointing to the correct objects, the value float does change correctly, but nothing seems to be happening
TweenService doesn’t work on NumberSequence nor on NumberSequenceKeypoint. Assuming the output of the ‘lerp’ function and the ‘float’ variable are correct in the code in the first post, using TweenService or not instead of lerping should not make a difference.