So I am having trouble changing a players team. It might sound simple but it really isn't working when I try this VERY easy script. Help?
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
local teamName = ("TSE")
player.TeamColor = BrickColor.new("Really black")
player.LoadCharacter()
script.Parent.Parent.Enabled = false
end)
