How do you regenerate Humanoids with 0 Health? I have created a Humanoid by the name of "Noob" with a total of 100 Health but when he has 0 Health he does not regenerate. I would like to know how to regenerate him and how to regenerate him when a timer expires.
if humanoid.health == 0 then humanoid.health = humanoid.health + 5 end
I am going to rewrite my question, as I misinterpreted it.
To make a humanoid respawn when it died just do
local Copy = script.Parent:Clone() script.Parent.Humanoid.DIed:connect(function() Copy.Parent = Workspace end)
Simple enough
Marked as Duplicate by YellowoTide, XToonLinkX123, and LegitimatlyMe
This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.
Why was this question closed?