Help with lifetime error

Heres my code,

	
			local a = Instance.new("ParticleEmitter")
			a.Name = "BusoRight"
			a.Texture = "rbxassetid://405886187"
			a.Rate = 300
			a.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
			a.Speed = 3
			a.Lifetime = 0.2,1
			a.Parent = Player.Character["Right Arm"]

What im having issues with is making the lifetime for the particle emitter.

		a.Lifetime = 0.2,1
1 Like

The Lifetime needs to be a NumberRange
https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Lifetime

2 Likes
a.Lifetime = NumberRange.new(0, 0) --replace 0 here

This is how the Lifetime property is set.

1 Like