This is a continuation to the fade script except it clones the particle in the head. Now i was wondering how to clone it all of the parts when a character dies.
local Particle = game:GetService("ServerStorage"):WaitForChild("Dust")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
char.Humanoid.Died:Connect(function()
local Cloned = Particle:Clone()
Cloned.Parent = game.Workspace:WaitForChild(player.Name).Head
wait(1)
for _, v in pairs(char:GetDescendants()) do
if v:IsA("BasePart") then
spawn(function()
for i = 0,1,.01 do
v.Transparency = i
wait()
end
end)
end
end
end)
end)
end)

1 comment
cant u just do char.Head instead of game.Workspace:WaitForChild(player.Name).Head