local text = game.Players.LocalPlayer.PlayerGui.Gma.Frame.TextBox.Text

function accept()
	if game.Teams.Value == 2 then
		text = "Too Much Teams"
	end
end



script.Parent.Parent.TextButton1.MouseButton1Click:connect(function()
    local teamq = game.Teams
	local gameteam = Instance.new("Team",teamq)
    game.Players.LocalPlayer.TeamColor = ("Really red")
	gameteam.TeamColor = ("Really red")
	gameteam.Name = game.Players.LocalPlayer.PlayerGui.Gma.Frame.TextBox.Text
    game.Teams.Value.Value = 1
end)

this is my script it makes a team but not the name and dosent move the players team

3 comments

0

can you please put your code in a code block to make it readable?

0

ok

0

cant