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

How to you hide the auto generated team gui? [closed]

Asked by 4 years ago

please help me out, thanks!

0
Marked as non-descriptive and as a duplicate because the OP is not clear about what the auto generated team gui is (is it the player list? some other gui?) and assuming it was the player list, the OP hasn't done research about this on the internet and the SH question is the first (search query: "disable player list roblox") hiimgoodpack 2009 — 4y

Closed as Non-Descriptive by hiimgoodpack and Leamir

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

A solution would be to create a new team like "Un-Teamed" or something like that. Then you can create a script with this script in it:

game.Players.PlayersAdded:Connect(function(plr)
    local totalteams
    repeat
        local totalteams = math.random(1,#game.Teams:GetChildren())
    until not game.Teams:GetChildren(totalteams).Name = "Un-Teamed"
    plr.Team = game.Teams:GetChildren(totalteams)
end)

This will assign the player to a random team. A second option would be to create a team gui. There many tutorials on Youtube by now.
Regards, Vivilian9

Ad