Error when trying to change particle system transparency

I am trying to change the transparency of a particle system every frame, and I am getting the error: Players.OliveGord.PlayerScripts.LocalScript:29: attempt to call a table value.

prevTransparency += math.clamp(math.random(-1,5)/20, 0, 1)
local keypoints = {
NumberSequenceKeypoint(0, prevTransparency),
NumberSequenceKeypoint(1, prevTransparency),

part.particles.Transparency =

First off you need to do, prevTransparency) since you’re just calling the table instead of making a new object. Comparable to doing Instance('Part') instead of'Part')

But also if you’re just setting one value you could just do

part.particles.Transparency = prevTransparency

Thank you! The first solution worked.