#emit vfx

1 messages · Page 1 of 1 (latest)

zenith garden
#
    vfx.Parent = hit.Parent.HumanoidRootPart
    spawn(function(vfx)
                for i,v in vfx:GetDescendants() do
                    print(v.Name)
                    if v:IsA("ParticleEmitter") then
                        v:Emit(v:GetAttribute("EmitCount")) 
                        game.Debris:AddItem(vfx,1) --remover
                    end
                end
end)```
#

This doesn't work.

river sun
#

Remove the vfx parameter in the spawn function

timid hollow