Health is a property that represents the current health of the Humanoid . The value is restricted to the range [0, Humanoid.MaxHealth ]. If the Humanoid is dead, Health is continually set to 0.
Herein lies your issue, the humanoid is dead so the health property is constantly set to 0.
Once the dummy dies are you trying to define the location of a new dummy or the dummy that died? You’re trying to define it with the same parent and name, it’s humanoid may have health back to 100 but it’s already died, pretty sure it can’t be revived once its joints are broken,
local humanoid = script.Parent.Humanoid
humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
humanoid.HealthChanged:Connect(function(newHealth)
if newHealth <= 0 then
humanoid.Health = humanoid.MaxHealth
end
end)
and here’s an example script which will fix your issue.