Im confused can someone help me
Here's my script, this will create a team and place every new player in it, if you want to configure this some more, please go onto learning more things about assigning teams.
Since your question was more of a simple request for a script than for a request of help, I'm going to be your lucky answer and let you decide what you want to do with this.
Place this code into a script, and put the script into ServerScriptService.
local Players = game:GetService("Players") local Teams = game:GetService("Teams") local Team1 = Instance.new("Team",Teams) Team1.TeamColor = BrickColor.new("Really red") local function onPlayerAdded(self) if not self or not self:IsA("Player") then return end self.Team = Team1 end for _,Player in pairs(Players:GetPlayers()) do onPlayerAdded(Player) end Players.PlayerAdded:Connect(onPlayerAdded)