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 make a button activated particle emitter?

I want to make contrails for a plane but I don't want the contrails to be seen while on the ground or when I'm not moving. If someone could tell me how to make a button turn on/off a particle emitter that would be great....

6 comments

0

Do you want it as a Gui or part?

0

a better way to do it would be a  key down key up  ... and also, this really isn't a request site!

0

The particle emitter has a property called Enabled. You could hook that up to whatever event you're using like a while loop for when the key is pressed down or something.

0

"If someone could tell me how" - that wasn't a request for an entire script, he was asking HOW he would do it himself.

0

Like Finick said, it'd be too complicated to create a button for the situation you're describing.

0

Did you try coding first, just a reminder, don't simple come rushing to forums to ask how to do [put things here] without even the initial try

1 answer

This isn't a request site, but here's some pseudocode:

Connect to the button's click event
If particleEmitter.Enabled is true, set it to false
Otherwise, set it to true

1 comment

0

Haha :D That's nice hinting!

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