How could I achieve something like this?

So, I’m thinking of a new group idea and need help with this one thing because I really don’t understand how to make it.

I’m trying to create some sort of auto-team system like what the group United States Army     - Roblox does.

I’m trying to make something like what they have and it is sorta like this:
Rank ID depends on what team you get auto-teamed on.

rankid 1 through Training Team (or something else.)
rankid 2 through (whatever number) - Another Team
rankid (whatever number) through 255 - Last Team

That probably doesn’t explain much but I’ll put it into words instead, a script where you get teamed on a certain team depending on what rank in the group you are. Such as Privates or Trainees on one team and Middle Ranks on another and lastly the High Ranking people will be on the last team.

1 Like

I feel this is consistent with your topic.

2 Likes

@dollychun, A bot wouldn’t be needed if the rank is already set. You can use:
Player:GetRankInGroup(groupID)
This returns an int value of that persons rank. Each role within a group has a specialized rank number that you can set.

Just use that function and connect it to the specific team you want.

I think he wants to change ranks automatically.

He says two different things so @VoyagingRocket needs to elaborate.

“Rank ID depends on what team you get auto-teamed on.”
" a script where you get teamed on a certain team depending on what rank in the group you are"

Sorry about that, I mostly mean “a script where you get teamed on a certain team depending on what rank in the group you are”.

Then this answer should suit your needs

1 Like