of     1   

NewVoids
#183183266Sunday, February 07, 2016 11:46 PM GMT

I want to god certain people using tables, but I'm not sure how. I've tried a few scripts but none of them work. Can anyone help me? Current script: victims = {"Player1", "Player2", "Player3"} for i,e in pairs(victims) do game.Players[e].Character.Humanoid.MaxHealth = math.huge game.Players[e].Character.Humanoid.Health = math.huge end
RoadToMecTech
#183183377Sunday, February 07, 2016 11:48 PM GMT

victims = {"Player1", "Player2", "Player3"} for i,e in pairs(victims) do game.Players:FindFirstChild([e]).Character.Humanoid.MaxHealth = math.huge game.Players:FindFirstChild([e]).Character.Humanoid.Health = math.huge end ROBLOX+ - R$1, Tx125, 0
NewVoids
#183185507Monday, February 08, 2016 12:19 AM GMT

How would I make it so if Player1 wasn't found then it would still do it work Player2?
RoadToMecTech
#183185595Monday, February 08, 2016 12:20 AM GMT

ypcall. R$1, Tx125, 0, ROBLOX+
NewVoids
#183187335Monday, February 08, 2016 12:44 AM GMT

I have no idea what that is
LegendaryAccount
#183190747Monday, February 08, 2016 1:33 AM GMT

victims = {"Player1", "Player2", "Player3"} for i,e in pairs(victims) do if game.Players:FindFirstChild(e) then game.Players[e].Character.Humanoid.MaxHealth = math.huge game.Players[e].Character.Humanoid.Health = math.huge end end
NewVoids
#183445140Friday, February 12, 2016 7:55 PM GMT

@LegendaryAccount Thank you. That works, however, if someone in the table leaves and rejoins, they do not get godded anymore.
ScriptBased
#183458178Friday, February 12, 2016 10:49 PM GMT

Then use the script on PlayerAdded functions

    of     1