dialogChoice.Name == "changeteam" then local char = player.Character if char ~= nil then char.Team = BrickColor.new("Bright violet") end
When the player says the dialog then he will be teamed to Bright violet. But I don't know how to change it.