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

How do I make an auto join script?

Asked by
Regg12 0
10 years ago

How do I make an auto join script so when you join the game you're already on the exact team connected with the group on the roblox website?

1 answer

Log in to vote
1
Answered by
ultrabug 306 Moderation Voter
10 years ago
game.Players.PlayerAdded:connect(function(np)--gets the new player, firing when they join.
    if np:IsInGroup(782820)then--finds if the player is in the group.
        np.TeamColor=BrickColor.new("Cyan")--sets the players team color.
    end
end)
Ad

Answer this question