Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make a button activated particle emitter?

Asked by
Swqu 0
7 years ago

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....

0
Do you want it as a Gui or part? IcedVapour 153 — 7y
0
a better way to do it would be a  key down key up  ... and also, this really isn't a request site! FinickOdre123 6 — 7y
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. Troidit 253 — 7y
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. Brinceous 85 — 7y
View all comments (2 more)
0
Like Finick said, it'd be too complicated to create a button for the situation you're describing. Revented 0 — 7y
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 buoyantair 123 — 7y

1 answer

Log in to vote
0
Answered by
P100D 590 Moderation Voter
7 years ago

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
0
Haha :D That's nice hinting! buoyantair 123 — 7y
Ad

Answer this question