I have been trying something out, and can't find any articles referencing this technique without using Instance.new for NEW teams. I need the script to GetRankInGroup(x) of a player that enters the server, and then place them within an already existent team based upon that rank.
Here is what I have so far:
local rank = game.Players:GetRankInGroup(2744667)
if rank == 255 then
--description: THEN should result in player being sorted into a team of my choosing
--lets say team is called Y
elseif rank == 254 then
----description: THEN should result in player being sorted into a team of my choosing
--lets say team is called Z
end |