Well it uses the Slayer function object.getTeam(); to determine what team the clients of the players are on, as well as what team to set the sentry too. So if it's not working for you, and you're using Slayer, try updating Slayer. And be sure that you're starting a TEAM slayer game, because it worked fine for me on custom gamemode using Slayer.