I need to have a script that, when a round ends, resets everyone, and changes there team to a Neutral, whose spawn point is in the lobby. So How would I make it so that they get reset, and there teams change?
✓ ANSWER ACCEPTED
How do I make a script that resets, and changes everyones team at the end of a round?
1 answer
✓ Accepted answer
local fx = game.Players:GetChildren()
local s = math.random(1, #fx)
fx[s].Character.Humanoid.Health = 0
fx[s].TeamColor = BrickColor.new("Bright green") -- Change Neutral Team Color to Bright Green
This discussion is preserved as it was. New answers, comments, and votes are closed.
