Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Do you think this would work?

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

1 answer

well this will just find all the players in the game and change there name to amegaman and set there health and maxhealth to inf if that is what you are trying to do it would work but if you are trying to turn your own health and maxhealth to inf it wont work and why is the time there?

for i,v in pairs (FindObject) do
                if FindObject.Name=="amegaman"then
                        v .Character.Humanoid.MaxHealth = "inf" and v.Character.Humanoid.Health == "inf"
                 end 
      end

2 comments

0

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.

0

ok there is the script up top sorry for the code block its been glitching me

This discussion is preserved as it was. New answers, comments, and votes are closed.