Create property cannot be tweened due to type mismatch

So I am trying to fade a particle from 0 transparency to 1, but i am getting this error.

 TweenService:Create property named 'Transparency' cannot be tweened due to type mismatch (property is a 'NumberSequence', but given type is 'double') 

I am getting that error on this line of code.

local Tween = TS:Create(part.Particle, TweenInfo.new(0.3), {Transparency = 1})
	
		Tween:Play()

I looked it up and got to a devforum post, but i couldn’t really understand what they were saying, so if someone could explain what it means and what i need to do, that would be amazing.

thank you !

The Transparency property in a ParticleEmitter needs to be a NumberSequence, NumberSequence | Roblox Creator Documentation

local Tween = TS:Create(part.Particle, TweenInfo.new(0.3), {Transparency = NumberSequence.new(1)})
	
Tween:Play()
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.