Hey friends,
Im working on spawning NPCs with a humanoid into my game, but unfortunately, they spawn with zero health and die instantaneously.
How would I fix that? Thanks!
Here's the script I use to spawn
I was trying to work with :MakeJoints(), but I did not understand it completely.
local Blob = game.ServerStorage.MiniEnemies.Blob:Clone()
Blob:Clone()
Blob:MakeJoints()
Blob.Parent = game.Workspace
Blob:MakeJoints()
Blob.Humanoid.Health = 500
And I also have this
local boss = game.ServerStorage.ComputerVirus:Clone()
boss:Clone()
boss:MakeJoints()
boss.Humanoid.Health = 10000000
boss.Attacks.Disabled = false
boss.Humanoid.HumanoidS.Disabled = false
boss.Parent = game.Workspace
boss:MakeJoints()
Help appreciated!

2 comments
its probably has zero health from the start.
boss.Humanoid.Health = 10000000