Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

"ColorSequence.new(): table expected" what's this mean?

local Vom = Instance.new ("ParticleEmitter")
				Vom.Parent = human.Parent.Head
				Vom.EmissionDirection = "Front"
				Vom.Enabled = true
				Vom.Rate = 500
				Vom.Rotation = NumberRange.new (0,360)
				Vom.Speed = NumberRange.new (5,5)
				Vom.SpreadAngle = Vector2.new(5,5)
				Vom.Lifetime = NumberRange.new (1.5)
				Vom.LockedToPart = true
				Vom.Acceleration = Vector3.new (0,-10,3)
				Vom.Texture = "rbxassetid://453789629"
				Vom.Size = NumberSequence.new (0.3)
				Vom.Transparency = NumberSequence.new (0.3)
				Vom.ZOffset = .1
				Vom.LightInfluence = 0
				Vom.LightEmission = 0.6
				Vom.Color = ColorSequence.new(255, 39, 39)

this is the line of code that I'm trying to get to work but its not working, any help?

1 comment

0

It's expecting a table. See https://wiki.roblox.com/index.php?title=API:ColorSequence for all definitions. I think you want to do ColorSequence.new(Color3.new(r,g,b))

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.