Hello there! How can I make a script where if the player joins the game it auto team him to a specific team.
Colour of the team: fossile team name: Outsiders
Your code would be
game.Players.PlayerAdded:Connect(function(plr) plr.Team = game.Teams.Outsiders plr:LoadCharacter() end)
But also this isn’t a request site
You can use this code:
game.Players.PlayerAdded:Connect(function(p) p.Team = game.Teams:WaitForChild("Outsiders") end
For the future, this is to help people fix their code, not make the code.
Closed as Not Constructive by User#29913 and youtubemasterWOW
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?