So my emitters work now, but the texture and the size won't change to what I want it to be? Here is the code.
01 | Cash = Instance.new( "ParticleEmitter" ) |
02 | Cash.Parent = game.Workspace.XxmanwolfxX.Head 2 |
03 | Cash.Size.Value = 1.5 |
04 | Cash.Transparency.Value = 0 |
05 | Cash.LightEmission.Value = 0 |
06 | Cash.Color.Value = 255 , 255 , 255 |
07 | Cash.Acceleration.Value = 0 , 5 , 0 |
08 | Cash.Lifetime.Min.Value = 1 |
09 | Cash.Lifetime.Max.Value = 1 |
10 | Cash.Speed.Value = 5 |
11 | Cash.Texture.Value = "http://www.roblox.com/asset/?id=217001241" |
You're indexing 'Value' when setting the properties of the ParticleEmitter,
Like LegitimatelyMe said, you're setting the properties with incorrect datatypes.
Don't index Value when setting properties, just set the property to the value.
NumberSequences
.NumberRange
.ColorSequence
.1 | local Cash = Instance.new( "ParticleEmitter" ,workspace.XxmanwolfxX.Head 2 ) |
2 | Cash.Size = NumberSequence.new( 1.5 ) |
3 | Cash.Transparency = NumberSequence.new( 0 ) |
4 | Cash.LightEmission = 0 |
5 | Cash.Color = 255 , 255 , 255 |
6 | Cash.Acceleration = 0 , 5 , 0 |
7 | Cash.Lifetime = NumberRange.new( 1 ) |
8 | Cash.Speed = 5 |
9 | Cash.Texture = "http://www.roblox.com/asset/?id=217001241" |
the Size and Transparency Property is a NumberSequence
Lifetime is a NumberRange
Color is a ColorSeqeunce
The Texture is fine, but it won't get to that line because of errors.