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

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

Asked by 2 years ago
Edited 2 years ago
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

Log in to vote
0
Answered by 2 years ago

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

0
i did weld the parts of that humanoid to the parts of the other humanoid model though dylancrazy88 20 — 2y
Ad

Answer this question