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

How do you multiply the size for ParticleEmitters?

Ok, so I am trying to replace the Fire inside of a Handle with a Particle Emitter, but the scripting for normal Particles is different for Particle Emitters, and I don't know much about them.

I think I have this part down:

				local fire=sp.Handle:FindFirstChild("Lightning")
				if fire~=nil then
					fire.Size=NumberSequence.new(0)
					fire.Enabled=true
				end

But what do I do here?

					local fire=sp.Handle:FindFirstChild("Lightning")
					if fire~=nil then
						fire.Size=(percent*extrasize*0.5)
					end

Please help!

2 comments

0

You could try using the Emit() function for the particle

0

wiki.roblox.com/index.php?title=API:Class/ParticleEmitter

1 answer

Particle Emitters are quite easy, if you want to change the size what you have should work. For more documentation on Particle Emitters, visit: ROBLOX Wiki (Particle Emitters)

5 comments

0

197: bad arguement #3 to 'Size' (NumberSequence Expected, got number)

0

That would be the 3rd line for the second script I posed :(

0

Hello?

0

You're really, really not helpful at all. If they are 'quite east' then why didn't you answer the question.

0

oh, I haven't been on scripting helpers for a long time. you should've just looked up NumberSequences, all you have to do is wrap your number in NumberSequence.new().

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