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)```
#emit vfx
1 messages · Page 1 of 1 (latest)
Remove the vfx parameter in the spawn function
Yes