I looked on dev forum and I found nothing that could help me with this. So basically what I did was clear all children in teams, but the players are still on that team, (Friendly Fire) Thanks, Kamlkaze_Kid
You could use this.
You can’t set Team or TeamColor to nil or anything like that though.
How would you set everyones team to nothing then?
If you have teams in the game, you cannot set a player’s team to nothing. They must be in one team. The only way you would be able to achieve this is if you assign a player to Neutral, which technically means they are on no team.
Well I have like a teams gamemode, and after that round I want to set everyone to neutral, how would you do that?
Make a team called neutral, and after each round set them to that team.
Yeah but I have a friendly fire thing in the sword so then no one will be able to attack others
Is there a way to not apply that to the neutral team?
I made a neutral team, but then nobody could fight each other, because of friendly fire
Are you using a free model? For the Freindly fire?
Yeah, its in the script of the classic sword by roblox
I’m having the same problem, did you ever find a solution?
local Teams = game:GetService("Teams")
local Neutral = Teams.Neutral
local BlueTeam = Teams.BlueTeam
for _, Player in pairs(game.Players:GetPlayers()) do
Player.Team = BlueTeam
end
task.wait(5)
for _, Player in pairs(game.Players:GetPlayers()) do
Player.Team = Neutral
end