i want to give points to members of a team but i dont know how the teams and players are related and how to give all of the players points
do if game.Players:GetChildren() == "Blue Team" then game.Players.LocalPlayer["Blue Team"].Parent.leaderstats.Points.Value = game.Players.LocalPlayer["Blue Team"].Parent.leaderstats.Points.Value +1 wait (1) end end
for _,v in pairs(game.Teams.SomeTeamHere:GetPlayers()) do v.Points.Value = v.Points.Value + 1 end