Im trying to assign each player to the “Playing” team when a round starts. The team gets created but the player doesn’t get assigned to the team. The new team also does not appear in the leaderboard.
Heres the section of the script thats handling the Teams
local playingTeam = Instance.new("Team")
playingTeam.Name = "Playing"
playingTeam.Parent = teamsService
print("New team created")
print(playingTeam)
for _,plr: Player in pairs(Players:GetChildren()) do
if not plr.Character then continue end
if not plr.Character.PrimaryPart then continue end
print("Player Team")
print(plr.Team)
plr.Team = playingTeam
print(plr.Team)