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...
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...
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.
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!
How do I insert a torso?
You don't need to - it's optional.
Oh, well. Do I group the head as well as all of the other body parts I want to add on to it?
Yup!
alright, hold on.
It's still not working??
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
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??
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
Just make a model and put a head inside with a humanoid there you go lol-