I have not tested it, But I would like to have an Expert Say it should or should not work, and Then I will test it.
FindObject = game.Players:GetChildren() while true do return end
for i,v in pairs(time and FindObject.Name == "amegaman") do
v.Character.Humanoid.MaxHealth = "inf" and v.Character.Humanoid.Health == "inf"
end

2 comments
Well I was not completely sure, that I should not put time there or if I should, So I put it there, And Im trying to make it My character to Health inf.
ok there is the script up top sorry for the code block its been glitching me