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

What is wrong with this Particle Emitter script?

local wing1 = Instance.new ("ParticleEmitter")
wing1.Parent = game.Workspace.Part
wing1.Size = 2
wing1.Lifetime = 5,10
wing1.Speed = 2
wing1.LockedToPart = true
while true do
wing1.Acceleration = 1,0,0
wait (3)
wing1.Acceleration = 0,0,0
wait(3)
end

1 comment

0

What are the errors?

1 answer

✓ Accepted answer

You're supposed to use Size properties should be NumberSequences. Lifetime and Speed property should be a NumberRange. Acceleration property should be Vector3

local wing1 = Instance.new ("ParticleEmitter")

wing1.Parent = game.Workspace.Part

wing1.Size = NumberSequence.new(2)

wing1.Lifetime = NumberRange.new(5,10)

wing1.Speed = NumberRange.new(2)

wing1.LockedToPart = true

while true do

wing1.Acceleration = Vector3.new(1,0,0)

wait (3)

wing1.Acceleration = Vector3.new(0,0,0)

wait(3)

end

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