Skip to content
Untitled Sandbox - Developer Documentation
docs/types/Team

Team

A team in your place that players can belong to, which you get from teams.find or make with teams.create.

Fields

namestring
colorColor
auto_assignboolean

Team:players

method

Gives a list of the players who are on the team right now.

Team:players() -> { Player }
example
for _, member in team:players() do print(member.name) end

Use it forrewarding the winning team, or teleporting a whole team to its base.

↑ ↓ moveEnter openEsc close