Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I use GetPlayers to return a list of every player on a team?

Asked by 5 years ago

I’m really not sure how to do this except that I have to use GetPlayers. Anyone know how??

0
GetPlayers already returns a list of every players on a team User#24403 69 — 5y
0
I’m not sure how to use it in script though. I’m a noob at scripting. Trying to make a webhook for a discord bot. But I need to reference all the players on a team Yutube_SB101 5 — 5y
0
simple use a generic for loop: for i,v in pairs(Team:GetPlayers()) do print(v.Name .. " is on team.") end yHasteeD 1819 — 5y

Answer this question