adminTeam = game.Teams:findFirstChild("Engraved Voids") function onEntered(newPlayer) if newPlayer:IsInGroup(1086850) and newPlayer.GetRankID <= 3 then newPlayer.TeamColor = adminTeam.TeamColor end end
I don't know what's wrong with this script, could somebody fix it please?
game.Players.PlayerAdded:connect(function(player) if player:GetRankInGroup(1086850) >= # then -- put number where # is player.TeamColor = BrickColor.new("teamcolorhere") -- or you could do what you did in your script, although I prefer this method end end)
that might work, I'm not sure how GetRankID would work (or if it exists?)