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

How To Make Team Only Tools?

Asked by 10 years ago

How would I make a script that only gives tools to a certain team?

2 answers

Log in to vote
0
Answered by 10 years ago
function tele()
wait()
    c=game.Players:GetChildren()
    for i=1, #c do
        team = c[i].TeamColor

            if team == BrickColor.new("Bright red") then
                --List path to tool and clone()--
        end
        if team == BrickColor.new("Bright blue") then
                --List path to tool and clone()--
        end

    end
end
Ad
Log in to vote
0
Answered by
Rurith 10
10 years ago

Or put the tools in the team.

Answer this question