I have a model with a Humanoid object. Every time I set the Health to 750 it changes back to 0. I set the MaxHealth to 750 first, I know what I'm doing. It works with my AI but just doesn't want to work with this model. Any ideas why ROBLOX is broken with this.
turret1.model.Humanoid.MaxHealth=stats.health
turret1.model.Humanoid.Health=stats.health

11 comments
post all of the code could be helpful
That is all of the code. I just want to set the Humanoid health to 750, which is stats.health. It works in every humanoid but this one in turret1.model
turret1.model:MakeJoints() add that and see if it works
I already call that when I parent the model to workspace. I've also already tried it in this code. Just doesn't want to work.
Does the humanoid have a head,torso connected to it? And are you sure your surfacestypes on the parts can create joints?
https://i.gyazo.com/1473a5db49bca68af29cf4a2e981aa88.png That is the hierarchy.
That's no help without the children of the models xD
Did you like...actually expect to get any help with two lines of code?
Did you like...actually expect to get any help with two lines of code?
Did you like...actually expect to get any help with two lines of code?
^ Did you like...actually have a productive response?