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

Team auto change?

Asked by 9 years ago

How would i make it so that people teams are switched after a few seconds. Example- After waiting 30 seconds everyone's team is changed from being on red and blue to being on white team.

1 answer

Log in to vote
1
Answered by 9 years ago
while true do
wait(30)
for k,p in pairs(game.Players:GetPlayers()) do
p.TeamColor=BrickColor.new("Institutional white")
end
end

(I wrote this because it was simple, but for further reference, this is not a request site, just a help site, at least try, then people will help you fix your script)

Ad

Answer this question