You of course are going to have to make some edits of the script I am about to list below, but I will include steps on what you may have to edit!
Step 1: Create a new script, name it whatever and place it in Workspace
Step 2: Throw this code into the script, be sure to read below about the edits you have to do.
The code:
01 | local teams = game:GetService( "Teams" ) |
02 | local neutral = teams:FindFirstChild( "Neutral" ) |
03 | local redteam = Instance.new( "Team" , teams) |
04 | redteam.Name = "Red Team" |
05 | redteam.TeamColor = BrickColor.new( "Really red" ) |
06 | local okayvalue = false |
08 | if teams and redteam and neutral then |
12 | game.Players.PlayerAdded:connect( function (player) |
13 | if okayvalue = = false then |
18 | if okayvalue = = true then |
20 | player.TeamColor = BrickColor.new( "Really red" ) |
22 | elseif okayvalue = = true then |
23 | player.TeamColor = BrickColor.new( "Really red" ) |
Step 3: If you are going to change the team color and team name, then replace everything for team color that says "Really red" with the new color name. If you are going to change the team name, change redteam.Name = "newnamehere"
Step 4: This should work, enjoy your new script c: