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

how do i make a hidden team called admins?

Asked by 10 years ago

then when i come on admin is visible

1 answer

Log in to vote
0
Answered by 10 years ago
game:GetService("Teams") --Makes the teams accesible
function PlayerAdded(player)
    if player.Name == "jls12345678" then
        team = Instance.new("Team", game.Teams)
        team.Name = "Admins"
        team.AutoAssignable = false
        team.TeamColor = BrickColor.new("Really Red") --Make any color you want
        player.TeamColor = team.TeamColor
    end
end
game.Players.PlayerAdded:connect(PlayerAdded)
0
thank you jls12345678 0 — 10y
Ad

Answer this question