I've looked up how to make a teleport based on team name but couldn't find any only team color seen here.
local teamColor = BrickColor.new("Really red") --Set the teamcolor here
local thePosition = Vector3.new(0,0,0) --Set the vector here
for i,v in pairs(game.Players:GetPlayers()) do
if(v.TeamColor == teamColor) then
v.Character:MoveTo(thePosition)
end
end
What should I change to make it for team name?
