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

Any idea on how to set team kill off for One team?

Asked by 5 years ago
Edited 5 years ago

I have it set up so there are two teams, a Lobby and a Survival team. I have been trying to figure out how to make it so players can't kill each other when they are in the lobby but can kill each other in the survival team. I have seen tutorials about how to turn off team kill all together for all teams. Can anyone point me in the right direction?

0
you could honestly just set their health to math.huge when they're on the lobby team, and ungod later on. Astralyst 389 — 5y
0
^ or atleast that's the easiest and simplest way Astralyst 389 — 5y
0
Put all players to one big array table when they are in the lobby and then if someone is about to kill anyone just check if he is in the table. If he is then the "Humanoid:TakeDamage()" function will not be executed. Roox4 21 — 5y

Answer this question