Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I destroy a Humanoid's Character after it died?

I can't seem to get rid of the Humanoids body parts. I got this:


script.Parent.Humanoid.Died:connect(function()
	HumanIntel.Stop()
	wait(5)
	game:GetService("Debris"):AddItem(script.Parent,5)
end)

but it doesn't work.

2 comments

0

is the script inside of the character and is it a local or regular script?

0

Inside the character and its a script

1 answer

Are you trying to use ragdoll script? If so, this need to be placed into the ragdoll. If not, then look at if ~~~~~~~~~~~~~~~~~ HumanIntel

is correctly defined,
and look to see if you're character is being auto spawned. (This is when the Character is spawned in after 3 seconds.) 
If the character is being autospawned, then Character Model will automatically be removed.

Alongside this, if the Humanoid Model is not a player, see what kind of script it has inside it, local or script?

1 comment

0

its a script

This discussion is preserved as it was. New answers, comments, and votes are closed.