Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how to change the death effect of a dummy?

Asked by 3 years ago

im making a tower defence game and its with dummies but i have the problem that when the dummy dies it do unanchor and the pieces dont dissapear, i want to make him when die only dissapear, can someone help me?

1 answer

Log in to vote
0
Answered by 3 years ago

You could get the Humanoid once its died then, remove the Dummy from the Humanoid. Something like this could go into the dummy.


character:WaitForChild("Humanoid").Died:connect(function() Humanoid.Parent:remove() end
Ad

Answer this question