Humanoid Health not being set

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
1 Like

Change the humanoids maxhealth to 200

1 Like

You actually need to set the MaxHealth as well, so adding onto that (Assuming that we have found a player character):

v.Character.MaxHealth = v.Character.MaxHealth + 100
v.Character.Health = v.Character.MaxHealth

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

2 Likes