#I am trying to enable few certain ParticleEmitter using GetDescendants but how?

1 messages · Page 1 of 1 (latest)

quaint matrix
#

How can I get a few certain particle emitter with their name to activate?

for example
I have 5 Particle Emitter with the name being "Green"
and 2 Particle Emitter with the name being "Red"

And I want to only activate the Green ones, How can I do that?

crisp hull
#

to differentiate between other vfx

#

You can also change their name

#

anyways

quaint matrix
#

if i add attribute, how can i locate them in the script, getattribute?

crisp hull
#

though changing hte name will be enough

#

and then you could just loop through em

for i,v in Part:GetDescendants do
--Checks and emitting
end```
quaint matrix
#

okay, I'll test them

quaint matrix
#

any idea of how I can solve that?

crisp hull
vale nexus
quaint matrix
quaint matrix
#

and I don't know how to get the particles to function like in that video so I need help

crisp hull
#

You could find the distance between the player and the glove

#

and find the closest one

#

Or use hitdetection

#

Like make an outer hitbox for the hand

#

and if the player touches it

#

the vfx is emitted

quaint matrix
#

Well I don’t want it to be based on player and distances

#

And even in that way you suggested, there would be some players clicking a glove further away triggering the vfx that you’re in front of instead of the glove you actually clicked, I don’t think it’ll be accurate much.

quaint matrix
#

I solved it.

crisp hull
#

Oh how did you?