I’ve been working on a weapon/spell for my game. Its a fireball, It seems a little bit bland just being 2 meshes, so my first though was to throw in a particle emitter to give it a fiery kind of look but I can’t use those cause I’m using a local script and apparently particle emitters just won’t work if parented through a local script.
I’m stumped, any ideas?
1 Like
You can use ParticleEmitters through LocalScripts. The issue is that only the player running the script will see it. You’ll need to have the server tell other players to use the ParticleEmitter so everyone sees it, or you can just use the ParticleEmitter on the server (although I’ve heard it’s better to do these kinds of effects on the client, but it may not be a big deal for your use case).
Thats the point, i only want it to be visible for one player, how could i achieve that? because parenting the particle emitter to it doesn’t do much.
You can create and edit ParticleEmitters on the client. Just do it on the client and only the client that executed that script will see the ParticleEmitter. Or, if you’re cloning a fireball model, pre-make your ParticleEmitter and put it in there, then just enable it through a LocalScript.
1 Like