Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I need to make it so certain ranks be to certain teams can i get help pelase?

I am creating a group with multiple teams, It's a military group. So if you were in TRADOC you would get ranked to the Training and Doctrine Command, Military police to the MP group, ETC.. and also an Officers group, Who would be O1 to O10 and some group rank like 10-20. And Finally. anything above 30 is ranked to an Army Staff team...

I am clueless about any of this, Please help.

1 answer

You would have to use if statements, providing that you have defined the player you could do the following:

if  Player:GetRankInGroup(GroupIdHere) >= 0 then -- change the 0 to Rank id, which can be found in group admin within' roles.

Player.Team = game.Teams['TeamNameHere']

2 comments

0

Sorry, I read your question wrong. I'll edit it.

0

Edited.

This discussion is preserved as it was. New answers, comments, and votes are closed.