You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? When a player joins the game their team is “Neutral” by default.
-
What is the issue? My script for it just isn’t working.
-
What solutions have you tried so far? I looked on the hub for help and none of it worked\confusing.
--
local Players = game:GetService("Players")
local Teams = game:GetService("Teams")
local teamNeutral = Teams.Neutral
local function play(player)
player.Team = teamNeutral
player.TeamColor = teamNeutral.TeamColor
player:LoadCharacter()
end
game.Players.PlayerAdded:Connect(function(plr)
play()
end)