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?

3 comments

0

you could honestly just set their health to math.huge when they're on the lobby team, and ungod later on.

0

^ or atleast that's the easiest and simplest way

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.