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.
1 | turret 1. model.Humanoid.MaxHealth = stats.health |
2 | turret 1. model.Humanoid.Health = stats.health |
OK, I somehow got around it. I had to remove the Torso brick and only have a brick named Head inside the model. If there is a torso I assume that the model has 'died' since the two are not connected like a player model is.