Health script in tool not working

I have a ServerScript in a tool that is meant to give the player character insane hp for a short period of time. The script is fired via a remote event in the tools local script, and the script fires correctly, but the health does not change.

Script:

game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(Plyr)
	if Plyr.Bool.Value == true then
		local SavedHealth = Plyr.Character.Humanoid.Health
		print(SavedHealth)
		Plyr.Character.Humanoid.Health = math.huge
		print(Plyr.Character.Humanoid.Health)
		local Field = Instance.new("ForceField")
		Field.Parent = Plyr.Character
		wait(8)
		Field:Destroy()
		Plyr.Character.Humanoid.Health = SavedHealth
	end
end)

It is worth mentioning that the forcefield is applied and destroyed, but not the hp.

There is also nothing in the output.

How do I fix this?

Did “print(SavedHealth)” printed?

Instea of using “math.huge” use:

Plyr.Character.Humanoid.Health = Plyr.Character.Humanoid.MaxHealth

Note: You can’t give a player more “Health” that “MaxHealth” have, it will just return false and go back to the last “Health” value.

Both of the print messages did print.

If you assign a double to a humanoid’s ‘Health’ property that is greater than the value of its ‘MaxHealth’ property the humanoid’s ‘Health’ property will be clamped to the value of its ‘MaxHealth’ property, assigning math.huge doesn’t work because it represents infinity and evaluates to ‘NaN’ (not a number).