I made program that automatically divide teams for my project. It’s simple 26 line of code.
This is for lazy peoples that don’t want to write code, Like me lol.
Features:
- Divide teams (no maximum team limitation)
- division by Player level
Example code:
local Teamer = require(game.ServerScriptService.Teamer)
print(Teamer(
{
{Player=game.Players.Player1, PlayerLevel=5},
{Player=game.Players.Player2, PlayerLevel=8},
{Player=game.Players.Player3, PlayerLevel=3},
{Player=game.Players.Player4, PlayerLevel=2}
},
{Teams=2, LevelSystemEnabled=true}
))
Output:
{
{
Player4,
Player1
},
{
Player3,
Player2
}
}