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

Is there anyway to god a certain team in a game?

Asked by 6 years ago
Edited 6 years ago

Hello, I am need of help. I am trying to make a certain team godded even if they reset or die. So far this is what I have [Yes I know it is wrong, I don't script much]

game.Teams.Lobby.MaxHealth = 9999999999999999999999999

if game.Teams.Lobby.Humanoid.MaxHealth = 0 do game.Teams.Lobby.MaxHealth = 9999999999999999999999999 end end

It is for a game I am working on in Roblox. It's for a meadows.

Thank you

-DivineAlerio

0
1. You cannot do if Something do, you must have it like if Something then. you also only need one end. To answer your question, you will need to check if a player was added to said team, and set their health + maxhealth. Professor_Boxtrot 136 — 6y
0
My suggestion is to create a table with each player in it, then check each player's team through the Humanoid. I would need to test this to see if it will work properly, but it should work. Whoami102 21 — 6y
0
Thank you for helping me, it worked properly. ChaoticIndustries 0 — 6y

Answer this question