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

why does my humanoid die when i kill a model welded to that humanoid?

script.Parent.Minor.Died:Connect(function()
	for i, v in pairs(script.Parent:GetChildren()) do
		if v.Name ~= "HumanoidRootPart" and v:IsA("BasePart") then
			v:Destroy()
		end
	end
end)

i'm trying to make a mob with tentacles that you can kill which when killed the tentacle will automatically delete itself (sort of) but when i kill those tentacles the model dies instantly as well, i want to be able to animate those tentacles so i'm not using weld constraints. here

https://gyazo.com/2562c25b0aad491a075fff0ae94bb07e

1 answer

You cannot attach Welds or Weld constraints to humanoid. Instead you have to attach it to HumanoidRootPart because Humanoid ISNOT a part. to animate it what you can do is watch the video below

CUSTOM CHARACTERS - By GnomeCode

1 comment

0

i did weld the parts of that humanoid to the parts of the other humanoid model though

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