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

I Don't get how I can make a part have a humanoid in it with health without all requirements?

So you know how if you want a humanoid to work you have to have like humanoidrootparts and everythng"?

if i wanted a random part to have health what would I have to do?

1 answer

local Part = Instance.new("Model")
Part.Name = "Display name to part"
Part.Parent = game.Workspace

local Root = Instance.new("Part")
Root.Name = "HumanoidRootPart"
Root.Parent = Part

local Humanoid = Instance.new("Humanoid")
Humanoid.Parent = Part

I'm on my phone rn so i can't test if this works.

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