Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Do you think this would work?

Asked by
IcyEvil 260 Moderation Voter
10 years ago

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

Log in to vote
0
Answered by 10 years ago

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 ~~~~~~~~~~~~~~~~~

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. IcyEvil 260 — 10y
0
ok there is the script up top sorry for the code block its been glitching me threatboy101 2 — 10y
Ad

Answer this question