of     1   

ChronosGiegue
#182087187Thursday, January 21, 2016 2:48 AM GMT

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
PureConcept
#182087350Thursday, January 21, 2016 2:50 AM GMT

Player.TeamColor = game:GetService"Teams".Y.TeamColor or something like that #code 'Hi I'm MahouReikon'
ChronosGiegue
#182088018Thursday, January 21, 2016 3:00 AM GMT

I think one of the issues is that I keep trying to script it so it pulls for info that isn't there yet. What is the way to point to a player that has just entered the server, but within the context of the original script where it gets the rank and sorts them?

    of     1