Hi, I am trying to set the humanoid’s health to 200, but it’s staying at 100. Here is my code:
for i, v in pairs(game.Players:GetPlayers()) do
if v:FindFirstChild("Murderer") then
if v.equippedAbility.Value == "Bulletproof" then
v.Character:FindFirstChild("Humanoid").Health = v.Character:FindFirstChild("Humanoid").Health + 100
end
print(v.Character:FindFirstChild("Humanoid").Health)
end
end
The reason why we change the MaxHealth first is because changing just the Health alone will just set it back to 100 (Or MaxHealth that it’s currently on right now), so it’s really more or less the order you put your code into