[USING R6 ANIMATIONS]
I have a button that, when touched by the player, attaches a particle effect to the player's torso.
However, when the player dies/respawns, the particles disappear. Is there any way to keep the particles attached to the player's torso, even after death?
My button script:
local Particles = script.Parent.Parent.ParticlesPart.ParticleEmitter
script.Parent.Touched:connect(function(Part)
local IsPar = Part.Parent.Torso:FindFirstChild("ParticleEmitter")
if not IsPar then
local particles = Particles:Clone()
particles.Parent= Part.Parent.Torso
else
Part.Parent.Torso.ParticleEmitter:Destroy()
local particles = Particles:Clone()
particles.Parent= Part.Parent.Torso
end
end)
Thanks in advance, MexheCo

1 comment
Understood, I will attempt and re-ask, if that is the correct way to go about things :) Thanks