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

Why does my humanoid keep dying?

Asked by 10 years ago

I'm trying to make my humanoid walk, but every time I run this script, it dies:

m = Instance.new("Humanoid", game.Workspace)
m.Name = "Human"
-- lol

I was told to put in that script, so... I press play, and it dies...

2 answers

Log in to vote
1
Answered by 10 years ago

Well I think you would want the humanoid to be put into a model containing a jointed Head and Torso. Without those three factors, the Humanoid doesnt work properly or will just die.

0
Okay, should I join the arms and legs as well? I've made it into a model, and deleted the whole script. I put the humanoid into the model, and I pressed play. It's still dying?? AudreyJeanx 55 — 10y
0
Arms and legs are excess limbs. You want to weld the head to the torso. If that doesnt work then I dont see how to fix it Aaronoles 55 — 10y
0
Just make a model and put a head inside with a humanoid there you go lol- SilenceCore 25 — 10y
Ad
Log in to vote
1
Answered by
Link43758 175
10 years ago

From the humanoid page on wiki.roblox.com (http://wiki.roblox.com/index.php?title=RBX.lua.Humanoid_(Object)): "The humanoid object needs to recognize that the Model it's contained in has two Parts, named "Head", and optionally, "Torso", in order to create a healthbar". I would recommend putting the humanoid in a model with head, as stated in the previous answer. A torso is optional. Hope I've helped! :) - comment if you need further help, I will be glad to answer your question!

0
How do I insert a torso? AudreyJeanx 55 — 10y
0
You don't need to - it's optional. Link43758 175 — 10y
0
Oh, well. Do I group the head as well as all of the other body parts I want to add on to it? AudreyJeanx 55 — 10y
0
Yup! Link43758 175 — 10y
View all comments (2 more)
0
alright, hold on. AudreyJeanx 55 — 10y
0
It's still not working?? AudreyJeanx 55 — 10y

Answer this question