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

how to change team for all players? [closed]

Asked by 5 years ago

how to change team for all players

0
This is NOT a script request site! Luka_Gaming07 534 — 5y

Closed as Not Constructive by Luka_Gaming07 and DeceptiveCaster

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 5 years ago

This is NOT a site to request for scripts. In the future please actually make an effort or you will not get help. I'm only posting this as I'm in a good mood.

for i, v in pairs(game:GetService("Players"):GetPlayers()) do
    v.Team = game:GetService("Teams").teamName;
end;
Ad