I need some answers for my game. So, I have group ranks on my group. And I wanted to make them auto team in the team they belong so for example.
5 People of the rank "Higher Ranked" wanted to join (Random persons so not configured) And 4 people of the rank "Middle Ranked" wanted to join (Random persons so not configured)
And there are 3 teams: "HR" "MR" "Member"
So that the 5 people go to the team HR And the 4 persons to the team "MR"
Automaticly! So not that the names are in the config!
Can someone help me out?
Not something like below
game.Players.PlayerAdded:connect(function(p) -- When a player join
if p.Name == "AdminName" then -- Check player's name
p.TeamColor = BrickColor.new("Really red") -- Change team
end
end)

10 comments
Thank you man!
Do i need to put this in a local script in the workspace?.
ServerScriptService as a script. Also, accept my answer if it's been answered :)
How do you do that xD I'm new here :P
Right click on ServerScriptService and hover over "Insert Object", find the object "Script", click it and shazam
No I mean to set the post to answered
If you meant how to accept, it should have the option underneath my answer
It only says "Report"
That's odd. Underneath MY answer?
Fixed