This works if I do not use wait() but when I add wait, Nothing happens. I do not recieve and error either.
BodyParts = {"Head","Torso",("Left Arm"),("Left Leg"),("Right Arm"),("Right Leg")}--6
game:GetService('Players').PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
character:WaitForChild("Humanoid").Died:connect(function()
for i,v in pairs(BodyParts) do
character[v].Anchored = true
character[v].CanCollide = false
wait(0.5)
character[v]:remove()
end
end)
end)
end)
