function getTeamMembers(CGABrown)
local members = {}
for i,v in pairs(Game.Players:GetPlayers()) do
members[#members+1] = v.TeamColor == TeamColor and v or nil
end
return members
end
function teleportTeam(BrightBlue, Position)
for i,v in pairs(getTeamMembers(CGABrown)) do
repeat wait() until v.Character
v.Character:MoveTo(-1498.821, 12.499, -277.718)
end
end
COMMUNITY QUESTION
Whats wrong with my script?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
