Hello, I was searching for a way to make players change team randomly after a match ends. I have an idea of disabling AutoAssignable, setting every players team to nill and enabling AutoAssignable after wait(). Will this method work?
local players = plrs:GetChildren()
for i = 1, #players do
local plr = players[i]
plr.Neutral = true
plr.Team = nil
end
wait()
teams.Red.AutoAssignable = true
teams.Blue.AutoAssignable = true
local players = plrs:GetChildren()
for i = 1, #players do
local plr = players[i]
plr.Neutral = false
end
