Number Sequences and particle fade effect

splashEffect.Transparency = NumberSequence.new{
			NumberSequenceKeypoint.new(0, 0),
			NumberSequenceKeypoint.new(1, 1)
		}

This is what I have, and I don’t know if this works, considering my limited knowledge on number sequences as I just learned about them a few minutes ago.
I can’t exactly see any fade effect (granted the life span of the particle is only .9 seconds), so I was just wondering, from you number sequence experts out there, if you exist: does this work?

1 Like

I know this isn’t what you asked for but can’t you just use TweenService?

i dont think so…? since it has to be a number sequence…?

unless you can use tweening on that but i think learning to do this (i think the whole point of number sequences is to accomplish what i want) would be easier

1 Like

isnt that the same thing as mine?

i mean i know its ({ instead of just { but on the devhub example they only use {

1 Like

You can call functions with {} if their only parameter is a table.

local function somethingThatTakesATable(t)
	for k, v in pairs(t) do print(k, "=", v) end
end
somethingThatTakesATable{ a = 1, b = 2 }
-- is the same as
somethingThatTakesATable({ a = 1, b = 2 })

Anyways OP, your code looks fine. Maybe you could share more of your code?