Might have something to do with the fact your using Zths's code. If you don't understand it you probably shouldn't use it. He using a class called Helper to "Help" him with simple things such as getting the player and getting the main camera. What the Helper.getmylife() is doing is calling a function in the Helper class, that function will return the players Life object so you can make changes to it. Instead of doing that you can do this:
Code:
Life[] LifeArray = UnityEngine.Object.FindObjectsOfType(typeof(Life)) as Life[];
foreach (Life Life in LifeArray)
{
//Life stuff here.
}
Serves the same purpose but is slightly longer, if you want to do something better you can make it into a function and return the Life, then you could just call the function like the code you posted currently does. If you kinda new, stick with the method i posted above.