Whenever I try to team someone in the playeradded it doesn't team them, it is wierd cause it was working a week ago.
(Also if I try printing something it does work, it is simply just not teaming the player)
USM = "United States Army" JMP = "Military Police" VISITOR = "Visitors" local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) if player:IsInGroup(4490133) then print("yee") player.TeamColor = BrickColor.new("Fossil") elseif player:IsInGroup(4490133) then player.TeamColor = game.Teams[USM].TeamColor else player.TeamColor = game.Teams[VISITOR].TeamColor end end) game.Players.PlayerRejoining:connect(function(player) if player:IsInGroup(4490133) then player.TeamColor = game.Teams[JMP].TeamColor elseif player:IsInGroup(4490133) then player.TeamColor = game.Teams[USM].TeamColor else player.TeamColor = game.Teams[VISITOR].TeamColor end end)